Search code examples
htmlformsvariablespaypal

Force PayPal to always request credit card information instead of login form?


We are working with paypal payments standard in our website. When users fill up their request in our site and press the paypal button "Buy Now" we submit all the variables to paypal so they can process the payment.

For those users who have never been to paypal before and they are paying through our site it works perfectly well since it prompts for the credit card information automatically.

BUT: for those users who have been in paypal before we noticed that cookies are stored in the computer, and the user is prompted to login automatically before asking for their credit card information.

We want to have paypal always ask for the credit card information and leave the login to pay using paypal as an option.

Is there any variable we can send to paypal in order to force them to directly ask for the credit card information?

So far we found these variables to auto complete the credit card fields and they work great:

<input type="hidden" name="country" value="" />
<input type="hidden" name="first_name" value="" />  
<input type="hidden" name="last_name"value="" />   
<input type="hidden" name="address1" value="" />
<input type="hidden" name="city" value="" />
<input type="hidden" name="state" value="" /> 
<input type="hidden" name="zip" value="" />
<input type="hidden" name="email" value="" />
<input type="hidden" name="night_phone_a" value="" />
<input type="hidden" name="night_phone_b" value="" />
<input type="hidden" name="night_phone_c" value="" />  

For those looking more information about PayPal Form variables here is the reference:

https://cms.paypal.com/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_formbasics


Solution

  • @Robert wrote the answer in one of the comments: LANDINGPAGE is a parameter for Express Checkout, not for Website Payments Standard. Website Payments Standard doesn't support an equivalent to 'LANDINGPAGE'. If you want to force the credit card landing page to be displayed, you'll need to integrate PayPal Express Checkout.

    So there you go, @Robert, actually that is the answer I got straight from Paypal.