Step 5: Test the Payment Portal — LocalGov IMS Walkthrough
Visit the citizen-facing payment portal and see how GOV.UK Pay integration works
Great! You've deployed the demo
Now let's walk through what you just deployed and see it in action.
Start WalkthroughChoose your next step
Generate Evidence Pack
Create your business case documentation with what you've learned.
Generate Evidence PackWalkthrough progress
Step 5 of 5 • 3 minutes
Test the Payment Portal
Visit the citizen-facing payment portal to see how residents interact with the system, and explore the GOV.UK Pay sandbox integration.
Screenshot updating - please check back soon
Screenshot updating - please check back soon
Screenshot updating - please check back soon
Screenshot updating - please check back soon
Expected outcome
- You can access the citizen-facing payment portal via its CloudFront URL
- You understand how the portal integrates with GOV.UK Pay for card payments
- You've seen the complete end-to-end payment flow
Visit the payment portal
- Find the PaymentPortalUrl in your CloudFormation stack outputs.
- Open it in your browser. The portal is the citizen-facing interface where residents make payments.
- The portal requires a valid payment reference to display the payment form. Without one, you'll see a "Payment Error" page — this is expected behaviour (citizens receive payment references in their council letters).
Understanding the payment flow
In a live deployment, the payment flow works like this:
- A citizen receives a council tax bill with a payment reference and a link to the payment portal.
- They visit the portal, enter their reference, and the system looks up their account and balance.
- The portal redirects to GOV.UK Pay where the citizen enters their card details (using the GOV.UK Pay sandbox in this demo).
- GOV.UK Pay processes the payment and redirects back to the portal with a confirmation.
- The IMS API records the transaction, updates the account balance, and the payment appears in the admin Transactions list.
Explore the architecture
The deployment consists of:
- Windows Server 2022 EC2 (m5.xlarge) running IIS with three sites — Portal, Admin, and API
- RDS SQL Server Express hosting the IncomeManagement database with EF6 migrations
- Application Load Balancer routing traffic to ports 80 (Portal), 8081 (Admin), and 8082 (API)
- Three CloudFront distributions providing HTTPS termination for each interface
- GOV.UK Pay sandbox API integration for card payment processing