Integrating PayPal as a Payment Option
You can enable this by calling addPaypal():
window.addEventListener('load', function () {
neodeos.init('sandbox', '<public key>')
.addPaypal('iframeContainer', '<amount>', '<3-letters currency code>', '<PayPal Provider Id (optional)>', 'options (optional)');
});
The options object supports the following optional properties:
hideShipping: suppresses the display of the shipping address on the PayPal checkout pagepaypalButtonStyle: sets the PayPal button color theme; accepted values aregold(default),blue,silver,white, orblackpaypalEnablePayIn4: boolean flag to activate the PayPal "Pay in 4" installment feature (trueorfalse)transfer:account: the merchant account that should receive the transaction fundsamount: the full monetary value of the order to be transferred