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/tzqfemjm9h1k/plugin/35/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVln9u5zcrJN11M6K4QQr1Yw6Cc1JDOKtQPdvnwbwlqmH0LZ4_GJAcSCjXZP5khizpCXb6FWpaKXzNXQ");
script.setAttribute("data-currency", "PHP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODEyZWM0OGM1MWExMjEwZWQwODMzOTg4NDc0NjI3ZmE2YTcyZmRlM2E4Njg5MzBhZTk4OWU2NjI3NzRmZjFmOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMTA6NDI6NTguMTg5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9RS1hpLWp3aUh0UlNyLWhVcHBMdGlRNHpJcUwxV04yZFhZM1BPMXJfREN1UUtub3UyLUdVZE1XNXJiMDF1cU1jcXJ5Qkl5R0o3U0RIb1lHd05jc2ZpSlVpVzVBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('662a33b19a24a', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662a33b19a24a', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('662a33b19a24a', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662a33b19a24a', 'paylater', 'paypal', 'rect', 'gold');
});
}