cancel
Showing results for 
Search instead for 
Did you mean: 

Prefill credit card billing address

Options
LordZed
Contributor
Posted on

Hi community,

 

I am using PayPal checkout via Braintree and also support credit card payment through PayPal with `fundingSource` set to `paypal.FUNDING.CARD`. The customer already gave me it's address during the checkout address. Some are confused that they have to enter a billing address again inside the PayPal checkout page.

 

Is there a possibility to at least prefill the billing address data on the PayPal checkout page, or probably even make it uneditable? I tried adding the `payer` object to the `createPayment` methods parameters, but that didn't work ^^

 

Thankfull for all hints or help I can get 🙂

Regards, Niklas

1 REPLY 1

Prefill credit card billing address

Options
SebastieZ
Contributor

Up!
I need a solution too.

 

I tryed this code but that didn't work :

 

"payer_info": {
"billing_address":{
"first_name": "test",
"last_name": "buyer",
"address_line_1": "2211 N First Street",
"address_line_2": "Building 17",
"admin_area_2": "San Jose",
"admin_area_1": "CA",
"postal_code": "95131",
"country_code": "US"
}
}

 

PLS Help ❤️

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.