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/6c82tk9xjern/plugin/42/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARx6mjt0llpEbrNTNBbelS_JR9EcAmei-69wuLyGg5Scew6Pn66WOv8kzcF94EuTdZgcNMudc2Xv84hg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWFhYzU1ZGRiZGM3YTI5ZDJlNzgxZGYxYWEwNWVmOGNjNGY2MjQwYWY1OTI2YjI5OTU5NDhkNWJjNjZjNmNiNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjlUMTU6MzA6NDUuMTYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU90U3g1bG5GdWQ3X2tBOThNUWtxWEd2Ymc3bUpPTllmMnFkTkpuaVBvYm9rVHBfMldLWVVzVkwzQkpUZDFNSlRiMUVLYUM3bGtxMVRSeXIxMUoyMjdoZUtqNDV3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d69467067b0', 'paypal', 'pay', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d69467067b0', 'paypal', 'pay', 'rect', 'gold');
});
}