-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Payment log entries are not being saved for refunds #4866
Comments
@benjaminwil and I are working on this. |
Hello @senemsoy! Are you still working on this? I think we are facing this in the Stripe extension, and if you and @benjaminwil did find anything worth sharing, it would be great to know. 🙂 |
This reproduces the issue mentioned here solidusio#4866 Co-authored-by: Benjamin Willems <[email protected]>
@kennyadsl We were able to reproduce the issue but haven't had time to find the source. We just created a pull request with a pending feature test so someone else can pick this up if it's urgent. 👍 |
It seems that the LogEntrie(s) are built, but never saved when performing the refund. See solidus/core/app/models/spree/refund.rb Line 56 in b08aa4f
|
After a recent team conversation, we have decided to postpone addressing this issue until the implementation of the new admin, which is already underway. The main reason for this decision is that the logs are being saved correctly with the related In conclusion, the issue is primarily related to view presentation rather than data integrity. The overhaul of the admin interface will provide an opportune time to enhance the view presentation of these logs, ensuring a more comprehensive and accurate representation and including details about the log origin. cc @solidusio/core-team |
Apparently, refunding a payment is not creating a payment log entry when executed.
☝️ In this example, the order has been cancelled, and a payment have been automatically refunded with the
credit
method on the payment method/gateway. This is not attaching the log entry event to the payment.As you can see, the refund that is correctly created for the order, is linked to the original payment, so there's no apparent reason not to link the credit log entry event to the payment:
Solidus Version:
All
To Reproduce
First of all
bundle exec rake sandbox
andbin/rails s
Current behavior
No log entry event logged on the original payment for its refund.
Expected behavior
A log entry event logged on the original payment for its refund.
Screenshots
See above.
The text was updated successfully, but these errors were encountered: