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/m3fhck7y5k4k/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXezbouZPE43typGH5KQ-kKKPWJUIfIigrDNVqnwke_o9YA4JBy1iyjGoOlxwWKKtNU5XVWpFujpm2SX");
script.setAttribute("data-currency", "PHP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiN2FiNTM4OGEyODNjZmRlMDg2MjBhMmQxZDQ0ZTNlM2ZjYTEzMzAzODdlODgxYWZhZjFlNTA4OWQ0MTMwNGI0ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDRUMTE6MTk6MzYuNTcyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBVTG45bGhaSHE4ZWJoUDZRVklleTktWXZtbVRiRzZMN3hlV29ORExDa3RzQ0llTUFDa1BWV1N5Rk5rdW1xeXQ2V3BMTEFKc2FUZmxrdHczLVRwNkRhUjZaVml3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63de41a3d9806', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63de41a3d9806', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63de41a3d9806', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63de41a3d9806', 'paypal', 'buynow', 'rect', 'gold');
});
}