Hello,
I faced an issue when add OrderPaid hook, After adding payment from admin panel then Add Payment button remians in loading state when OrderPaid hook is active.
in that hook I call AcceptOrder API internally to accept paid orders. I also added log an checked the result of API call is success and function runs completely.
do you have any idea what is the reason?