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/x0464bydh7qz/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZZrQV1MfwytCNdEt7Y3NLABZtcZqdPnouacEx2DIOs7k6hNqjhyhfkULM6QSxynJOZaqWlXbaPATvI3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmZkYjUyMjQ5YTUzZTE4MDE5ODcyZDdiODdjMDkyNDZmYjllODBjNTY0MWYzM2FjMWMyMDc3NDQ0YzU3YzhlY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDYtMjFUMDM6Mjk6MzMuNjI0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1FbDNJbmtxNFNWMG91NExXcUxDbDBlMkx0NklSOU9pdzRVckpGNDRrREVUakZRTjZLN3Y4dng1NkhEdmZyS19jd1hUM3BZRjFMZUpBenBlb2N0TVVCVGNhU2p3In19");
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", "AZZrQV1MfwytCNdEt7Y3NLABZtcZqdPnouacEx2DIOs7k6hNqjhyhfkULM6QSxynJOZaqWlXbaPATvI3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmZkYjUyMjQ5YTUzZTE4MDE5ODcyZDdiODdjMDkyNDZmYjllODBjNTY0MWYzM2FjMWMyMDc3NDQ0YzU3YzhlY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDYtMjFUMDM6Mjk6MzMuNjI0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1FbDNJbmtxNFNWMG91NExXcUxDbDBlMkx0NklSOU9pdzRVckpGNDRrREVUakZRTjZLN3Y4dng1NkhEdmZyS19jd1hUM3BZRjFMZUpBenBlb2N0TVVCVGNhU2p3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6674f6f26dc30', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6674f6f26dc30', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6674f6f26dc30', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6674f6f26dc30', 'paypal', 'buynow', 'rect', 'gold');
});
}