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/jbcqc10aq12l/plugin/3/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQNKXMnanjZojDQwavgzB8U95K81e3DtEMVbAEMM1MY9tYP0FONXVeTdHUBC7fVDEBVPwhAJ_IRvzcSG");
script.setAttribute("data-currency", "AUD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmM4ZGU2MGY5OWYzYjc2OGI4YWE0NDYwMGY4Y2E1MGIxYTc5NjUzZjA2MmMwYjBhMDYwMzRhNTdlNzkwMTg5YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMDFUMTM6NTg6NDAuNDk3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5GNVdxS3V0dG05bm9VdEszdm8zc1dLVm1PZmN3TkExbnljVWFDUWpSQlhKZ3pFMXFDb1RXZHJOZ0trQ042QlRDMmFyTjAzY3EtTktQdDJPVGdJS1hHbDVWcDZ3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AQNKXMnanjZojDQwavgzB8U95K81e3DtEMVbAEMM1MY9tYP0FONXVeTdHUBC7fVDEBVPwhAJ_IRvzcSG");
script.setAttribute("data-currency", "AUD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmM4ZGU2MGY5OWYzYjc2OGI4YWE0NDYwMGY4Y2E1MGIxYTc5NjUzZjA2MmMwYjBhMDYwMzRhNTdlNzkwMTg5YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMDFUMTM6NTg6NDAuNDk3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5GNVdxS3V0dG05bm9VdEszdm8zc1dLVm1PZmN3TkExbnljVWFDUWpSQlhKZ3pFMXFDb1RXZHJOZ0trQ042QlRDMmFyTjAzY3EtTktQdDJPVGdJS1hHbDVWcDZ3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('654262c270809', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('654262c270809', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('654262c270809', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('654262c270809', 'paypal', 'buynow', 'rect', 'gold');
}