Skip to content

Commit

Permalink
Update HandlePaymentIntentStatus.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Genevieve-K authored Feb 17, 2025
1 parent 14a84dd commit 18d863e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ trait HandlePaymentIntentStatus
*/
public function handlePaymentIntentStatus(PaymentIntent $paymentIntent, Donation $donation)
{
// If there is an Exception $paymentIntent is false
// If there is an Exception, paymentIntentObject is false
if ( $paymentIntent ) {
switch ($paymentIntent->status()) {
case 'requires_action':
Expand Down

0 comments on commit 18d863e

Please sign in to comment.