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/12z3frtncgcc/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Adtn6XM7WymSdzNDzvYGpwU2jDiIeL1Y-aF_kb88weyJ0omyl8coFI-8L4ZT4z0fbocCdOCv4uCJFt4J");
script.setAttribute("data-currency", "HKD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWE2YWQwNzZiY2ZkNDI4YzllZmE2MjUxODU0NDgwODdiYWY2YTJjZTdjMTg5YTUxMGFhY2ZlMTUwZDhiOGI1NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTdUMjE6MTg6MzRaIiwidmVyc2lvbiI6IjMtcGF5cGFsIn0sInBheXBhbCI6eyJpZFRva2VuIjpudWxsLCJhY2Nlc3NUb2tlbiI6IkEyMUFBTUd1TlFZcVNwa1dmZmRma1hSVFdqaWxBdjhKdHdtcmhfdUQ5aU1MdjFIai1oci1pU2ZBeVVWc0hqa3ZJemdVRUZ4SU9teVRDRF9tdXptdk1LOGpyMzU2ZFc2NEEifX0=");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6620499320e05', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6620499320e05', 'paypal', 'buynow', 'rect', 'gold');
});
}