Checkout
if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn02.plentymarkets.com/nu21wovz6go6/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Ae57Tl69jWHGe24bs3EsDlQ8SsRCdwcdt7fgYoYFCV5VXHPRBmhMvvNv_bjwk8T_Skcpmao4KhfZY64S");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjk1Y2EzMDAwMTRiMTFhYzA2YzhlNjU2ODQ0ZTE1NDY0ODJmNjcyNmQ4MzI4NzgwOGUyNmFiYjJhNGExMTJhNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMjlUMTQ6NDA6MDUuMjg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1HbjJPam12azQ0R3JUMXNTVVpTREpRbE9UUGRWdnVSTl90ZVpGWk9rR1Vsd2hubXhxNFB0VmlpWkNWckF2Q3Y4eWlsLW5PWVRYTFhrSjB0ZFZWcHZRUXRRMXRBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65674d44d57bc', 'paypal', 'buynow', 'rect', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65674d44d57bc', 'paypal', 'buynow', 'rect', 'silver');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65674d44d57bc', 'paylater', 'paypal', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65674d44d57bc', 'paylater', 'paypal', 'rect', 'white');
});
}