From 8819a8697b381dbe335b865bd19ce107e0b0e1b2 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Tue, 5 Dec 2023 00:02:33 -0800 Subject: [PATCH] feat: fix dropped error in stripe.go (#2525) --- pp/stripe.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pp/stripe.go b/pp/stripe.go index 9a0faf1e7605..d639c4c2217e 100644 --- a/pp/stripe.go +++ b/pp/stripe.go @@ -132,6 +132,9 @@ func (pp *StripePaymentProvider) Notify(body []byte, orderId string) (*NotifyRes } // Once payment is successful, the Checkout Session will contain a reference to the successful `PaymentIntent` sIntent, err := stripeIntent.Get(sCheckout.PaymentIntent.ID, nil) + if err != nil { + return nil, err + } var ( productName string productDisplayName string