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/0b49v6hm4i1m/plugin/8/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AVkyHrCZRXARjKIcVbCdC6FJHwwc7U2x0-q3HrDcqwbYaEZRFBFTPW8-iYtEZLAMy2zj1qC03pBmqkbx");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzI5NzZlMWZlMTgwN2Q4NWRmODMwMzEwYWMxODVjMDkwN2QxOTBhODk2Nzg2MGFiY2U0OGEzYjM1OGQ2ZWQ2NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMDVUMDA6MjQ6MTguOTI1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5YYXc1V3RKZHlKUURJNUZuRUIxS3BmX0FuTjVmYlVnaGFidW1sbWswS3dfZnBXMnlkc2psT1o3cUs5Q3p4M3VuOHgxYUkzWWh5RzVmY3c0V3hEUHdQbUpEVGRBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AVkyHrCZRXARjKIcVbCdC6FJHwwc7U2x0-q3HrDcqwbYaEZRFBFTPW8-iYtEZLAMy2zj1qC03pBmqkbx");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzI5NzZlMWZlMTgwN2Q4NWRmODMwMzEwYWMxODVjMDkwN2QxOTBhODk2Nzg2MGFiY2U0OGEzYjM1OGQ2ZWQ2NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMDVUMDA6MjQ6MTguOTI1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5YYXc1V3RKZHlKUURJNUZuRUIxS3BmX0FuTjVmYlVnaGFidW1sbWswS3dfZnBXMnlkc2psT1o3cUs5Q3p4M3VuOHgxYUkzWWh5RzVmY3c0V3hEUHdQbUpEVGRBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('656e72f4bc9eb', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('656e72f4bc9eb', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('656e72f4bc9eb', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('656e72f4bc9eb', 'paypal', 'buynow', 'rect', 'gold');
}