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/pvdtyofq45f2/plugin/48/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AVIp3QYDfOHUuC2DG7p--7lS4iiI2Jg9CdgbkEt0RYslHbygrI_00oWzv-1LT7VLd-AUsprnpQcYzF2Y");
script.setAttribute("data-currency", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGUzMDU1OTAzNDQ4ZjI0NDg5M2QyZWExMTM3MzUzNjY5MzM2MjZhNDA1MTNjYjk1OGUzNzcwMGE0ZjIwMDU4OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDVUMDc6NDI6MjguMjI0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBtZTl4MGgwWEt2aldpSmhQZG5kNC16blBYZjVremQ3UV9hRUh5NjRidnF2T0E4NTgxa3djd21YQ0R2RFFlT1pHdDZ5U29Eb2U1cndRbTNtOFRJRHBQQWt0SlBRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AVIp3QYDfOHUuC2DG7p--7lS4iiI2Jg9CdgbkEt0RYslHbygrI_00oWzv-1LT7VLd-AUsprnpQcYzF2Y");
script.setAttribute("data-currency", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGUzMDU1OTAzNDQ4ZjI0NDg5M2QyZWExMTM3MzUzNjY5MzM2MjZhNDA1MTNjYjk1OGUzNzcwMGE0ZjIwMDU4OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDVUMDc6NDI6MjguMjI0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBtZTl4MGgwWEt2aldpSmhQZG5kNC16blBYZjVremQ3UV9hRUh5NjRidnF2T0E4NTgxa3djd21YQ0R2RFFlT1pHdDZ5U29Eb2U1cndRbTNtOFRJRHBQQWt0SlBRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('663743d693c19', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('663743d693c19', 'paypal', 'buynow', 'rect', 'gold');
}