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.
- Need help to integrate PayPal Checkout (PPCP) with OpenCart? in PayPal Upgrade Community
- IPN works in sandbox but not live in Sandbox Environment
- link my PayPal business account with my WordPress website , but it's not work ?! in PayPal Payments Standard
- Problems with accent characters when calling Paypal API (v2/invoicing/invoices). in REST APIs
- System error for my Paypal button after years of correct working in PayPal Payments Standard