payments_dummy.go 433 B

123456789101112131415161718
  1. //go:build nopayments
  2. package payments
  3. // Available is a constant used to indicate that Stripe support is available.
  4. // It can be disabled with the 'nopayments' build tag.
  5. const Available = false
  6. // SubscriptionStatus is a dummy type
  7. type SubscriptionStatus string
  8. // PriceRecurringInterval is dummy type
  9. type PriceRecurringInterval string
  10. // Setup is a dummy type
  11. func Setup(stripeSecretKey string) {
  12. // Nothing to see here
  13. }