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/69xruno1crh3/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZXTG2wBArzISfABKSEc7Ya7HAaanLNBLWkfmbvJrJtThDUsllsQL4uRtl_bSTR6n1uxZovj7rS20Pgl");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2MwMDc3NmVhNGMxZDlhYTY0ZmNhZWE4ZmQ2OGFmOTliNDZjODMxYmQ2NGM1OTk1MDY3YmY1YjE4NDQ4ZDU3MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMDVUMTk6MDg6NDYuOTg0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU13X01wVnI5MzNOYlc2MmhlRjF5dUlyVW1INWV2c2dCYlVuSVBSQmNEQk93SmxzbElRc2lkR2hsQlhJUllKRXV3UnhDSFJ5dFBBSTEyN0pSajRMV0NkNnoyeW13In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('656f753e87da4', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('656f753e87da4', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('656f753e87da4', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('656f753e87da4', 'paylater', 'paypal', 'rect', 'gold');
});
}