Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Type on eventType variable in case of bancontact success
Browse files Browse the repository at this point in the history
  • Loading branch information
clotairer committed Jun 15, 2022
1 parent 5631793 commit 6ee73a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/front/orderSuccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private function handleWebhookActions($intent)
'addTentative'
);
} elseif (($eventType == 'pending' && $payment_method == 'sofort')
|| ($eventType == 'charge.succeeded'
|| ($eventType == 'succeeded'
&& Stripe_official::$paymentMethods[$payment_method]['flow'] == 'redirect'
&& $payment_method != 'sofort')
) {
Expand Down

0 comments on commit 6ee73a4

Please sign in to comment.