Skip to content

Commit

Permalink
feat: fix dropped error in stripe.go (casdoor#2525)
Browse files Browse the repository at this point in the history
  • Loading branch information
alrs authored Dec 5, 2023
1 parent 85cb68e commit 8819a86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pp/stripe.go
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8819a86

Please sign in to comment.