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/fi0nut8i0wa5/plugin/134/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AatnAsLBrIh4pCyh5k4XWMKXDkDULZ3MCJ72AjbowItfQuI21sVRxkFwgw66Yp5kKBEeWK3SjObGWL_P");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmJmMDE3NGE1YjM3YjI0Yjk3ZjM5OTJkODI0OWM1MjM0M2E0NTc0OTM2NzliY2IzODk2NjIzNWE1YjlkOWQxOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDUtMTFUMTY6MjY6NTkuOTI4NTM1MzYyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5vajBqZmowVURneFB5U3ZlY2dwQUVqbkM4WnZCZ0M4Mi05S3pCSHZVY19SN1lycU5Td3RuT2NOOWx0TkcyZ010enI1ZTN3YkJGdjREamVsTnlFU1R5YVA0a3d3In19");
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", "AatnAsLBrIh4pCyh5k4XWMKXDkDULZ3MCJ72AjbowItfQuI21sVRxkFwgw66Yp5kKBEeWK3SjObGWL_P");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmJmMDE3NGE1YjM3YjI0Yjk3ZjM5OTJkODI0OWM1MjM0M2E0NTc0OTM2NzliY2IzODk2NjIzNWE1YjlkOWQxOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDUtMTFUMTY6MjY6NTkuOTI4NTM1MzYyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5vajBqZmowVURneFB5U3ZlY2dwQUVqbkM4WnZCZ0M4Mi05S3pCSHZVY19SN1lycU5Td3RuT2NOOWx0TkcyZ010enI1ZTN3YkJGdjREamVsTnlFU1R5YVA0a3d3In19");
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('6820cff276941', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6820cff276941', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6820cff276941', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6820cff276941', 'paypal', 'buynow', 'rect', 'gold');
}