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", "VND");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzQ3YmFhOWY5Zjg1N2E2M2IyYzk2ZTY4MWMzZTUwNTEwMWJlYmZiMTFkM2QxNTY0MGYzY2FiNzA3YzAzOTI3ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDItMDlUMTE6NDY6NDYuNzQ3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBrWkUzWXY0WkZMS2RlOUxRT213dXRuMl9mN1o1QnlQWU5OREFFVmdhTS1MczhBbDROOEQwRTdlM19SX1U5dENfNlV6QUdqb1B5am5qMDhLRm9ZZ3UtdEw1d0JBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65c61623cd0ce', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65c61623cd0ce', 'paypal', 'buynow', 'rect', 'gold');
});
}