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/hmk3pe801ef7/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdwaFu-FuMAeQnK_XSqhrDcW6E5Otgt4spcOQm5o6GZfl4qIVyp9gmiebm09Let2JBRob78ICI_pVrf3");
script.setAttribute("data-currency", "BRL");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmNjZWJlMDQxZGViZjZlNDQzZGRhNmQ1OTMzYmU1ODk0OWY1ZDBhNDk1Yjk2YTBhODJkNzQ5MmIwY2UyMjYxYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDRUMDY6NDk6MDkuMjMxNTE4NTg0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9hdnk5enIxWFFlTVJ1X1BTSy1rT2xMVG1PeUtnSmFkTnlkbTRpcmVZRTNmWC1QOUZBMnZjbndvMFlpSFZQUzlOcW9hbXdXSmx3Ni1ZdzRFeXN2R1hZUm9heGt3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67ef83a85593e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ef83a85593e', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67ef83a85593e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ef83a85593e', 'paypal', 'buynow', 'rect', 'gold');
});
}