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/gyfz4ixaz3xg/plugin/15/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AWLWMgxR8tR71lwFEayThPDUO09Y77avdH5UEeyCTHAgSg_2e0N-B2o6gLc4Bh5D2ehTFwl25GW8PXb0");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDM2ZDU2MWIyNzc4ZWYyMjMxNzdjZDk1NTM4ZTI2ZmMwZjJlM2JjMjYwZDdlOTk2MDkzMzk2ZDU3MGQ4MmQ0ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDNUMjE6NDE6MjUuNzk4NTUwNTEyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9SNVhXbnJYZ25KQnM1NGg2aWIwd2xxMlFqQWd0Nnh0clZxN19ZNHlWWkhxY2d0TEtpSk94SFV2NzJrMVk3QnZfeWNfTVNlbmJfUk0xNzFWaVk3bWtEY2xwQWtBIn19");
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", "AWLWMgxR8tR71lwFEayThPDUO09Y77avdH5UEeyCTHAgSg_2e0N-B2o6gLc4Bh5D2ehTFwl25GW8PXb0");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDM2ZDU2MWIyNzc4ZWYyMjMxNzdjZDk1NTM4ZTI2ZmMwZjJlM2JjMjYwZDdlOTk2MDkzMzk2ZDU3MGQ4MmQ0ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDNUMjE6NDE6MjUuNzk4NTUwNTEyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9SNVhXbnJYZ25KQnM1NGg2aWIwd2xxMlFqQWd0Nnh0clZxN19ZNHlWWkhxY2d0TEtpSk94SFV2NzJrMVk3QnZfeWNfTVNlbmJfUk0xNzFWaVk3bWtEY2xwQWtBIn19");
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('67ef0629e76b2', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('67ef0629e76b2', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ef0629e76b2', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('67ef0629e76b2', 'paypal', 'buynow', 'rect', 'gold');
}