- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
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:
Staging:
https://apisandboxstatic.zuora.com/Resources/libs/hosted/1.3.0/zuora-min.js
Production:
https://static.zuora.com/Resources/libs/hosted/1.3.0/zuora-min.js
And here is a screenshot of the different response I have, they differs from staging to production:
Staging:
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.
Thanks
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi @Seb,
I just downloaded the JavaScript library from below URLs and it looks like they are the same information.
https://static.zuora.com/Resources/libs/hosted/1.3.0/zuora.js
https://apisandboxstatic.zuora.com/Resources/libs/hosted/1.3.0/zuora.js
Please see below screenshot.
Can you try download the js files again from above URLs and see if they are same?
Thanks.
Dennis
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi @Seb,
I just downloaded the JavaScript library from below URLs and it looks like they are the same information.
https://static.zuora.com/Resources/libs/hosted/1.3.0/zuora.js
https://apisandboxstatic.zuora.com/Resources/libs/hosted/1.3.0/zuora.js
Please see below screenshot.
Can you try download the js files again from above URLs and see if they are same?
Thanks.
Dennis
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content