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/bms894nnplfo/plugin/59/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ASO0zdMJ0UmqI0nSeBMBiCFmaZv42jVIOh0R_2NQA5JcL_X4hGFU0ycktAUHFZFOh0NNBrOtjJra0m3v");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzMzMjc3ZWJmNTYyNWRmNTI2NWRjNDkzNDE3ZDExNTgwMGY2NjA2NGU4ZGU2ZjBjMDZlYzE5ZDllYjA5Y2YyOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMTZUMTU6NDk6MDEuNDA3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU55MF93bmhOdWNjT3JVWU9IaTFJNlRyYTZuNThsbGVzYW1GSFN0WGlFcjdJMG9xZ3NwTUp5U0lRTVl1b25Za1lfb0VCODBHUnFGUE91M2FxTjhVQ0lTVmJkaTVRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6463a77abaec5', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6463a77abaec5', 'paypal', 'buynow', 'rect', 'gold');
});
}