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/a392fx7fx160/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYxz1-FgJZfJDmp2zZHt197MZ_6O0b5baY3qsWIoIiQrnQ1xrZM2NCkS5SjeaHCAQ9hl2_Sp2aOwnYEc");
script.setAttribute("data-currency", "TRY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTk1NzA2MWViMzk5ZTRkZjU1NjYwNDdhNmI3NDU1YmI3YzY1NzdjYWY4MjI2MjdhMzgyYmE2MDI0NzkzNmJkN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMjZUMTQ6MDk6NDYuNzYzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9qYURYVm5Hd29qSWRnY25iWFJNdWsyRkd2Wm4zRV9xNGZCWGdYZGpsQm9YNnhDR1J0TnE2ZTRCUDVUbmZvMHVTYm1OM2NGTFd1MHNTTnpDMXZqcUI4bHJSQ1FRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('658ae9fae2ad5', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('658ae9fae2ad5', 'paypal', 'buynow', 'pill', 'gold');
});
}