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/s8ix3rhxk064/plugin/23/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATpe9qgXm5iuVKpCWZp_1afL4_SCedg8AAdsBmzJKBCqa3Ljy1xg8H9AEIEXdc8rNJdmb7zHLptDi9Rs");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWZiNGYyODlkZTVkN2Q4MWVkNmUzZjcwOTljZWJkMzk1YzE3YmQ1OTI4OTAyMGExOWM2MDRmNTFhYzBiM2JkNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjVUMDU6MDk6NTEuNTA1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9FQTY1Rmt5Vlp6UERWZnBXQ3lYRXZUSmRaTmVEaWJYQXc0emk0cG1KdlExU2gyUFhBRFhzVkEyT2otbG80WFNoTzlIM1dYWFFneVFSUzhqaVV3cFFrV3ZuQklnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d0bc498e72a', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d0bc498e72a', 'paypal', 'buynow', 'rect', 'gold');
});
}