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/oh7wobfkmzqr/plugin/22/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Ab-lcacpXXxsJrGjoI5rbPxED_dN7P1S1JoJKHXsOEMPRrVZTe2-e-jlypwPcdSU9idgeUOADUh_B6Qb");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGZjNGM0MTJkMzJhMjM5MTJkMmQ0OWFjY2Q5N2I1NDVjMTU5NTY2MDZjYjJhYTcxNjQ2NDY0Y2JiNWI3NTI2YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTdUMTA6NDk6NTAuMzM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1KR1ZjT205VEs3bG1wOWQwd1BMSF9rS0NMZ3ZRcDl0cGd2NFgwbW5QdjhBN2tNMWxQVWFWRV9iU29jdldiSzdKOHM5QVJyVDk5NS1RSllzSVFqRFFMRnlXLVRRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62fcc7cdf1f74', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62fcc7cdf1f74', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62fcc7cdf1f74', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62fcc7cdf1f74', 'paypal', 'buynow', 'rect', 'gold');
});
}