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/t77l3iqhnbrj/plugin/47/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZoPL732xYKG5AN9us_J1hPWSHBnTIYJSsrIkBtAvPIzAwEfKLzVFE_Irz-oDTeKqTtNqwrv4jQOz1WL");
script.setAttribute("data-currency", "VND");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWRlZjk2YmQ5MGU5NjYwZTY1ZDY3MGI4NmZkNDI5YWZkZDgzM2ZmNjhiNjY3MTM5YjM1MWIyZDMzMDJiOWNhM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMTZUMTE6NDc6MTcuMzcxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBaWDY1enZaa2tkMkFLalJQX2lSY2VESUhZbmxCZU1INVIzRzFDbk5MaDVEYnlJSGxOYk5wQm44cks3M3NXWXNMa09qakdSUEgyUTVJWkxwNjN1NTM0WHZ1bm9BIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AZoPL732xYKG5AN9us_J1hPWSHBnTIYJSsrIkBtAvPIzAwEfKLzVFE_Irz-oDTeKqTtNqwrv4jQOz1WL");
script.setAttribute("data-currency", "VND");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWRlZjk2YmQ5MGU5NjYwZTY1ZDY3MGI4NmZkNDI5YWZkZDgzM2ZmNjhiNjY3MTM5YjM1MWIyZDMzMDJiOWNhM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMTZUMTE6NDc6MTcuMzcxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBaWDY1enZaa2tkMkFLalJQX2lSY2VESUhZbmxCZU1INVIzRzFDbk5MaDVEYnlJSGxOYk5wQm44cks3M3NXWXNMa09qakdSUEgyUTVJWkxwNjN1NTM0WHZ1bm9BIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('657d91c7d9c90', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('657d91c7d9c90', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('657d91c7d9c90', 'paypal', 'pay', 'pill', 'gold');
});
} else {
renderPayPalButtons('657d91c7d9c90', 'paypal', 'pay', 'pill', 'gold');
}