if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/rgsrfv3g1jg1/plugin/27/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AaWDKmEayQh8QwxKPWW__EZ3c7c3Do_0uJj4MrkzJ4IctUDXqmmSTBn7JiCdJ2-w2OLaYx1xk9VyElfe");
script.setAttribute("data-currency", "ZAR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTMyMTZmYjJkZDliZjA2N2YxOWZmNzdiN2NiODUwYzY0MTYxYzliODU2NTU4YjA3ZDAxYjQ1NmFiZjYwMjQ1NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMjhUMTY6MDU6MTcuMjk5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0ydTFlaWxjMUdVNUpGN0Rhc3RoaTNWdzR0djhSemd5ZEZMOWRMUE13b2VkYnJDZ3dQb1ZrS2VJT0dvVkduVmZyTXJvNnBhd1JKa1NxaEdRZWR0cGt1QkEtaExnIn19");
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", "AaWDKmEayQh8QwxKPWW__EZ3c7c3Do_0uJj4MrkzJ4IctUDXqmmSTBn7JiCdJ2-w2OLaYx1xk9VyElfe");
script.setAttribute("data-currency", "ZAR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTMyMTZmYjJkZDliZjA2N2YxOWZmNzdiN2NiODUwYzY0MTYxYzliODU2NTU4YjA3ZDAxYjQ1NmFiZjYwMjQ1NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMjhUMTY6MDU6MTcuMjk5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0ydTFlaWxjMUdVNUpGN0Rhc3RoaTNWdzR0djhSemd5ZEZMOWRMUE13b2VkYnJDZ3dQb1ZrS2VJT0dvVkduVmZyTXJvNnBhd1JKa1NxaEdRZWR0cGt1QkEtaExnIn19");
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('658da21658015', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('658da21658015', 'paypal', 'buynow', 'rect', 'gold');
}