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/823apjhbftvy/plugin/6/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AaA38qKmUXDbLYYHxlx3r2a1awKcbqKJ_mMemFU6d4CqX02KkFNme1Z21HunDiE1ueD08FeZCuST5KJ_");
script.setAttribute("data-currency", "HKD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2UwYzc0MWJiOTJkMzE1YmM2OTRiZjhjNjgxYWMxNTJiNWUxYzhkMzY1YzVkYTZkNGE4YTkwZmM1YTc5NjcwM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjlUMDE6MjE6MDMuMjAyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBCQ05XYnJILTIxS2ZfRWc3ZHY0Vy1qazlGTTdhd2YxRUlFRGxpelhXeU9xRXpjT1hWSW10MzM0cXlRZDJGSElqUUZybGJCV280elFPYm0waDFQZDNPbnpmSzh3In19");
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", "AaA38qKmUXDbLYYHxlx3r2a1awKcbqKJ_mMemFU6d4CqX02KkFNme1Z21HunDiE1ueD08FeZCuST5KJ_");
script.setAttribute("data-currency", "HKD");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2UwYzc0MWJiOTJkMzE1YmM2OTRiZjhjNjgxYWMxNTJiNWUxYzhkMzY1YzVkYTZkNGE4YTkwZmM1YTc5NjcwM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjlUMDE6MjE6MDMuMjAyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBCQ05XYnJILTIxS2ZfRWc3ZHY0Vy1qazlGTTdhd2YxRUlFRGxpelhXeU9xRXpjT1hWSW10MzM0cXlRZDJGSElqUUZybGJCV280elFPYm0waDFQZDNPbnpmSzh3In19");
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('662ef9a0c7cb7', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('662ef9a0c7cb7', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662ef9a0c7cb7', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662ef9a0c7cb7', 'paypal', 'buynow', 'rect', 'gold');
}