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/lmwjqncbcw1e/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZiCYWs3tj_WzaPcYlv6da2-NlURM0PtJMiacMWwCik2Y2xVbo0yo_jWjT6lboEHGWfTIyr3M8s1YWvd");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjBmMDY3YjFjNzc2ZWEzYWU1NzZjODE0M2UzZjYzODJiNmM3ZTQ4ZTljZTJiMTJjOGYzNTU5MWI3ZjM3Zjk0YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMThUMDE6MTE6NTMuMjkxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB1alRXOHAyVmFsdUgzelVCYkV1cjJrM1AzRVhBZHRSR3NWSUY0R0gydldCSWlvVEtyX2xpOV92ZUxpdmFxWWp3bkR1aWpjOUxGUXo4aDJTMW1ZTDExUmt6OEVRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628447d8e4368', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628447d8e4368', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628447d8e4368', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628447d8e4368', 'paylater', 'paypal', 'rect', 'gold');
});
}