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/5uiv73pl00nr/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ATAFQT5tAt1qr0O_hVRo_FYOM5iW4tkuxAB2zh3sJJxHQWII56wyQrFykdpX55rBkgOBWSDqnwKVilN1");
script.setAttribute("data-currency", "JPY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTBmMDc5YjdiZmQ4YTJhNTQ5ZThkNmI1ZDBlMTM2N2M1YmY0ZWE2YWQ0NTIzNzhlY2MwNTUzOTk4OGQyZjkwOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMDQ6NDA6MjcuMjcwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1HbGdZT3RpbG42ME5GWnc3bHVrOUI2eV9kX2NPbjlQc1NRYm9xcE1tREtwczRIb3RMT3dNRHhvSXdORC1ianZ5dnFXeFp2b21TWG8xd1NjRXpCcGFDdmNpRFZBIn19");
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", "ATAFQT5tAt1qr0O_hVRo_FYOM5iW4tkuxAB2zh3sJJxHQWII56wyQrFykdpX55rBkgOBWSDqnwKVilN1");
script.setAttribute("data-currency", "JPY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTBmMDc5YjdiZmQ4YTJhNTQ5ZThkNmI1ZDBlMTM2N2M1YmY0ZWE2YWQ0NTIzNzhlY2MwNTUzOTk4OGQyZjkwOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMDQ6NDA6MjcuMjcwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1HbGdZT3RpbG42ME5GWnc3bHVrOUI2eV9kX2NPbjlQc1NRYm9xcE1tREtwczRIb3RMT3dNRHhvSXdORC1ianZ5dnFXeFp2b21TWG8xd1NjRXpCcGFDdmNpRFZBIn19");
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('6629e92f61654', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6629e92f61654', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6629e92f61654', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6629e92f61654', 'paypal', 'buynow', 'rect', 'gold');
}