RitwickGupta
Programmer
Hello,
I am trying to build a SIM script using which I can do refunds on a third party payment process, get back confirmation of refund and then apply those returns to the order. The flow is as follows
1. Select items to be refunded
2. Click refund button which fires a SIM script
3. Scripts makes you input number of items to be refunded of each type.
4. Script sends that info to third party application.
5. After getting the confirmation back, I returns those items back.
The issue that's happening is return only properly works if the items are still selected at the time return function is fired. What's happening here is after I select the items and hit return to fire my SIM script, after getting input of number of items, those items are not selected(highlighted) and the return function does not work. Any suggestion on how to sort this out?
Thanks
I am trying to build a SIM script using which I can do refunds on a third party payment process, get back confirmation of refund and then apply those returns to the order. The flow is as follows
1. Select items to be refunded
2. Click refund button which fires a SIM script
3. Scripts makes you input number of items to be refunded of each type.
4. Script sends that info to third party application.
5. After getting the confirmation back, I returns those items back.
The issue that's happening is return only properly works if the items are still selected at the time return function is fired. What's happening here is after I select the items and hit return to fire my SIM script, after getting input of number of items, those items are not selected(highlighted) and the return function does not work. Any suggestion on how to sort this out?
Thanks