diff --git a/htdocs/public/stripe/ipn.php b/htdocs/public/stripe/ipn.php index 17de701ac29..caab7114744 100644 --- a/htdocs/public/stripe/ipn.php +++ b/htdocs/public/stripe/ipn.php @@ -295,6 +295,12 @@ elseif ($event->type == 'customer.deleted') { $db->query($sql); $db->commit(); } +elseif ($event->type == 'payment_intent.succeeded') { + // TODO: Redirect to paymentok.php +} +elseif ($event->type == 'payment_intent.payment_failed') { + // TODO: Redirect to paymentko.php +} elseif ($event->type == 'charge.succeeded') { // TODO: create fees // TODO: Redirect to paymentok.php