Issue
I have a project with a PayPal integration. On this, I have enabled the 'guest checkout option' in my PayPal account(U.S Account) for customers paying on my website. I need to show the "Pay with Debit or Credit Card" button always when a user opens the PayPal login page. But sometimes it showing the "Checkout as Guest" button instead of the "Pay with Debit or Credit Card" button.
How can I show the "Pay with Debit or Credit Card" button always? Does this have any relation with the browser cookie?
Solution
You cannot control the behavior of the PayPal page. The behavior presented depends on very many factors--including, for example, the location of the buyer or repeated checkout attempts--and so is case by case. Sometimes the option to check out as a guest will not be available, at all.
If you want to always present a debit or credit card option, you should follow the Set up standard payments guide, which gives a black 'Debit or Credit Card' button.
If you have a server backend that can do API calls, then you should create two routes, one for 'Create Order' and one for 'Capture Order' documented here -- and pair your two routes with the server approval flow.
Answered By - Preston PHX Answer Checked By - Robin (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.