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/vdmrhyxgbgcn/plugin/4/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQvlznkZmKsiauFCsVcxwXs0e-L6y_itbilpNw0Uq0q3QNpu0hK618dz1v08QgnSPA2PDcVUI99Ct6Wj");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDUxNzcxNGYxMDZmZDlmMzlhNjg4ZjYzMjE0NWI1MjMyOGJmMjJkMDc0MDEyOTI2OGVlNDRmM2Q1YWM0M2YwM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjFUMTM6MDc6NTIuNDU0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5rOV92SWxxQ09CRXkzRkgzei1JQmNqQlVBcEFRdDY3WTk5Ym42Vld1UWl2T2FsMTllTEY1blkxTW5HRkRDbjRoVDVPY2xOT0hBZWlDdHRjSVpVTjVqSFU3MWxnIn19");
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", "AQvlznkZmKsiauFCsVcxwXs0e-L6y_itbilpNw0Uq0q3QNpu0hK618dz1v08QgnSPA2PDcVUI99Ct6Wj");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDUxNzcxNGYxMDZmZDlmMzlhNjg4ZjYzMjE0NWI1MjMyOGJmMjJkMDc0MDEyOTI2OGVlNDRmM2Q1YWM0M2YwM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjFUMTM6MDc6NTIuNDU0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5rOV92SWxxQ09CRXkzRkgzei1JQmNqQlVBcEFRdDY3WTk5Ym42Vld1UWl2T2FsMTllTEY1blkxTW5HRkRDbjRoVDVPY2xOT0hBZWlDdHRjSVpVTjVqSFU3MWxnIn19");
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('65fc334f2b1d0', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('65fc334f2b1d0', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65fc334f2b1d0', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('65fc334f2b1d0', 'paypal', 'buynow', 'rect', 'gold');
}