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/tzqfemjm9h1k/plugin/35/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVln9u5zcrJN11M6K4QQr1Yw6Cc1JDOKtQPdvnwbwlqmH0LZ4_GJAcSCjXZP5khizpCXb6FWpaKXzNXQ");
script.setAttribute("data-currency", "AUD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDg5YzBhZDczYzgyNjU0NmExMmE1YTg0OGNmZDc3NGJlZTk0NDM5ZmVkNTM0YjZiNWNhNTk3NmE3ZDg4NjgwNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDItMTVUMTg6MDg6NDEuMDU3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBJbHJ3WHNWZmt0SmxGOGptbHlPOGJxeWRscTFVblFoR3VYS2Jkdk42N1ZFLTM1X0RSTmNWdlZCWnBReS10MXpRWW9VR29ySzhJRFpMRTRCQWV2NTVqUUVzRTN3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65ce53282dd16', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65ce53282dd16', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65ce53282dd16', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65ce53282dd16', 'paylater', 'paypal', 'rect', 'gold');
});
}