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/pstd0swx3qs1/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AZADbUSOAGYu6b2lz71mUvcc0buTabJeDPJoTxDW0Qiy3w9Rsdr_Y20yNO4NzYnn1sby8d2OM0jg4Z3Y");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTliOTYyODVmYWE1MDU0MTJkMWYxNzcxNjdhZTVjNDI4ZDQ1YzM1YTU1Y2ZmYmIwNWMyODAwYTQ3NjQ0NjBjN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMDVUMTY6MTI6MzQuOTc5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5reFhTS245eUNjeXZYbnpVQzl0OFlnY2JvOXV3YnJVV2dXUTFXbExwX2JPRU80MXZzeS1rem1YenZqenBYX0ZjQmYtQkt1Skt5bVJORUZHRlpQMnJPRlBuYXF3In19");
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", "AZADbUSOAGYu6b2lz71mUvcc0buTabJeDPJoTxDW0Qiy3w9Rsdr_Y20yNO4NzYnn1sby8d2OM0jg4Z3Y");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTliOTYyODVmYWE1MDU0MTJkMWYxNzcxNjdhZTVjNDI4ZDQ1YzM1YTU1Y2ZmYmIwNWMyODAwYTQ3NjQ0NjBjN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMDVUMTY6MTI6MzQuOTc5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5reFhTS245eUNjeXZYbnpVQzl0OFlnY2JvOXV3YnJVV2dXUTFXbExwX2JPRU80MXZzeS1rem1YenZqenBYX0ZjQmYtQkt1Skt5bVJORUZHRlpQMnJPRlBuYXF3In19");
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('656f4d364c2a3', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('656f4d364c2a3', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('656f4d364c2a3', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('656f4d364c2a3', 'paypal', 'buynow', 'rect', 'gold');
}