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/xp4oxtd91bsc/plugin/458/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AZwPQlmQgksSWPqvtGyvz_4Bn5J_uhDFVJufQeZoN_CtqECNQX9JDa14fktutR-sWwZLaXKc2puE5eLa");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTYyNDYxYTZlMjI2Njc2MTgyNzAxYWNkZWEwM2JiODcxNTE5YThhZTRjODMxMGMwODA3YTIwMzNkODVhYmI5NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMjM6MzI6MjUuODk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA5RTJJRmdOR3RndUE3aGFVeTdldzVabld6blVvS1Nyb0ZwSi1ZU05SdFotZE9VMExwdGNsZjd5WU5aaHBtT0ZsYnpaeTZYdDFtQXJJT2ZVelFvUHFDWXg0ZDBnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AZwPQlmQgksSWPqvtGyvz_4Bn5J_uhDFVJufQeZoN_CtqECNQX9JDa14fktutR-sWwZLaXKc2puE5eLa");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTYyNDYxYTZlMjI2Njc2MTgyNzAxYWNkZWEwM2JiODcxNTE5YThhZTRjODMxMGMwODA3YTIwMzNkODVhYmI5NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMjM6MzI6MjUuODk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA5RTJJRmdOR3RndUE3aGFVeTdldzVabld6blVvS1Nyb0ZwSi1ZU05SdFotZE9VMExwdGNsZjd5WU5aaHBtT0ZsYnpaeTZYdDFtQXJJT2ZVelFvUHFDWXg0ZDBnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662999e50a465', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('662999e50a465', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662999e50a465', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662999e50a465', 'paypal', 'buynow', 'rect', 'gold');
}