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/101/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ASO0zdMJ0UmqI0nSeBMBiCFmaZv42jVIOh0R_2NQA5JcL_X4hGFU0ycktAUHFZFOh0NNBrOtjJra0m3v");
script.setAttribute("data-currency", "JPY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjE5MmY2MjZhYWM3YmNkMjUxYmY0ZmU3NThhYWViY2EyYzAzNzcxMDRjN2M0MWFhNTZlYTU4ZjE4NzcyMjg1NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDVUMDM6MzY6MzUuNDE2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVAyTDI3Zm1KRzdCQU9EdTVqdWIzdkVPbmVYcWJJWXEwNkZQN2lyeFA3SE0wUER5aHF1WkZOZS02ZEZ6Y0ptMnJFZDBMSURNWlZfakhfWlNYNkhhUVExLWliU1RRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "ASO0zdMJ0UmqI0nSeBMBiCFmaZv42jVIOh0R_2NQA5JcL_X4hGFU0ycktAUHFZFOh0NNBrOtjJra0m3v");
script.setAttribute("data-currency", "JPY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjE5MmY2MjZhYWM3YmNkMjUxYmY0ZmU3NThhYWViY2EyYzAzNzcxMDRjN2M0MWFhNTZlYTU4ZjE4NzcyMjg1NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDVUMDM6MzY6MzUuNDE2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVAyTDI3Zm1KRzdCQU9EdTVqdWIzdkVPbmVYcWJJWXEwNkZQN2lyeFA3SE0wUER5aHF1WkZOZS02ZEZ6Y0ptMnJFZDBMSURNWlZfakhfWlNYNkhhUVExLWliU1RRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66370a7e6c7eb', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66370a7e6c7eb', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66370a7e6c7eb', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66370a7e6c7eb', 'paypal', 'buynow', 'rect', 'gold');
}