-
Notifications
You must be signed in to change notification settings - Fork 0
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
DON-998: set PI just before processing the payment instead of at the #1151
base: develop
Are you sure you want to change the base?
Conversation
time of creating the donation DON-998 - set exception class
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1151 +/- ##
===========================================
- Coverage 75.31% 74.99% -0.33%
===========================================
Files 124 124
Lines 5465 5487 +22
===========================================
- Hits 4116 4115 -1
- Misses 1349 1372 +23 ☔ View full report in Codecov by Sentry. |
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.
I think the main direction of the change look right; flagged a few issues inline
/** | ||
* We only set Payment Intent on the day of the payment due to stripe limitations, see | ||
*/ | ||
public function findDonationsToSetPaymentIntent(\DateTimeImmutable $atDateTime, int $limit): array |
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.
This seems to have no test coverage – would be a good fit for an integration test?
time of creating the donation