Latest
Error codes for fatal failures
Release notes:- New
errorobject present ononPaymentIntentFailedandonOrderCompletedFailedfor fatal failures. For example, when the checkout session fails to open (onPaymentIntentFailed), or when there’s an issue with the Grant Award Callback, such as an invalid link (onOrderCompletedFailed). - Added a Troubleshooting article that lists the possible error codes returned in the
error.codeparameter of those event callbacks. - Clarified when
onCloseis triggered.
Price localization guidance
Release notes:- Removed the article on managing and retrieving price points from the the SDK, as fetching price points from the frontend using the
getPricePointsfunction is no longer recommended. Instead, retrieve localized prices on your backend using the Price Points API, then pass them in thepriceDetailsproperty when creating a checkout session. - You can also use the Price Points API to localize prices displayed in your external web store, not only when creating a checkout session.
Frontend SDK Version 3.0.0
Release notes:- Combined all supported platforms into a single article.
- Removed the
AppchargeCheckoutInitcomponent. - Moved the Checkout translations and price localization instructions to their own designated articles.
- Removed
sessionTokenandcheckoutTokenproperties from theAppchargeCheckoutcomponent. - Changed the
checkoutUrlproperty value fromurltoparsedUrlin the Create Checkout Session API.
ReactJS Version 3.0.0
ChangedpublisherToken (optional) to checkoutToken (mandatory).VueJS Version 2.0.0
ChangedpublisherToken (optional) to checkoutToken (mandatory).Angular Version 2.0.0
ChangedpublisherToken (optional) to checkoutToken (mandatory).JS 2.0.0
ChangedpublisherToken (optional) to checkoutToken (mandatory).