paypal express - billing address

Posts: 73
Joined: 12/10/2007

Currently if you have your website to accept credit cards and process through paypal pro or the option to use paypal express.

The customer is required to enter a billing address even though paypal express will never use the billing address.

From the PayPal Express integration guide:
"When your customer selects PayPal as a Payment Method, for the best buying experience, you
should: Use JavaScript to hide or disable credit card fields and billing address fields, because
prompting for this information is irrelevant when a customer pays with PayPal."

Posts: 73
Joined: 12/10/2007

I also just setup the awesome 'points' module as a payment form. And the same issue related to PayPal Express applies to points.

There is no need require the customer to enter a billing address if paying with points and/or paypal express.

Posts: 2
Joined: 12/28/2007

Anyone planning to work on this? Agaric needs this (for http://www.wsf2008.net ) as soon as possible, and can try to create a patch.

Posts: 5617
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Hmm... a simple bit of Javascript can take care of this if it's really required. Just add an onchange event to the appropriate radio button and alternately hide/display the billing address fields. The PayPal module does pass in any data entered to PayPal, it just may not be apparent where it will be used - if it's used at all. The documentation isn't the easiest. For Website Payments Pro, you do need to enter the billing address... this should only affect people using Express Checkout - and chances are people intending to use that will select it from the cart screen.

Posts: 8
Joined: 09/02/2008

Just hiding the fields/pane in JavaScript will mean the Druapl FAPI will kick in when the required fields are not completed (because the user cannot see them).

I too am after a solution to this problem, for use with the Free_order.module