Replies: 1 comment 2 replies
-
for now, im manually using the payment module service and store the data in payment session data so i could retrieve it later for refund if needed. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm building a customized payment provider with the latest release v2.5.0. In my implementation, I'm receiving the payment processing result via a webhook call from a 3rd party payment provider, so I implemented the
getWebhookActionAndData
method to handle it.The issue I'm facing is that during the webhook call, the payment provider sends additional payment processing data that I would like to retain for later use during the refund process (in
refundPayment
). However, it doesn't seem like the current design allows storing extra payment data that can be accessed later when processing a refund.Is there a recommended approach or best practice for retaining additional payment data in the Medusa payment provider flow so it can be retrieved during
refundPayment
?Thanks in advance for the help!
Beta Was this translation helpful? Give feedback.
All reactions