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/epz0zx1qug71/plugin/13/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AdVSe0kdFZGskmqRsU9Lt2yjsN5-Z94T4fsU3vt8WFcGzDIUcYIMmK7uJuhpIXPcKQGrJrwTm6zQs_n-");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDdkNTc1NDZjOTFkYTI3MzUxMjA1MWI4ZTJmMTg0YWZhYWJjMDAyNGIyYzk5Mjk3MjRlYzJiMTdiYzE4NTU0Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjlUMDc6Mzg6MDguMTkzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU10MXVCemlEMGVBU0toTTVYdlF3QVlLV18wN1dWTG5xWUduVWlXaGpmc0xPY241YUxHVVRFc0ZScnpYdmRTMjk3LW8wTlpscEpDRUVvODJFX3prUzYwTGJ2SjV3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AdVSe0kdFZGskmqRsU9Lt2yjsN5-Z94T4fsU3vt8WFcGzDIUcYIMmK7uJuhpIXPcKQGrJrwTm6zQs_n-");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDdkNTc1NDZjOTFkYTI3MzUxMjA1MWI4ZTJmMTg0YWZhYWJjMDAyNGIyYzk5Mjk3MjRlYzJiMTdiYzE4NTU0Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjlUMDc6Mzg6MDguMTkzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU10MXVCemlEMGVBU0toTTVYdlF3QVlLV18wN1dWTG5xWUduVWlXaGpmc0xPY241YUxHVVRFc0ZScnpYdmRTMjk3LW8wTlpscEpDRUVvODJFX3prUzYwTGJ2SjV3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66067d86e5446', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66067d86e5446', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66067d86e5446', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66067d86e5446', 'paypal', 'buynow', 'rect', 'gold');
}