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/vqsi6s16km1o/plugin/12/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Abjv38lQuamrNk3uZA5wX6R_JhNf78C6khE9TonlyxeHZjMvv2xTDv5lpt3dWsExvvuNbyBAPoqDhb0H");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjYzY2JlM2ZhNTg1ZTI2NzAyNWI0MTAyMzM5ZjQyZDI2MTU3ZGFiNzJhN2ViZjc4MDg1N2UyNmNiMTc5MTk0MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTlUMTI6MTU6NDMuNTI1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBzNmY3VWdLYUVza3haN0Y0MDNZM3gybllqZDdEOWE4eVRQdGlNVk14MnJvUThmR1VoLWNVLTRxQ3JialJnVGZCeFRuOWNiYkVBd1ZfOFhqWXU3MS1SdnU4MnBRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('662269c72afe6', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662269c72afe6', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('662269c72afe6', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662269c72afe6', 'paypal', 'buynow', 'rect', 'gold');
});
}