Reputation: 87
I've some question about PayPal merchant
const initialOptions = {
'client-id': 'MY_CLIENT_ID'
'merchant-id': 'MERCHANT_ID',
// EMAIL only possible?
components: 'buttons',
'data-namespace': 'PayPalSDK',
currency: 'EUR',
intent: 'capture',
'enable-funding': ['sofort', 'giropay'],
'disable-funding': ['card', 'sepa'],
};
PayPalScriptProvider options={initialOptions}
Inside my PayPalButton:
payee: {
merchant_id: 'MERCHANT_ID'
//email_address: 'MERCHANT_EMAIL',
},
Upvotes: 1
Views: 157
Reputation: 30377
Set payee.email_address in the PayPalButton. Do not set merchant-id in the script options.
Upvotes: 1