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/tgihtlx3guvt/plugin/192/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AV5baBwl-b5So0jyIye9fvkh7nLT52kcw95QHqVXj4brOwXrNHWH7N0WfC_F1D2jNE3xrpRUqE0nlF55");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGEyNGY1YmU4MmFiZTExYjcwZDk4YWI2MmMwN2YzZTEwYmNmNWMwYWRkOTA5MGNmZTA2NTgxZmYzNDFmOTM2MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjZUMjI6NDA6MTcuOTE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9EN2cyV3ZEUzc1YmNhemtvb0YxR1hkVkJnZUlsU29RZm1OU1h6ekhiOGJib25YWjlsY3RoUDh5bVlvcmYwaWV1Nnl6Z295a19LMmtPRVlYdDl1QU9RV2x6Tkl3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d308b4ef048', 'paypal', 'checkout', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d308b4ef048', 'paypal', 'checkout', 'rect', 'gold');
});
}