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
fix: donation marked as complete even if card is denied by Stripe #924 #4689
Conversation
release: merge dev to master for 2.6.1
release 2.6.2 merge into master
…curring/issue/924
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my review of this PR: https://www.loom.com/share/9dc2312658ca43f39f884fb960bd9a4b
I'm requesting a few changes. Mainly, credit card declines and other errors related to the payment should result in a failed
payment status in our plugin, not pending
. As well, error logs should be title relevant to the error that occurred.
includes/gateways/stripe/includes/class-give-stripe-customer.php
Outdated
Show resolved
Hide resolved
includes/gateways/stripe/includes/class-give-stripe-customer.php
Outdated
Show resolved
Hide resolved
@DevinWalker I have generalized the error message under the logs. Also, to update you that the pending donation will not be created if the customer is not created. So, failing a donation is not possible. I have double-checked it at my end. We can discuss about this on today's call if required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mehul0810 added minor suggestions.
Description
This PR resolves https://github.com/impress-org/give-recurring/issues/924
Affects
What to test
As per the acceptance criteria on the issue.
Screenshots:
Video Link: https://www.loom.com/share/cae03ed23d1b40b6a3bcb8f0c2f4bcd2
Checklist: