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/i70yyq9ik3kl/plugin/36/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AVuxuqLiI9YPSU8dOftea9ZlYfvEBKloBq9IgYKrG0okztbY3ogp8aCBNt2l2W4TNyFWSlSzn495y9oW");
script.setAttribute("data-currency", "TRY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODU4NmVhNGUzMzQwZGE2ZGI5Zjk5ZDI4OWFmZTMzYzc3YWQxNDgyZmFiYmJjNDY1ODYxMjU4NjU3OTFjMzcxMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTY6MTc6NDAuNjgyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBBcnFxT2pKUHp3cWJLWFgydWlwRHJ4bFJ6S01iaDk5dDRsRFlUVTNNbk0wOHdETGQ1OGVPVTczX2s2aXY5dkpEWVB2NUdGSGZGS1BscVQ5Y0hMSk9Xc0g1ZHN3In19");
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", "AVuxuqLiI9YPSU8dOftea9ZlYfvEBKloBq9IgYKrG0okztbY3ogp8aCBNt2l2W4TNyFWSlSzn495y9oW");
script.setAttribute("data-currency", "TRY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODU4NmVhNGUzMzQwZGE2ZGI5Zjk5ZDI4OWFmZTMzYzc3YWQxNDgyZmFiYmJjNDY1ODYxMjU4NjU3OTFjMzcxMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTY6MTc6NDAuNjgyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBBcnFxT2pKUHp3cWJLWFgydWlwRHJ4bFJ6S01iaDk5dDRsRFlUVTNNbk0wOHdETGQ1OGVPVTczX2s2aXY5dkpEWVB2NUdGSGZGS1BscVQ5Y0hMSk9Xc0g1ZHN3In19");
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('66059f8064e6d', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66059f8064e6d', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66059f8064e6d', 'paypal', 'buynow', 'rect', 'blue');
});
} else {
renderPayPalButtons('66059f8064e6d', 'paypal', 'buynow', 'rect', 'blue');
}