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