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/a9msllr5m53a/plugin/54/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDBjZDk4YmMwODcwMjc1NWZkYmQzYTEzOGRhOGNlMTE5NDM2NWYyMzg1MWZhMjhiMTlhZjMwNGU4ODdhZTYzN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMTBUMjI6MjI6MjguNTYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9uSUZjaXFsbTZQbmVQY1Z1UVlPeFZ0NHFKekdORmktSXJCX0tRenEzOWpWQzNtQ2w4TXllVElYZndBOV9TWTB3ZUsyZlVMZ09uak8ya2xTNWl2Y3dJUzdWMDBRIn19");
script.setAttribute("data-user-id-token", "eyJraWQiOiJiODYwOWZkYTdlOTY0YzllYWY5Y2EwNTRmYWNkNTU1OCIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwczovL2FwaS5wYXlwYWwuY29tIiwic3ViIjoiUTVCVFdaWlFIWUhVVSIsImFjciI6WyJjbGllbnQiXSwic2NvcGUiOlsiQnJhaW50cmVlOlZhdWx0Il0sIm9wdGlvbnMiOnt9LCJheiI6ImRjZzAxLnBoeCIsImV4dGVybmFsX2lkIjpbIlBheVBhbDpRNUJUV1paUUhZSFVVIiwiQnJhaW50cmVlOnpia2p3dmhyNGtkOW53amMiXSwiZXhwIjoxNzI4NjAxNTEyLCJpYXQiOjE3Mjg2MDA2MTIsImp0aSI6IlUyQUFOckN4X3VvcjU5YlNEeU9mQ3BFRzJPbTl5eFpWa3hmSmxrM09JZTdwMk5UdlhWYllQbnJ2Zk1zR3hsV0xWQ0hxY3dHMmdwaHVsUk5hb3c5V2lfbGtRWklrV1dVOW45TVM5dlZoU2FzbUV4TC1IN05meVhHRVNjN1ZuYmFBIn0.is8qJQDoWLl_nXBwvVLC731ONP6yc7FmzXxV_TJTrVVfGPGg0Qp6mEciqLrzN9DB4F1sC7bCad8u4r3eQGXIMA");
script.setAttribute("data-merchant-id", "RA4E48MG8HKE2");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
script.setAttribute("sandbox", "");
script.setAttribute("googlePayComponent", 1);
script.setAttribute("applePayComponent", 0);
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.src = "https://cdn02.plentymarkets.com/a9msllr5m53a/plugin/54/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDBjZDk4YmMwODcwMjc1NWZkYmQzYTEzOGRhOGNlMTE5NDM2NWYyMzg1MWZhMjhiMTlhZjMwNGU4ODdhZTYzN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMTBUMjI6MjI6MjguNTYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9uSUZjaXFsbTZQbmVQY1Z1UVlPeFZ0NHFKekdORmktSXJCX0tRenEzOWpWQzNtQ2w4TXllVElYZndBOV9TWTB3ZUsyZlVMZ09uak8ya2xTNWl2Y3dJUzdWMDBRIn19");
script.setAttribute("data-user-id-token", "eyJraWQiOiJiODYwOWZkYTdlOTY0YzllYWY5Y2EwNTRmYWNkNTU1OCIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwczovL2FwaS5wYXlwYWwuY29tIiwic3ViIjoiUTVCVFdaWlFIWUhVVSIsImFjciI6WyJjbGllbnQiXSwic2NvcGUiOlsiQnJhaW50cmVlOlZhdWx0Il0sIm9wdGlvbnMiOnt9LCJheiI6ImRjZzAxLnBoeCIsImV4dGVybmFsX2lkIjpbIlBheVBhbDpRNUJUV1paUUhZSFVVIiwiQnJhaW50cmVlOnpia2p3dmhyNGtkOW53amMiXSwiZXhwIjoxNzI4NjAxNTEyLCJpYXQiOjE3Mjg2MDA2MTIsImp0aSI6IlUyQUFOckN4X3VvcjU5YlNEeU9mQ3BFRzJPbTl5eFpWa3hmSmxrM09JZTdwMk5UdlhWYllQbnJ2Zk1zR3hsV0xWQ0hxY3dHMmdwaHVsUk5hb3c5V2lfbGtRWklrV1dVOW45TVM5dlZoU2FzbUV4TC1IN05meVhHRVNjN1ZuYmFBIn0.is8qJQDoWLl_nXBwvVLC731ONP6yc7FmzXxV_TJTrVVfGPGg0Qp6mEciqLrzN9DB4F1sC7bCad8u4r3eQGXIMA");
script.setAttribute("data-merchant-id", "RA4E48MG8HKE2");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
script.setAttribute("sandbox", "");
script.setAttribute("googlePayComponent", 1);
script.setAttribute("applePayComponent", 0);
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67085a24bf425', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('67085a24bf425', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67085a24bf425', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('67085a24bf425', 'paypal', 'buynow', 'rect', 'gold');
}