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/rgsrfv3g1jg1/plugin/27/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AaWDKmEayQh8QwxKPWW__EZ3c7c3Do_0uJj4MrkzJ4IctUDXqmmSTBn7JiCdJ2-w2OLaYx1xk9VyElfe");
script.setAttribute("data-currency", "BRL");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTNkMWE0MDdlNmY3YjI1ZWI0ZGI3YTQ5NDAzNDM4NWFhODEwZWYwNDExNWZjZjViZWMwNWZlOTkwMmJiMzdjZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMTVUMDA6MTI6NTguODYyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9wdFNNN3RpVGpRc0o0dmxVdUFaNWluRWFuVEgxY2lpZ3ZZUnFoU2hrWXJja3J2Um9JTFV0OVN0am84QnNzcUVZa1FEWWhuTTZlWEV6X0g5blhNMk5YTU9XMDF3In19");
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", "AaWDKmEayQh8QwxKPWW__EZ3c7c3Do_0uJj4MrkzJ4IctUDXqmmSTBn7JiCdJ2-w2OLaYx1xk9VyElfe");
script.setAttribute("data-currency", "BRL");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTNkMWE0MDdlNmY3YjI1ZWI0ZGI3YTQ5NDAzNDM4NWFhODEwZWYwNDExNWZjZjViZWMwNWZlOTkwMmJiMzdjZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMTVUMDA6MTI6NTguODYyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9wdFNNN3RpVGpRc0o0dmxVdUFaNWluRWFuVEgxY2lpZ3ZZUnFoU2hrWXJja3J2Um9JTFV0OVN0am84QnNzcUVZa1FEWWhuTTZlWEV6X0g5blhNMk5YTU9XMDF3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('655415de44fd1', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('655415de44fd1', 'paypal', 'buynow', 'rect', 'gold');
}