PayPal Guest Check Out Not Working - Live Environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to make payment using PayPal Guest Checkout, but it does not work on Live environment but Works fine on Sandbox Environment.
In the Live Environment, the details are accepted from the user, after which the OTP from the bank is successfully received, When submitting the OTP for verification, the Website loads back to the PayPal URL & gets stuck at a white screen
The Feature "Login with PayPal" works perfectly fine on both environments
The prerequisites for Guest checkout are fulfilled as follows:
- Account is Verified
- Account is confirmed
- "PayPal Account Optional" feature turned to "On" for Accepting the Payments from Guests.
Front End Technology Used: ReactJS
NPM Package Used: react-paypal-button-v2
Ref Link: https://www.npmjs.com/package/react-paypal-button-v2
Code Part for PayPal Button:
//total - Total amount to be paid
//paypalID - Client Id from App
<PayPalButton
amount={total.toFixed(2)}
style={{ label: 'pay' }}
options={{
clientId: paypalID,
currency: 'USD'
}}
shippingPreference="NO_SHIPPING"
onSuccess={(details, data) => {
//On Success Here
}}
onError={(err) => {
//On Error Here
}}
onCancel={(data) => {
//On Cancel Here
}}
createOrder={(data, actions) => {
return actions.order.create({
purchase_units: [
{
amount: {
value: total.toFixed(2)
}
}
]
});
}}
/>
Require help at the earliest.
Thanks for your time.
Best Regards,
Malay
- Labels:
-
Express Checkout
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Our online donation forms won't connect to Paypal in PayPal Payments Standard
- How to add a second parameter onto the PayPal standard payment code block? in PayPal Payments Standard
- Issue with Empty store_info in Response Using /v1/reporting/transactions on Sandbox API in REST APIs
- does api-m.sandbox.paypal.com or the real api endpoint support IPv6? in REST APIs
- Need help to integrate PayPal Checkout (PPCP) with OpenCart? in PayPal Upgrade Community