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/l2wllvawfiyx/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXwEEf_JYKvJmwVxbCObooJfe0pdBLZPP-A5E92m9L24popxlt1l2FWn8Gwwa8bWpW5VkyI3dhAJw1ab");
script.setAttribute("data-currency", "PHP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDk3MGNjODY5NTVkMWFjNjQzNzU3YTNkNGFhZGM4OWQ0Mzc2ODRiNTMwN2M1MjE1NTE3YWY0YWUxNzg0OTMwZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDItMjlUMTg6MTk6MDQuOTM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5QZ1dKWmxwcmUzNk9fLW84b0k0b2ktYVhFMzl4LUxhSEpCWk1GNnhSZ011WUd6Y3RsdmcxS05lQ2p1RUJtbTAwWktUcHJZXzVFRjViS3RJMGZjcUhLMkJsMjd3In19");
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", "AXwEEf_JYKvJmwVxbCObooJfe0pdBLZPP-A5E92m9L24popxlt1l2FWn8Gwwa8bWpW5VkyI3dhAJw1ab");
script.setAttribute("data-currency", "PHP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDk3MGNjODY5NTVkMWFjNjQzNzU3YTNkNGFhZGM4OWQ0Mzc2ODRiNTMwN2M1MjE1NTE3YWY0YWUxNzg0OTMwZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDItMjlUMTg6MTk6MDQuOTM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5QZ1dKWmxwcmUzNk9fLW84b0k0b2ktYVhFMzl4LUxhSEpCWk1GNnhSZ011WUd6Y3RsdmcxS05lQ2p1RUJtbTAwWktUcHJZXzVFRjViS3RJMGZjcUhLMkJsMjd3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65e0cda087103', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65e0cda087103', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65e0cda087103', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65e0cda087103', 'paypal', 'buynow', 'rect', 'gold');
});
}