OwlCyberSecurity - MANAGER
Edit File: payment-gateway.js
(()=>{"use strict";const e=document.querySelector(".givewp-payment-gateway-fee-recovery-recommendation-row");if(e){const t=document.querySelector(".givewp-payment-gateway-fee-recovery-recommendation_close");document.querySelector(".give-setting-tab-body-gateways").querySelector("tr").insertAdjacentElement("afterend",e),t.addEventListener("click",(async function(t){e.remove(),await async function(e,t){await fetch("/wp-json/give-api/v2/admin/recommended-options",{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":t},body:JSON.stringify({option:"givewp_payment_gateway_fee_recovery_recommendation"})})}(0,window.GiveSettings.apiNonce)}))}})();