Skip to content
Snippets Groups Projects
Commit 799801a6 authored by mattwire's avatar mattwire
Browse files

Don't null stripe_intent_id on error

parent bdc67797
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,6 @@ class CRM_Stripe_PaymentIntent {
} catch (Exception $e) {
// Save the "error" in the paymentIntent table in in case investigation is required.
$stripePaymentintentParams = [
'stripe_intent_id' => 'null',
'payment_processor_id' => $this->paymentProcessor->getID(),
'status' => 'failed',
'description' => "{$e->getRequestId()};{$e->getMessage()};{$this->description}",
......@@ -352,7 +351,6 @@ class CRM_Stripe_PaymentIntent {
} catch (Exception $e) {
// Save the "error" in the paymentIntent table in in case investigation is required.
$stripePaymentintentParams = [
'stripe_intent_id' => 'null',
'payment_processor_id' => $this->paymentProcessor->getID(),
'status' => 'failed',
'description' => "{$e->getRequestId()};{$e->getMessage()};{$this->description}",
......
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