payments.go 328 B

12345678910111213141516
  1. //go:build !nopayments
  2. package payments
  3. import "github.com/stripe/stripe-go/v74"
  4. const Available = true
  5. type SubscriptionStatus stripe.SubscriptionStatus
  6. type PriceRecurringInterval stripe.PriceRecurringInterval
  7. func Setup(stripeSecretKey string) {
  8. stripe.EnableTelemetry = false // Whoa!
  9. stripe.Key = stripeSecretKey
  10. }