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/69xruno1crh3/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZXTG2wBArzISfABKSEc7Ya7HAaanLNBLWkfmbvJrJtThDUsllsQL4uRtl_bSTR6n1uxZovj7rS20Pgl");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzZlN2E1ODY1NDFjNDE3NDIwNTg3MDZkNzRlNzlkNzc4MmZmYTk5M2I2YmZhMDBhOTU2MmRhZjU1MDViZjczZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjlUMDY6NDM6NTQuMjk3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5MVXROOHFUZ3N5WWtKTkptR0tQYXRaTjJ3eUozNVpkMU1fb2NCUmVSUzNwMU1hZWh1WHQ5M25kcXE2aTdQa0JoUS14ajBPWF9XX2p6TjV2b3NSQm1LQS01OHR3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d615a9d83a4', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d615a9d83a4', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d615a9d83a4', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d615a9d83a4', 'paylater', 'paypal', 'rect', 'gold');
});
}