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", "CNY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTY1MjJlZjA2ZGZlM2EwMDk0YzZlZGY3YTIwMTUyMjNkMjRmMWEzMDlkZGE2ODYwNzkwNmM4NGQzNmQzMjZmN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMjI6MTA6MzMuMzExWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9jZGxEX29yYmNCWW0xNXhvdTRZZW1CNUFRZFBlYl9qNDhyaEhzb0x0cEpnT1ZTSkNrc0FkcDkzMlZINUhTR3BjV3RZSDBZS3FlUkRSOGZLc2JpenBZLVBHYi1BIn19");
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", "CNY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTY1MjJlZjA2ZGZlM2EwMDk0YzZlZGY3YTIwMTUyMjNkMjRmMWEzMDlkZGE2ODYwNzkwNmM4NGQzNmQzMjZmN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMjI6MTA6MzMuMzExWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9jZGxEX29yYmNCWW0xNXhvdTRZZW1CNUFRZFBlYl9qNDhyaEhzb0x0cEpnT1ZTSkNrc0FkcDkzMlZINUhTR3BjV3RZSDBZS3FlUkRSOGZLc2JpenBZLVBHYi1BIn19");
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('662ad5272b16f', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('662ad5272b16f', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662ad5272b16f', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662ad5272b16f', 'paypal', 'buynow', 'rect', 'gold');
}