Start a new topic

Problem with Hosted Payment Page

Hello,


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: https://websitechecker.chargebee.com/pages/v2/HcuDcfL7Z5BVfZ2bvw0dOZtWPrx2tVkjB/checkout_logger Line Number 1, Column 1:


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

from

https://websitechecker.chargebee.com/pages

/v2/HcuDcfL7Z5BVfZ2bvw0dOZtWPrx2tVkjB/cancel


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)



1 Comment

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.

Login or Signup to post a comment