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/vl6aw47hl9kf/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQfybbQd8GSx8vCZONCqKmlh5uza56nKK-_gssL5-SGQnxUWS5neMPm-1HtcFTx3rZuU2GfLgDsRYxSj");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmM5NWUzYjliZjBhYmNhNmQ5MzA2OTYwZGNlZDgyODFjNGM1ZDg0NzI0NTZiZjNhZGU4NzkyM2RlNTRiNzQ2NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjFUMDI6NTI6NTMuMzg2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU82UHVYRGxWbjlqZHJRT2FRUlVTT0NjOXo3Q2hmMVBCN1NZVExlM1ZYUE9QbzE0NUhleWZBRXZ5d0xacG5iSXpMekRtVTUtV0NOVmtxalBITDVtbVppMWlPOGVRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AQfybbQd8GSx8vCZONCqKmlh5uza56nKK-_gssL5-SGQnxUWS5neMPm-1HtcFTx3rZuU2GfLgDsRYxSj");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmM5NWUzYjliZjBhYmNhNmQ5MzA2OTYwZGNlZDgyODFjNGM1ZDg0NzI0NTZiZjNhZGU4NzkyM2RlNTRiNzQ2NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjFUMDI6NTI6NTMuMzg2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU82UHVYRGxWbjlqZHJRT2FRUlVTT0NjOXo3Q2hmMVBCN1NZVExlM1ZYUE9QbzE0NUhleWZBRXZ5d0xacG5iSXpMekRtVTUtV0NOVmtxalBITDVtbVppMWlPOGVRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65fba7d1be2b8', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65fba7d1be2b8', 'paypal', 'buynow', 'rect', 'blue');
});
}