Problems closing orders with PayPal payment
Hi,
I'm facing a complicated problem with paypal payments.
What happens:
After completing the entire purchase flow, we arrive at checkout, choose the PayPal payment option, and complete the purchase.
When completing the purchase, you are redirected to the Paypal page, where we choose the option and make the payment.
When returning to the platform, there is a problem with duplication of the shippingmethods payload, where the first one gives an error, causing the website to crash and preventing the customer from completing the purchase.
ccRestClient.request(CCConstants.ENDPOINT_SHIPPING_METHODS_LIST_SHIPPING_METHODS, requestPayload,
//Success
function(date) {
successCallback(data);
Tagged:
1