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", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjZlMzBkZThhZDMzNmFmNjE2NDQxYzQ2ZTliMWU2MThhMDY0YzQzZjQxYWE1YjY1YTIwODA4ZjJmZGEzNDA0NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDgtMzFUMDA6MzY6MzUuNTQ0MTE1NTgxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA5dDJUeG9YaFREc1NSalJzcWl5TWlsSkdTdEtqLVQwTmhIYnlsUzRMNnNwY0ZVbFF2eWN6WXJQMFJ1YjFQNzBLaUxSbzZjRzFOQ3NWVTlXT2Roalh5Y0Ftd0F3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('68b39dcc4420e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('68b39dcc4420e', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('68b39dcc4420e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('68b39dcc4420e', 'paypal', 'buynow', 'rect', 'gold');
});
}