onShippingChange make paypal guest checkout opening on separate windows
daviddk8
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Feb-08-2023
01:50 AM
When clicking on paypal button an embedded form is opening on my page but if I uncomment the code with onShippingChange
},
// This is opening the Paypal guest checkout on separate window !!!
/*onShippingChange: (data, actions) => {
return basket.CalcShipping(data.orderID, data.shipping_address);
},*/
onError: (err) => {
changeInputEnable(restoreInputEnableState);
alert(err);
},
Embedded paypal is what I want as the picture below :
But with onshippingchange it open in a separate windows like the image below:
I can make it work with both solution but I didn't not find the explanation of this behavior in the documentation.
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- How do I update shipping in the popup when using onShippingAddressChange() in REST APIs
- Need help to integrate Advanced Checkout (PPCP) With WHMCS in PayPal Upgrade Community
- patch_payment_resource returns generic 422 on second request in REST APIs
- CHECKOUT.ORDER.APPROVED vs PAYMENT.CAPTURE.COMPLETED in REST APIs
- Using Zettle for payment terminal in Shopify in PayPal Payments Standard