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/rh6xum1lhyf7/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUZAarK-1H0ATGcL74N9KpAEQBINWfMKA5I5q0CGQNOMz9vE0BXDESYBYohGqmopeowRWNjB2EWuiDSy");
script.setAttribute("data-currency", "HUF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzg0Y2U3NDY3Y2E1OWI0OTY5ZWFhZTU5OTExZWMwMGY4MmU1NTg4OWViOWQ1MGEwNTU4OGY1MDAxOWM1MGEzNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDhUMTY6MTE6NTIuNzIyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU44OWxlUHA3ejhLcExuZzJlN1cyYjZJeDJ3RzNaOGdwU0pKdmljSGI1Tmg0aGFCZ0Q1S1Noc2VOc0kydTVWaWxTREpQNDFzcExDWGJfelJmU21RcThMckNmYUR3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('663ba8308f60a', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('663ba8308f60a', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('663ba8308f60a', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('663ba8308f60a', 'paypal', 'buynow', 'rect', 'gold');
});
}