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/1gqkbuhbmmsq/plugin/30/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZtnZXua5a6JaZ__0EK0ITAmr-UI6DTi0JBAxRJNOVHjR9CJdrmYaefBIQrrTisIH2F05nb4JWbgFXIm");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTYwNDg1NjU1MzEzNmRiYWMxMTJhMDJmZTMzZGRhMWRjNjA2YjhmMDMzZDFlM2I2ZWQwZTlkYTQzMjQxOTlhNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTJUMjE6MTg6MDEuMDk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1UaG1sN21xNXI4cDdMdGhQODYxcTRQUm9UbW1vdFdHbVhxSUx6bURLYUdCSHdBUzJmRHNKbTFpb09qNC1oMEl1X2ZJd0tHdno0N1lGYWd6MElrQ29LTWc0R2ZnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f6c6608a6a9', 'paylater', 'paypal', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f6c6608a6a9', 'paylater', 'paypal', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f6c6608a6a9', 'paypal', 'pay', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f6c6608a6a9', 'paypal', 'pay', 'rect', 'white');
});
}