URLs with UTM tags + anchor links break Stripe payments
under review
Rick Alday
The problem occurs when the URL contains UTM tags and an anchored link at the end.
For example:
- Works (anchor at the beginning of the URL): https://site.com/some_page/#video?utm_source=sendinblue&utm_campaign=Campaign__Name&utm_medium=email
- Works (no anchor): https://site.com/some_page/?utm_source=sendinblue&utm_campaign=ICampaign__Name&utm_medium=email
- Does not work (anchor at the end of the URL): https://site.com/some_page/?utm_source=sendinblue&utm_campaign=Campaign__Name&utm_medium=email#video
Only scenario 3 gets the error: "Invalid return URL." Stripe also shows a double anchor at the end for some reason.
This post was marked as
under review
Angela Blake
open
Rick Alday
This issue does not apply for forms created with the Visual Form Builder. Use that as a workaround.
J
Jason Best
I just had to write some javascript to redirect to an acceptable URL for a client today. Would love to see a fix to this so it does not happen in the future.
Ben Meredith
under review
The development team is going to evaluate this issue to see if there is anything we can do from our end to resolve things.
In the meantime, the workaround is to structure the anchored links differently.