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/xj8d4sahw33f/plugin/17/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AbhxneadOsjfi2vov5MZvcbQpQ-Qv3hQnnLtfszi5jrEjw5Sm4BiNdVqhmlyYiLe567FxTNMUabKRh09");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWM5MzAxODdjODJlMzJjMWEyZDc3OTY4OWYxZmIwNjhkNDMzNWM3YTllMmQyNjdiNDYxM2ZlZWJhODUxMTNjNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTlUMDk6NTM6NDUuNjkxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9RLThfLWswNG5HNWRBNnhFUmNNc3p6TUpkQ2V3bjlqS0diQ21vVmZ6azF3TUZRc25LRFZPdW5YQlViNFF2UGtaVXNaVHNsX0hzbjY2THllMms4ekFWbXBKVy13In19");
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", "AbhxneadOsjfi2vov5MZvcbQpQ-Qv3hQnnLtfszi5jrEjw5Sm4BiNdVqhmlyYiLe567FxTNMUabKRh09");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWM5MzAxODdjODJlMzJjMWEyZDc3OTY4OWYxZmIwNjhkNDMzNWM3YTllMmQyNjdiNDYxM2ZlZWJhODUxMTNjNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTlUMDk6NTM6NDUuNjkxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9RLThfLWswNG5HNWRBNnhFUmNNc3p6TUpkQ2V3bjlqS0diQ21vVmZ6azF3TUZRc25LRFZPdW5YQlViNFF2UGtaVXNaVHNsX0hzbjY2THllMms4ekFWbXBKVy13In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6649d39b11705', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6649d39b11705', 'paypal', 'buynow', 'rect', 'gold');
}