I'm currently using v1 api on a store with sandbox.
I'm sending this payload:
{
intent: 'sale',
note_to_payer: '',
payer: {
payer_info: {
email: email,
},
payment_method: 'paypal',
},
redirect_urls: {
cancel_url: `localhost:3000/&paypal=cancel`,
return_url: `localhost:3000/&paypal=cancel`,
},
transactions: [
{
amount: {
currency:'USD',
total: 200.00,
},
description: 'NoFraud - Paypal',
item_list: {
shipping_address: {
city: 'Paramus',
country_code: shipAddress.countryIso2,
line1: '[removed]',
line2: '',
phone: '[removed]',
postal_code: '07652',
recipient_name: 'Lucas [removed]',
state: 'NJ',
},
},
payment_options: {
allowed_payment_method: 'INSTANT_FUNDING_SOURCE',
},
},
],
}
But, when I go to the merchant or the customer sandbox account, the transaction only shows the amount, but doesn't show the address information.
Does anyone have any idea what could be the issue?
... View more