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/z2h9l54m7125/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATm-jgo75B2Pc4_08iKHnifY43-l__uek5DWr5nbZpbuBh-jjRWNTtyqGlt0itaaQc0Gs3yuwVnzjZXP");
script.setAttribute("data-currency", "USD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDc4Mjk2NjFmNmZlZjY1NGU1NzAyNzY3MjdhMzhhNDVjMTlkMDA1MmNjNzkyYzQ4ZjE0ZDM3MzdkNjM4Mjk2NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMjVUMTM6NTY6NDguNzQ4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9hR005cmtPd0RCbzI1VnRWNWppbExUM1JUQ3VDS3ljbm1CdzcxdEtGY3ZwT0NSU05hSjVvRjJFcHJDOXFxRHNKRGY5aXo1WS1QbkVLbGlzdXhfdjl3QVVhV0N3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65391ea05b8aa', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65391ea05b8aa', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65391ea05b8aa', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65391ea05b8aa', 'paypal', 'buynow', 'rect', 'gold');
});
}