Reputation: 1027
Is it possible to forward a user to PayPal (no account/non member page) during a checkout process? For instance, when I forward any user to PayPal, the user sees a checkout screen where PayPal asks for the PayPal account. At the bottom of the login options, there is an option to pay directly by credit card for new users. I would like to be able forward the user to that option from my php code by using a variable. Maybe I can use a variable in my php code after cmd in the following code:
$sActionURL = 'https://www.paypal.com/cgi-bin/webscr';
$aFormData = array(
'cmd' => '_xclick-subscriptions',
'lc' => $locale
);
I am not sure whether PayPal allows this, but I already know that my user does not have a PayPal account. So it would be better to forward the user to that page. Thank you.
Upvotes: 1
Views: 305
Reputation: 2143
I achieved this by not supplying the customers email address to the paypal payment page. If you don’t supply an email address it doesn't auto fill the login form and displays the credit/debit card payment form.
Upvotes: 1
Reputation: 604
If you are using PayPal Express Checkout, you can set LANDINGPAGE
parameter:
(Optional) Type of PayPal page to display. It is one of the following values:
Billing – Non-PayPal account Login – PayPal account login
Website Payments Standard doesn't support it.
Upvotes: 2
Reputation: 1470
Sadly this is not possible Paypal does not allow this to be done via their API, you having an account with them is the core of their business so they are obviously not going to let you bypass them trying to rope you in (yes I'm not a fan of Paypal)
Upvotes: 1