feat: fix dropped error in stripe.go (#2525)

This commit is contained in:
Lars Lehtonen 2023-12-05 00:02:33 -08:00 committed by GitHub
parent 85cb68eb66
commit 8819a8697b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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