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/qpod3xbz504k/plugin/15/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AU6dbeamHG3ZSkEjdiZSRri2EEfL6Ty6IFuGGU7R6gygd4gjM6HZfeIPF9wEXMFzDyB6T4Qgo8G5jvjh");
script.setAttribute("data-currency", "ANG");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjkxM2Y2ZjlkYWMxMmNjMzI2MzNjNzI4NWU4ZmIwNjI5YmY4YTI1ZjhkMzYwNDU3NDliZTNkNjU4YWE3MzMyNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMDRUMTE6NDQ6NDEuODYwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU95UGdfRW44bGFGcmVpVHRqS2Z5emswQjByMlhxZl9wVmREUTUtZ2Q5dGFWSE9zTGhVOGlHRWUxa2lQS1hfSEFYcW5zeVBVcWVNUXhKR2NUZTdEc3VUWUF2Q1hRIn19");
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", "AU6dbeamHG3ZSkEjdiZSRri2EEfL6Ty6IFuGGU7R6gygd4gjM6HZfeIPF9wEXMFzDyB6T4Qgo8G5jvjh");
script.setAttribute("data-currency", "ANG");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjkxM2Y2ZjlkYWMxMmNjMzI2MzNjNzI4NWU4ZmIwNjI5YmY4YTI1ZjhkMzYwNDU3NDliZTNkNjU4YWE3MzMyNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMDRUMTE6NDQ6NDEuODYwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU95UGdfRW44bGFGcmVpVHRqS2Z5emswQjByMlhxZl9wVmREUTUtZ2Q5dGFWSE9zTGhVOGlHRWUxa2lQS1hfSEFYcW5zeVBVcWVNUXhKR2NUZTdEc3VUWUF2Q1hRIn19");
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('660ea0b9c5006', 'card', 'buynow', 'rect', 'black');
});
} else {
renderPayPalButtons('660ea0b9c5006', 'card', 'buynow', 'rect', 'black');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('660ea0b9c5006', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('660ea0b9c5006', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('660ea0b9c5006', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('660ea0b9c5006', 'paypal', 'buynow', 'rect', 'gold');
}