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 "https://analytics.linkre.direct/clickthrough?id=90EEC136F891458B8AC0CED14473B72A&issuer=agl4p&template=AGL0025&url=https://www.agl.com.au/help/payments-billing/make-a-payment?cd_community=AGLTER&cd_currency=AUD&no_reference=70713315789408527727&am_payment=$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 1ec4518328860e80167b6c9d3bb9fd18.cloudfront.net (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 location: https://www.agl.com.au/help/payments-billing/make-a-payment?cd_community=AGLTER x-amz-apigw-id: PDkmaFcAywMF2GQ= x-amzn-RequestId: 77d7f300-f0b3-484c-8c02-a3421f352b76
The `location` header returns: https://www.agl.com.au/help/payments-billing/make-a-payment?cd_community=AGLTER
But has been truncated of important information, and should be returned as: https://www.agl.com.au/help/payments-billing/make-a-payment?cd_community=AGLTER&cd_currency=AUD&no_r...
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.
Solved Go to Answer
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.
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