PayPal configuration
To use PayPal, add a new payment method in Adyen's dashboard and add paypal
to the availablePaymentMethods
array in nuxt.config.js
:
// nuxt.config.js
export default {
modules: [
['@vsf-enterprise/adyen-magento2/nuxt', {
availablePaymentMethods: [
'scheme',
'paypal'
],
methods: {
paypal: {
merchantId: '<PAYPAL_MERCHANT_ID>',
intent: 'capture'
}
}
// ...
}]
]
};
methods.paypal
:intent
:capture
to take cash immediately orauthorize
to delay a charging.merchantId
: 13-chars code that identifies your merchant account. How do I find my Secure Merchant ID on my PayPal account? (opens new window).
Read Adyen's document about PayPal (opens new window) to check available configuration.