Redirect Url with custom query params after charge approval

Highlighted
Tourist
6 0 7

Hello, 

I'm creating a Recurring Charge (using the GraphQL API) and want to have additional information passed as part of the query params of the return URL. 

for some reason I can only manage doing so with a single param and only if it is passed in an encoded form. passing Multiple params do not work at all whether encoded or not

Works:

http://my.host/callback?param1%3Dvalue1  redirects to http://my.host/callback?charge_id=<ID>&param1=value1

Does not work:

http://my.host/callback?param1=value1 redirects to http://my.host/callback?charge_id=<ID>&param1=

http://my.host/callback?param1=value1&param2=value2 redirects to http://my.host/callback?charge_id=<ID>&param1=

http://my.host/callback?param1%3Dvalue1&param2%3Dvalue2 redirects to http://my.host/callback?amp%3Bparam2=value2&charge_id=<ID>&param1=value1

http://my.host/callback?param1%3Dvalue1%26param2%3Dvalue2 redirects to http://my.host/callback?charge_id=<ID>&param1=value1%26param2%3Dvalue2

 

I'd highly appreciate your help!

1 Like