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/n3rw4oqw4qai/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AaH09K93eFcIz2BE1IsGJqundbPNYUuqJnGK0CghaWaCvKjiYWiBWKnj7EUv52-GkXehKXjbbE247ARo");
script.setAttribute("data-currency", "BRL");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjdlMWQ5OWEwYWFhOTZiYTZhOTQxMDViMTE2ZmM4MzE4ZDc5OWVlY2VkNTNiNTU1MzE3NTU1ZTZmOGZiMTM4MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjZUMDc6MDI6NDIuODYwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1Xd29CNnEyNXM5U2xFUU9na25seU9aSEU1aUtCY2FVZ3ZGOUQ1WHh4OV9rZXNIbUdac21CZE1xN0cxeEhhVWRjSW5zMmZXZm9mLWlpdXByMkhjSjFaWTFfcVpnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('660273130f0d1', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('660273130f0d1', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('660273130f0d1', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('660273130f0d1', 'paypal', 'buynow', 'rect', 'gold');
});
}