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/3v3zu571blbu/plugin/25/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AW_8eb8V4d1n4VAsd4fSYA46yPspDW_eV7j7RfoaaUk6s4Tr-0Z6Dt86-vLNrcTWCUyYXQ2g3lULGsHa");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGVjOGM2NjJmNzY4YWM2ZTMyZTI0OWVhNGMzOTk1MjE5ZjNkYTcwMGNiYzNjYzk1MmU2MWNhMjlhYjRiY2RlZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjVUMDQ6MDI6NTMuMTQ0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5MWkVPRHVZLU11Qm9rX2Z2N1pnTEp4VkNPMW0wVUx1d3hia1R1eHJCZGVTRHlvTnVpWDhZY3dadHBoYzI5dXhsWWJlQndlaS1sWENtOHlWRVlUX095TjBseWNnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AW_8eb8V4d1n4VAsd4fSYA46yPspDW_eV7j7RfoaaUk6s4Tr-0Z6Dt86-vLNrcTWCUyYXQ2g3lULGsHa");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGVjOGM2NjJmNzY4YWM2ZTMyZTI0OWVhNGMzOTk1MjE5ZjNkYTcwMGNiYzNjYzk1MmU2MWNhMjlhYjRiY2RlZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjVUMDQ6MDI6NTMuMTQ0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5MWkVPRHVZLU11Qm9rX2Z2N1pnTEp4VkNPMW0wVUx1d3hia1R1eHJCZGVTRHlvTnVpWDhZY3dadHBoYzI5dXhsWWJlQndlaS1sWENtOHlWRVlUX095TjBseWNnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6743f9548afda', 'paylater', 'paypal', 'pill', 'blue');
});
} else {
renderPayPalButtons('6743f9548afda', 'paylater', 'paypal', 'pill', 'blue');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6743f9548afda', 'paypal', 'checkout', 'pill', 'blue');
});
} else {
renderPayPalButtons('6743f9548afda', 'paypal', 'checkout', 'pill', 'blue');
}