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/nbjh8byx0tph/plugin/13/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ATdwRoUMk0ZMbR9mUAAT6sgPg6x3KL6dF_tnd5wWSavS1rFHEMqOMvlIm6vSiqLptMKQbDTQcd1YinKK");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODY4MGFhMGE0MzA5ODU5NDhjM2Q5Njg0NDQxNWRiYjY5ODI1MjNiZDgzN2Y2YTI1NTY2YzEyMzQ0NzU3YmY4Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjZUMTU6MDM6NTQuNzM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBLaTlQS25YZVNhM1d5cW5ra3FQVERTeW14S0x4SGZOSnVmZFh4NWpNMTMzNnk4bXhSSFRlUnI4NFh4cnRhZWhnZGdxWU9VdUJZZ2NJbS1xTGFmQlFCaWJSLVNRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "ATdwRoUMk0ZMbR9mUAAT6sgPg6x3KL6dF_tnd5wWSavS1rFHEMqOMvlIm6vSiqLptMKQbDTQcd1YinKK");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODY4MGFhMGE0MzA5ODU5NDhjM2Q5Njg0NDQxNWRiYjY5ODI1MjNiZDgzN2Y2YTI1NTY2YzEyMzQ0NzU3YmY4Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjZUMTU6MDM6NTQuNzM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBLaTlQS25YZVNhM1d5cW5ra3FQVERTeW14S0x4SGZOSnVmZFh4NWpNMTMzNnk4bXhSSFRlUnI4NFh4cnRhZWhnZGdxWU9VdUJZZ2NJbS1xTGFmQlFCaWJSLVNRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662bc9d2ba000', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('662bc9d2ba000', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662bc9d2ba000', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662bc9d2ba000', 'paypal', 'buynow', 'rect', 'gold');
}