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/47qthy9tr7yo/plugin/9/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ARKzyhddfrAZHBcWeVpRbp1yerT83SdOtQI919olLKt32vZKBGtVQUQF5O7otFq7tLzuPov2EKxph5ff");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2VkMGMzN2NkNDU4N2UwNmE1ZDA4ZjQzZjVmNGJjM2NkZDcxODgxMDY4NmM0ZWE1ZTcyMTQzODI2N2EzMjU3MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMjRUMTY6MjE6MzMuMTk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU90Z3dVTGx3Y3NtVk42NFJmT0xNaVgzOURCY0V4alhKQ0szYk5HVkpZUmxjR2RxRGRNdXBoMVBnUE4zTXROcndnSXlmNEZ4WjBUOWpWNTViSER5VVEzWFdubFRBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "ARKzyhddfrAZHBcWeVpRbp1yerT83SdOtQI919olLKt32vZKBGtVQUQF5O7otFq7tLzuPov2EKxph5ff");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2VkMGMzN2NkNDU4N2UwNmE1ZDA4ZjQzZjVmNGJjM2NkZDcxODgxMDY4NmM0ZWE1ZTcyMTQzODI2N2EzMjU3MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMjRUMTY6MjE6MzMuMTk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU90Z3dVTGx3Y3NtVk42NFJmT0xNaVgzOURCY0V4alhKQ0szYk5HVkpZUmxjR2RxRGRNdXBoMVBnUE4zTXROcndnSXlmNEZ4WjBUOWpWNTViSER5VVEzWFdubFRBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66a137330dc30', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66a137330dc30', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66a137330dc30', 'paypal', 'checkout', 'rect', 'white');
});
} else {
renderPayPalButtons('66a137330dc30', 'paypal', 'checkout', 'rect', 'white');
}