Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.16.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : reverse-withdrawal.js
!function(e,a,r){const t={init(){e(".reverse-balance-section").on("click","#reverse_pay",t.add_to_cart)},add_to_cart(){e(this);let a=e("#reverse_pay_balance");t.disableProps();let o={price:a.val(),_reverse_withdrawal_nonce:dokan.reverse_withdrawal.nonce};wp.ajax.post("dokan_reverse_withdrawal_payment_to_cart",o).then(async e=>{let a={action:"confirm",title:dokan.reverse_withdrawal.on_success_title,icon:"success",showCloseButton:!1,showCancelButton:!1,focusConfirm:!0};await dokan_sweetalert(e.message,a).then(()=>{r.location.replace(dokan.reverse_withdrawal.checkout_url)})}).fail(e=>{t.disableProps(!1);let a=dokan_handle_ajax_error(e);a&&dokan_sweetalert(a,{action:"error",title:dokan.reverse_withdrawal.on_error_title,icon:"error"})})},disableProps(a=!0){e("#reverse_pay_balance").prop("disabled",a),e("#reverse_pay").prop("disabled",a)}};e(function(){t.init()})}(jQuery,document,window);
© 2025 XylotrechusZ