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/32itjw7xltx8/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZusJUegaXkadg6Dgzx9To6OBM2-r07I0ct2OkqLLifAKa0Vnx8krZayCTPUcWdl_gwyPSisa55zCbvy");
script.setAttribute("data-currency", "HKD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzkzYjUwMWNjYmU2OTU2NDRkNzBkNDE1NzRkZDdlMDAxN2JjMzFhMWQ4OTA3ZjA4YzM5NzJiM2FlYzY0NDM2MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDNUMDQ6NDU6MjkuODc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5uQkR3M2xpSlBSamtDLURuTVV3M0tqX1YzMXRuZUxRa3U2Z2dUX3dYYXNiUy1FYnlBaEFBcnZEdU9iaE5ZUjByaXo3YURlZnZoU25LQkFjWkFaWjN5M1JHTkN3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('651b9f1284228', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651b9f1284228', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('651b9f1284228', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651b9f1284228', 'paypal', 'buynow', 'rect', 'gold');
});
}