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/luyfazekkfe3/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZ0gjwBR9WXT9RriMqgNvZ5dS73gVxBYfnXbyxWSwH8NhXbPRwXFCd7EuOnf0vIRhLbEQ2DCbyLN8bud");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTYxMjRmYmQwNDE5ZGJjMzA4ZTg5MTcxYjE1ODg2OTcwN2FjODE3ZWFmMDMyN2M0NDU4Nzc4NGZiYTI1ODc3ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjhUMDQ6MTM6MjIuMTU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5fNTJMUHBvNGRqdzV4Q0ZjNl9rNFhMdWotZlhMUWp6cTJsb0MxODhtWjZBRGhNNDdRb1ZwbWRWa2NTNHNBNXBRM3Q5eWViY1NLSVFFdjRvY2xhc29ubmpZOTJBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6291a16156388', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6291a16156388', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6291a16156388', 'paylater', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6291a16156388', 'paylater', 'paypal', 'pill', 'gold');
});
}