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/qy8vou75anhn/plugin/29/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AbXbE269ClVqlaJbCgRJSluGsbPiypkHVrbVhnzB-Fg4RIVbzIYYmU5UYo5OC1UIFX5MTitllcdbq1wn");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGQ0ZjYxMjM5Mzc0NTllZjg2NDBiOTFmNzNhZGNmZThlY2NiMjIwMGQ4Yjg3ZWQ4YjNkZTFhNTgxZDY0MTg2NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTRUMDM6NTM6NDYuOTM2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU02dXlTUnJ1a3NzSWVNajQ0OGpuQXdTVkdJVUZab2VqdGJSUWVEV2l2TkNZNnpIQ3pQc2tJSlp3cTE0MGRjS003ZnRXaUdoVkxvLVdiZ3FLWlplVEVHc3BNUWxnIn19");
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", "AbXbE269ClVqlaJbCgRJSluGsbPiypkHVrbVhnzB-Fg4RIVbzIYYmU5UYo5OC1UIFX5MTitllcdbq1wn");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGQ0ZjYxMjM5Mzc0NTllZjg2NDBiOTFmNzNhZGNmZThlY2NiMjIwMGQ4Yjg3ZWQ4YjNkZTFhNTgxZDY0MTg2NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTRUMDM6NTM6NDYuOTM2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU02dXlTUnJ1a3NzSWVNajQ0OGpuQXdTVkdJVUZab2VqdGJSUWVEV2l2TkNZNnpIQ3pQc2tJSlp3cTE0MGRjS003ZnRXaUdoVkxvLVdiZ3FLWlplVEVHc3BNUWxnIn19");
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('661b5fd6d255c', 'paylater', 'paypal', 'rect', 'blue');
});
} else {
renderPayPalButtons('661b5fd6d255c', 'paylater', 'paypal', 'rect', 'blue');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('661b5fd6d255c', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('661b5fd6d255c', 'paypal', 'buynow', 'rect', 'gold');
}