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/mc801939q6fp/plugin/40/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYT_ubl0M2nkkAZ3yfnrnqLL2QN8IRPMCkC0R8Rr_F7SzpF5ftLiIbQCtk5Pd6aQgOS7KutKd_mxQyM_");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDQ0Yzc3OGI0MGZhMDUxOWJmNGRmYTk5YmYwYzVjNmNjYjJjNjIwMjc0ZjNlYTBkMGFiNzE1ZjQyOTJkNjEyZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTJUMjE6Mjc6MzYuNzMzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9MSkNpb25yZmlQWWtTdFIwYzF1OTRIbVVjX1p6eTNDOUhNWkxWZ2lkc0k2a05kckxZU253Vi1kMXlfQXlXaG1TTHdHdnB6X1BIT2dXanhtZ1dsdm9lVGhvSER3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f6c622bb1cf', 'paylater', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f6c622bb1cf', 'paylater', 'paypal', 'pill', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f6c622bb1cf', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f6c622bb1cf', 'paypal', 'buynow', 'rect', 'gold');
});
}