Closed Nadeem34513 closed 1 year ago
OK...so that is not how it works
Medusa doesny support automatic capture out of the box.. you need to trigger the capture manually
Capturing has two steps
When you hit the capture button in medusa admin it captures payments and updates states
If you want to automatically trigger capture then there is a post on discord showing you how to do it
Best Regards G
On Wed, 2 Aug, 2023, 14:33 Nadeem Noushad, @.***> wrote:
Heyy, So I have been testing this plugin for couple of days now and i found out that after a successful payment the store admin have to manually capture the payment from the dashboard. The work around i did was just calling the capturePayment method inside the authorizePayment , this would change the status to captured in the razorpay dashboard but it is still Awaiting payment in the admin dashboard and the button to capture still exists.
I not sure but I'm guessing it has to do with events and subscription
Have you found a way to work it out?
— Reply to this email directly, view it on GitHub https://github.com/SGFGOV/medusa-payment-razorpay/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXEQJHHZ5Y7BVEFSA22Z3WTXTIJX5ANCNFSM6AAAAAA3A6IQVE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
--
This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.
solved; Thanks buddy ✌️
@SGFGOV Hi, can I have the discord channel link?
@Nadeem34513 Could you help to share the example of auto capturing payment?
Thanks in advance!
Heyy, So I have been testing this plugin for couple of days now and i found out that after a successful payment the store admin have to manually capture the payment from the dashboard. The work around i did was just calling the
capturePayment
method inside theauthorizePayment
, this would change the status tocaptured
in the razorpay dashboard but it is stillAwaiting payment
in the admin dashboard and the button tocapture
still exists.I'm not sure but I'm guessing it has to do with events and subscription
Have you found a way to work it out?