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/0mx738cqevf1/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdKh3U55XBrlYet93ChJs6Oakgb2f34jG-yP4XWJab45dRC-rxnl_0uJYv35vta9nk-tqXL2KDFs8K3k");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2UxNTA1NzA1NTdjYTJiYTA3NWVlMzI3NDMwOTA4Nzc4NjE4ZTMyMThkNzUxNDQwZmM5NjZmMGI3ODk0YWM4MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDEtMzBUMDE6MDg6MDUuMjAwMzk0ODI2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9UdkkxSHFtNFVVUm9vN1kzMUFXOVBmREJaWXF1QlJiMGQzb3NDaml1UE54N3ZWT1EteWMtajdzaDRwcXFEckN5bk9Pd09MRmYxR1MwSEh5N3dLa0V6Y2VFa0ZRIn19");
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", "AdKh3U55XBrlYet93ChJs6Oakgb2f34jG-yP4XWJab45dRC-rxnl_0uJYv35vta9nk-tqXL2KDFs8K3k");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2UxNTA1NzA1NTdjYTJiYTA3NWVlMzI3NDMwOTA4Nzc4NjE4ZTMyMThkNzUxNDQwZmM5NjZmMGI3ODk0YWM4MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDEtMzBUMDE6MDg6MDUuMjAwMzk0ODI2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9UdkkxSHFtNFVVUm9vN1kzMUFXOVBmREJaWXF1QlJiMGQzb3NDaml1UE54N3ZWT1EteWMtajdzaDRwcXFEckN5bk9Pd09MRmYxR1MwSEh5N3dLa0V6Y2VFa0ZRIn19");
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('679ad7dc6c1d5', 'paylater', 'paypal', 'pill', 'white');
});
} else {
renderPayPalButtons('679ad7dc6c1d5', 'paylater', 'paypal', 'pill', 'white');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('679ad7dc6c1d5', 'paypal', 'buynow', 'pill', 'white');
});
} else {
renderPayPalButtons('679ad7dc6c1d5', 'paypal', 'buynow', 'pill', 'white');
}