Skip to content
Snippets Groups Projects
Commit 0417e4b4 authored by Rich's avatar Rich
Browse files

Fix log message not written because it was after an exit

parent bf5e1b53
No related branches found
No related tags found
1 merge request!61Fix log message not written because it was after an exit
...@@ -370,8 +370,8 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment { ...@@ -370,8 +370,8 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
$params['paymentIntentID'] = $paymentIntentID; $params['paymentIntentID'] = $paymentIntentID;
} }
else { else {
CRM_Core_Error::statusBounce(E::ts('Unable to complete payment! Missing paymentIntent ID.'));
Civi::log()->debug('paymentIntentID not found. $params: ' . print_r($params, TRUE)); Civi::log()->debug('paymentIntentID not found. $params: ' . print_r($params, TRUE));
CRM_Core_Error::statusBounce(E::ts('Unable to complete payment! Missing paymentIntent ID.'));
} }
$pendingStatusId = CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'contribution_status_id', 'Pending'); $pendingStatusId = CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'contribution_status_id', 'Pending');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment