Gas bill "Make a payment" button not prefilling webform

1 Reply 554 Views

The most recent AGL gas bill "Make a payment" button has introduced a bug that causes the "Make a payment" web form to not prepopulate.





See below the server response given when clicking the link from email:

$ http "$65.94&CP_billpayCode=208868&cide=edm%7Cbi%7C101"
HTTP/1.1 302 Found
Connection: keep-alive
Content-Length: 89
Content-Type: application/json
Date: Wed, 16 Mar 2022 02:40:40 GMT
Via: 1.1 (CloudFront)
X-Amz-Cf-Id: uSg-ElLrX9XzMGJS3LRQXn9CXvLZTzLsv-qxtLj1uifAGRx2tOGTLA==
X-Amz-Cf-Pop: MEL50-C2
X-Amzn-Trace-Id: Root=1-62314e28-531f170723123186116409b4
X-Cache: Miss from cloudfront
x-amz-apigw-id: PDkmaFcAywMF2GQ=
x-amzn-RequestId: 77d7f300-f0b3-484c-8c02-a3421f352b76


The `location` header returns:


But has been truncated of important information, and should be returned as:


This bad URL leads you to the right webform, but important fields "AGL reference number" and "amount" are not prefilled:



This makes the user experience much worse, and I hope you can resolve this ASAP.



Feel free to reach out to me for further clarification.


2 Replies 487 Views

Anyone interested in this? It happened still this month, so obviously a problem.


It would be a simple fix too, on AGL's server side, for a big UX improvement for I'm sure tons of customers.


@David_AGLyou're the only AGL staff's name I know, so tagging you


0 Replies 486 Views

@-Nam- @jaydeny maybe?

AGL Community Manager
1 Reply 482 Views

@Stephen2Aus , thanks for taking the time to let us know, I'll make sure this gets actioned.


If a post answers your question, please click MARK AS SOLVED. This helps others in the community find the answers they're looking for.
1 Reply 480 Views



Same happens with my payment emails for the second months now. Both for electricity and gas accounts.

1 Reply 417 Views

@David_AGLthis is my monthly bump on this, which I'll annoy you with until it's resolved.


Hope this nagging is taken with the good humour it's given.


This user experience defect isn't insignificant

AGL Community Manager
1 Reply 360 Views

Hi @Stephen2Aus ,


Thanks for staying on it, and thanks for your patience! Believe it or not, this has been under active investigation all this time. 


The team looking into it have just asked for a copy of one of the the problematic emails, would you mind fowarding one to me?


I'll send you a PM with my email address.

If a post answers your question, please click MARK AS SOLVED. This helps others in the community find the answers they're looking for.
1 Reply 355 Views

No probs @David_AGL 


Haven't got a PM from you, but here is the link from the "Make a payment" button:


You can tell your developers that when this URL is contstructed, the problem is the "url" querystring parameter isn't URL encoded. The correct link URL would be like:


^^^ which if you click, you will see it prefills properly.


tl/dr: engineers need to URL encode the "url" query string parameter




1 Reply 304 Views

@David_AGLhi, this is my monthly bump on this issue which still occurred on the gas bill received this morning.


If you guys need an extra engineer, make me a job offer 🙂


1 Reply 192 Views

@David_AGLyou fixed it!


Please thank the engineers for me