impress-org / givewp

GiveWP - The #1 Donation Plugin for WordPress. Easily accept donations and fundraise using your WordPress website.
https://givewp.com/
GNU General Public License v3.0
339 stars 191 forks source link

Donation-note not updated when checkbox checked and Donation status change from complete to refunded. #7286

Closed Ankur0812 closed 2 months ago

Ankur0812 commented 6 months ago

User Story

As a admin, I want to refund to particular user.

Details

I want to refund to particular user. So I changed donation status from complete to refunded with checkbox checked then status changed from Refunded to Refunded in donation note. Donation note not updated properly.

If I changed donation status from complete to refunded without checkbox checked then status changed from Complete to Refunded in donation note.

Donation note working fine without checkbox checked, but issue when checkbox checked then donation note not updated properly.

Expected Behavior

When someone change donation status from complete to refunded & checkbox checked then donation note status should be "status changed from Complete to Refunded" in donation note.

Steps to Reproduce

  1. Create one Test donation.
  2. Go to Wordpress Admin Backend then Donations->Donations and edit donation.
  3. Change status from Complete to Refunded with checkbox checked "Refund the donation at Test Donation?" & click on Save Donation button.
  4. Please check Donation Notes it will show like this "Status changed from Refunded to Refunded."

Visuals

Login as Wordpress Administrator then go to Donations -> Donations, click on edit button

image

Then change donation status from Complete to Refunded, checkbox checked & click on Save Donation button.

image

image

Please check now Donation Notes

image

Additional Context

System Information

Details

Acceptance Criteria

glaubersilva commented 5 months ago

Hi @Ankur0812

Thanks for the report! 😊

I was able to reproduce it with the "Test Donation" gateway, but not in production gateways like the "PayPal Donations". Are you able to reproduce it in another gateway beyond the "Test Donation" gateway?

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 14 additional days. Note, if this Issue is reporting a bug, please reach out to our support at https://givewp.com/support. If this is a feature request, please see our feedback board at feedback.givewp.com — that’s the best place to make feature requests, unless you’re providing a PR.

Ankur0812 commented 4 months ago

Hi @glaubersilva

Thanks for reply.

This issue is only for Test Donation gateway, In other gateways It is Working Fine.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 14 additional days. Note, if this Issue is reporting a bug, please reach out to our support at https://givewp.com/support. If this is a feature request, please see our feedback board at feedback.givewp.com — that’s the best place to make feature requests, unless you’re providing a PR.

github-actions[bot] commented 2 months ago

This issue was closed because it has been stalled for an additional 14 days with no activity.