if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/6rrxb4f8ubzh/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AbANRZ243q8ZkLrPCzoKjmXV3i776MhwcrrZqdZvo4QhsaGQeuqn4SEmJTqjL888-6O5VlQTXm3-PBmW");
script.setAttribute("data-currency", "CNY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWM2YzE1MDk1ZGMwYTBlMDFiZTk5Y2UwMzdiZDE4NmFkYzZlOGFkODY4ZTllOWJkNzYxYWQ4ZDljMWQwNTYxNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDMtMDNUMTM6MTE6MzMuMTY3NjU0ODg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1KVlFFRnZ6dUlFa1VQQTBoQU9CcEkzc3VJN2ppY3R2SWNaVlROdHd5eFpfd20ya0pBYngwR0x4eWR3ejR0LS02Wk9FV3NVY2JnV1pxNGt1bF9JSkxlaEtZSHp3In19");
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", "AbANRZ243q8ZkLrPCzoKjmXV3i776MhwcrrZqdZvo4QhsaGQeuqn4SEmJTqjL888-6O5VlQTXm3-PBmW");
script.setAttribute("data-currency", "CNY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWM2YzE1MDk1ZGMwYTBlMDFiZTk5Y2UwMzdiZDE4NmFkYzZlOGFkODY4ZTllOWJkNzYxYWQ4ZDljMWQwNTYxNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDMtMDNUMTM6MTE6MzMuMTY3NjU0ODg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1KVlFFRnZ6dUlFa1VQQTBoQU9CcEkzc3VJN2ppY3R2SWNaVlROdHd5eFpfd20ya0pBYngwR0x4eWR3ejR0LS02Wk9FV3NVY2JnV1pxNGt1bF9JSkxlaEtZSHp3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67c5b7549fff9', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67c5b7549fff9', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67c5b7549fff9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67c5b7549fff9', 'paypal', 'buynow', 'rect', 'gold');
});
}