-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Custom payment method with gatway integration is only showing "Refund Offline" on credit memo #39645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @glenelkinsdev. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Other payment methods are able to refund online without issue (including custom ones I've done), so I think this is an implementation issue, not a platform bug. Make sure you hit Credit Memo on an invoice, rather than on an order. You can only do an online refund of a specific invoice/payment. |
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hello @glenelkinsdev, Thanks for the report and collaboration! Thanks @rhoerr for your inputs on this issue. I hope @glenelkinsdev your issue has been resolved. Please let us know, meanwhile moving this issue in Thanks |
Dear @glenelkinsdev, This issue is being closed since it has not been updated in a long time. Please feel free to reopen or raise a new ticket if the issue still exists. Thanks |
I've created a custom payment method for using the clover gateway via fiserv api, everything is working apart from credit memo refunds, it only shows the "Refund Offline" button.
It appears to be related to the magento RefundAtapter passing $isOnline as false, and i haven't a clue why! There is nothing in the module config that tells magento it's an offline method.
Here is the config.xml, you can see it says is_gateway as true and nothing says it's an offline method:
It seems to be something to do with the magento RefundAdapter it passes $isOnline as false:
So in the payment model refund() method $creditmemo->getDoTransaction() is returning false / null
The text was updated successfully, but these errors were encountered: