Start a new topic

Problem with Hosted Payment Page


Ive integrated the hosted payment pages (Embed) into our site,

Our test systems work and allow the bootstrap popup to load close as expected, however they do have some script exceptions in amoungst the calls that are similar to below. The Live site though it can process a payment has limited functionality (cancel doesn't work) and is doing some odd things. The most obvious is this error:

XML Parsing Error: no root element found Location: Line Number 1, Column 1:

if clicked twice it will respond:
{"errors":[{"message":"This order has been canceled. Please try again."}]}



I think the second call is valid, and makes sense however the first errorring (no response) doesn't

Is there anyone with expertise that knows why our call wouldn't be valid (is generated from hosted payment pages)

Hello Nathan,

Sorry for the late response.

Our developers tried the same scenario on their end and it worked fine for them.

It would be great if you could confirm a few things for us:

  • Have you passed your site name correctly in javascript during binding?
  • Have you implemented onCancel callback and whether it is called?
  • Can you add a screenshot of the browser console with error?

Would love to hear back from you.

I found that this payment error occurs with my system in this case Mozilla support is also a good option to take help which listens to your problem calmly and give you the correct way to short out this.

Login or Signup to post a comment