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/12z3frtncgcc/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Adtn6XM7WymSdzNDzvYGpwU2jDiIeL1Y-aF_kb88weyJ0omyl8coFI-8L4ZT4z0fbocCdOCv4uCJFt4J");
script.setAttribute("data-currency", "USD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiM2Q5YjFiMzdjZGUxMzg2MDI1MWVjOTQzZGU4ZTgyYzM4OTI4NDNiY2IxOGI2ODg1NDQ2OGNiMTg1Njk5OGU2ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMTY6MDI6MjkuNTc2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5ZRDd3SnB3Z2NORTZyWmdFS3c2aG41eEhFczJHRFI3T3g3NGhaMnhpY0U2MjVaMVV1UlcybjlwUGkyVjB6TW9tZkVtSGxyczBXQ2ZKVzVZU3gyLUFyaTV0NlhBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6629380eb61ce', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6629380eb61ce', 'paypal', 'buynow', 'rect', 'gold');
});
}