if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/tzqfemjm9h1k/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVln9u5zcrJN11M6K4QQr1Yw6Cc1JDOKtQPdvnwbwlqmH0LZ4_GJAcSCjXZP5khizpCXb6FWpaKXzNXQ");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjVkYTFlNDJiOWRkMzgzMDA4ZjI2MzQ5NGUyNDZmMGU0OGNkNGU4NmFkMTg0ODk3N2ZiMWI2MWQ0OTc2NjhkYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMTlUMDc6NDE6MjguODM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1uaDE2Y3JLZXBfV2J6Q29fbkdlblN0YmdaSjNaU1R2M0x6NHpSRmF1anUxOW1kSWo1VTFKaDY3TlpjMDRma05JaEFuX1RkTFg3ZHBKbjlod2l3RDc2cFJub3dBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6559bc28662ee', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6559bc28662ee', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6559bc28662ee', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6559bc28662ee', 'paylater', 'paypal', 'rect', 'gold');
});
}