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/dcy9il1j82ms/plugin/20/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Aa-Owo5wf5exW_-lvvgC3txoleC3maJzRN_fapWX4EnMRcG-_UfiCmod68gCJiHGTrKPr9YQrGPfLdMQ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjViODE1MzI5N2FjYjdhZTQ0YmQ5YTAzZmUxNzc3YmQ2MWI1OTRhZGNiNTM3MTRmMTE5YTVmZDg0NmZiZjRlZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMDVUMTg6MjQ6NTEuMzI3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU05eUhFMWdsV0g5cTE5Wm9IVV9mYWlBeVhhZEJQRmgyYWtuNktDaldZVHlGNEFaTDY3Sll6OXE1NHNuZ2RBWUdfUER0dG9qcWgtVnNRVlRQc19aRUZtZzRfSEF3In19");
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", "Aa-Owo5wf5exW_-lvvgC3txoleC3maJzRN_fapWX4EnMRcG-_UfiCmod68gCJiHGTrKPr9YQrGPfLdMQ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjViODE1MzI5N2FjYjdhZTQ0YmQ5YTAzZmUxNzc3YmQ2MWI1OTRhZGNiNTM3MTRmMTE5YTVmZDg0NmZiZjRlZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMDVUMTg6MjQ6NTEuMzI3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU05eUhFMWdsV0g5cTE5Wm9IVV9mYWlBeVhhZEJQRmgyYWtuNktDaldZVHlGNEFaTDY3Sll6OXE1NHNuZ2RBWUdfUER0dG9qcWgtVnNRVlRQc19aRUZtZzRfSEF3In19");
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('672a70d9efbe4', 'paypal', 'buynow', 'pill', 'silver');
});
} else {
renderPayPalButtons('672a70d9efbe4', 'paypal', 'buynow', 'pill', 'silver');
}