I'm using the iframe integration to populate a SEPA payment method within my app as described here:
I've noticed than since 2-3 weeks now (early April 2017), the error response return is different when using the sandbox library: https://knowledgecenter.zuora.com/CA_Commerce/T_Hosted_Commerce_Pages/B_Payment_Pages_2.0/H_Integrat...
I'm using the SEPA form and populate the iframe using the render method with error handling as described here: https://knowledgecenter.zuora.com/CA_Commerce/T_Hosted_Commerce_Pages/B_Payment_Pages_2.0/N_Error_Ha...
The response argument within the `Z.renderWithErrorHandler` `errorMessageCallback` method differs from the library sandbox to library production. Using sanbox I receive a `String` and using the production library I receive an `Object`.
Here are the two library I'm using:
And here is a screenshot of the different response I have, they differs from staging to production:
I've found that on the full version of those libraries (replace zuora-min.js by zuora.js in the URL) we have this difference of code that would explain this issue:
Is it possible to make the behaviour of staging to match the production's one please? Obviously we need an Object here and the production result is the right one. This was the case a month ago and everything was working properly on both environments, I don't know why it has changed in sandbox only.
Solved! Go to Solution.
Please see below screenshot.
Can you try download the js files again from above URLs and see if they are same?
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √