I have been running into some issues in getting a hosted payment page to work in sandbox mode, and am hard-pressed to find any explantion besides that it might be a bug. I've been able to request a auth token and redirect to the hoseted payment page just fine, the issue came into play when I started adding GET parameters to the return url. (Where the hosted payment page would redirect users back to my site.) Before it was a proper hosted payment page that would allow me to fill in the info & redirect back to my site. Afterwards, the token request still works, the only thing on the hosted payment page is a header saying 'Order Summary' I changed nothing besides the url in the hostedPaymentReturnOptions, in the call to get a token. My parameters are url encoded, so I see no reason why the additional parameters would be an issue.
Working return url:
http://mysite.com/gpayment/process?g=8
Malfunctioning return url:
06-14-2019 08:40 AM
06-15-2019 07:19 AM
As far as I can tell, it wasn't a character limit issue. I could have a single parameter of some length, but if my return url had two parameters, the page simply contained a header. Rather disappointing.
06-21-2019 12:51 PM