Payments2Us ManualsPayments2Us - Frequently Asked QuestionsCheckout Form - FAQ. What to do if we get the following error- "Payments2USDML - error processing callout response: Malformed JSON: Expected '{' at the beginning of object" while submitting a form?

. What to do if we get the following error- "Payments2USDML - error processing callout response: Malformed JSON: Expected '{' at the beginning of object" while submitting a form?

If you get the above error message, please Re-Authorize the app. See the link to re-authorize app.

Authorise Payments2Us

This error may occur due to the following scenarios:

  • The user that originally authorised the App has been de-activated
  • Salesforce as moved your instance onto a new pod (and in turn a slightly different URL)
  • You have another error message that occurred.  Please check Payments2Us error log as that may have details on that error message and what it relates to.  
  • For version prior to 8.12, if you manually added a new Merchant Facility and then made it active after the App was first authorised
  • You have created a partial or full sandbox and did not re-authorise the App before first using in that sandbox.