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/6sqyjas90wqo/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AclHc5nva419haVJDXXshZl39HGNEBfCb6jYwIVkrMPf1DyBdaAoUaFQN1Ew8jNKxme-k6YzzSqJbIET");
script.setAttribute("data-currency", "CNY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzUzYmY0Y2FkOTAyYzJjY2QxY2Y1MjJjYTIzMjIxMjMxODE1OGY0ZjdlMGQ5OGI2MjI2ZjdiNGIwODhlMDRmMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMTJUMDY6MzA6MzAuNDIxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1ZbFRjVGxQM1doQVE3aWZlNG5lR0d2WE5FTVZUekNydjVhX0ZxcWY2NFZUcWd5SEw0RTV1Mzk5M2MtTGZRWFM4ZUgzM2lXSEp2a2ZOdEdOTENVNDA0UnVaNG53In19");
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", "AclHc5nva419haVJDXXshZl39HGNEBfCb6jYwIVkrMPf1DyBdaAoUaFQN1Ew8jNKxme-k6YzzSqJbIET");
script.setAttribute("data-currency", "CNY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzUzYmY0Y2FkOTAyYzJjY2QxY2Y1MjJjYTIzMjIxMjMxODE1OGY0ZjdlMGQ5OGI2MjI2ZjdiNGIwODhlMDRmMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMTJUMDY6MzA6MzAuNDIxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1ZbFRjVGxQM1doQVE3aWZlNG5lR0d2WE5FTVZUekNydjVhX0ZxcWY2NFZUcWd5SEw0RTV1Mzk5M2MtTGZRWFM4ZUgzM2lXSEp2a2ZOdEdOTENVNDA0UnVaNG53In19");
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('6500058698b0d', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6500058698b0d', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6500058698b0d', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6500058698b0d', 'paypal', 'buynow', 'rect', 'gold');
}