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", "HKD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDljNjgzN2YzYjMzZDQ5MWUyNWE2OTcxZWMxZjFhZmU3MGYyM2U5NmJkZGI3ZTU1YTA1OGM4ZTkwMjM3YjMxNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDEtMjZUMTU6MTk6MzIuMTY4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4tYmFVbGluQTR1ZllLT19JaDZ4T3M1cXJWS1BfR2VEWlp2NWtoYkU5c0FQN3JLR3djRzB2dmF4WW1fYXRGUUhWcDJ3SFgxZ2ZOTWRvZ0RBeHZ6UlRRRUF5S0tBIn19");
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", "HKD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDljNjgzN2YzYjMzZDQ5MWUyNWE2OTcxZWMxZjFhZmU3MGYyM2U5NmJkZGI3ZTU1YTA1OGM4ZTkwMjM3YjMxNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDEtMjZUMTU6MTk6MzIuMTY4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4tYmFVbGluQTR1ZllLT19JaDZ4T3M1cXJWS1BfR2VEWlp2NWtoYkU5c0FQN3JLR3djRzB2dmF4WW1fYXRGUUhWcDJ3SFgxZ2ZOTWRvZ0RBeHZ6UlRRRUF5S0tBIn19");
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('65b3d6a0c67d9', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('65b3d6a0c67d9', 'paypal', 'buynow', 'rect', 'gold');
}