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/6ci46tf32w69/plugin/59/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQai_EuotpUKFk9FJg5eefUAQT1K53xfUUp6CewEfe__kZ6h1dLza3wBtR2GQbulDDqXSTdG_aAwH1p8");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjZmN2RlOGU0YzkyYmIxMmIwNDk1MDE2YzdhYzE2NTg5MTVhMGMzYzAxYWJkNjRhYzdjZTU2ODk3NDhhZGM3MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMzFUMDg6MzQ6MTcuNzIwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5uQ1RUX3ZzdVV3U3FOV3BUelRpWVVnMDVGUlB6YmM1ZE5xS0o0bnRWNklOYXdXQlhwZnZtdW9PaUZUR3lEMTM1NFRHM3lOUzVOek5ud2d6c19GMlI0LVhmcm1RIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "zh_CN");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AQai_EuotpUKFk9FJg5eefUAQT1K53xfUUp6CewEfe__kZ6h1dLza3wBtR2GQbulDDqXSTdG_aAwH1p8");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjZmN2RlOGU0YzkyYmIxMmIwNDk1MDE2YzdhYzE2NTg5MTVhMGMzYzAxYWJkNjRhYzdjZTU2ODk3NDhhZGM3MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMzFUMDg6MzQ6MTcuNzIwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5uQ1RUX3ZzdVV3U3FOV3BUelRpWVVnMDVGUlB6YmM1ZE5xS0o0bnRWNklOYXdXQlhwZnZtdW9PaUZUR3lEMTM1NFRHM3lOUzVOek5ud2d6c19GMlI0LVhmcm1RIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "zh_CN");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66d2d8107f94d', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66d2d8107f94d', 'paypal', 'buynow', 'rect', 'gold');
}