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/q1rtrznxns5v/plugin/2/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQNywrcC94ZZtIhzNjqha1SfuljnVGWW5yMmTE6NzY61xlxlgZlAzqwnwZ32cOz4K9zI8CIKMCu_xFpb");
script.setAttribute("data-currency", "RUB");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGNmZmYzYzQ1Y2RmMjg3ZTMwNmU2MDE3MTAwZWM0NjAwZmFhMGRjMGIyNzhlOTkxNTc1OTUxYzM2MjRhN2Y0YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMzBUMDY6Mzg6MTguMjQ3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1sYU1Va2xOVndNQkh5ekFLVFFwZFlFV2kyLWxyaFgxV2Q4cTFPeG1lb05Yb051V3psTG93MFFVMjlTbnBZcHBBdzg0X3NFS000WkZmQVNuQjRMUmU5a1ZpRjB3In19");
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", "AQNywrcC94ZZtIhzNjqha1SfuljnVGWW5yMmTE6NzY61xlxlgZlAzqwnwZ32cOz4K9zI8CIKMCu_xFpb");
script.setAttribute("data-currency", "RUB");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGNmZmYzYzQ1Y2RmMjg3ZTMwNmU2MDE3MTAwZWM0NjAwZmFhMGRjMGIyNzhlOTkxNTc1OTUxYzM2MjRhN2Y0YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMzBUMDY6Mzg6MTguMjQ3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1sYU1Va2xOVndNQkh5ekFLVFFwZFlFV2kyLWxyaFgxV2Q4cTFPeG1lb05Yb051V3psTG93MFFVMjlTbnBZcHBBdzg0X3NFS000WkZmQVNuQjRMUmU5a1ZpRjB3In19");
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('653f5404f411c', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('653f5404f411c', 'paypal', 'buynow', 'rect', 'gold');
}