There are several options for Zebra. To override any of these options simply add them to your settings.py with the value your desire.
Required to use the Stripe API.
Your Stripe API publishable key.
Required to use the Stripe API.
Your Stripe API secret key.
default
{
'active': 'active',
'no_subscription': 'no_subscription',
'past_due': 'past_due',
'suspended': 'suspended',
'trialing': 'trialing',
'unpaid': 'unpaid',
'cancelled': 'cancelled'
}
Dictionary in which the keys are possible responses from Stripe when checking the status of a subscription. Values are returned when the key matches the subscription status returned from Stripe.
Defaults to True but is only applicable if ZEBRA_ENABLE_APP is True.
Boolean to control whether accessing stripe_customer on ZEBRA_CUSTOMER_MODEL automatically creates a stripe customer if one doesn’t exist for the instance.
List of years used to populate ZEBRA_CARD_YEARS_CHOICES.
List of pairs (Django choices format) to be used in the credit card year field in StripePaymentForm.
If ZEBRA_ENABLE_APP is True then the default value is zebra.Customer
Boolean that enables the default models and admin that comes with zebra. Not to be confused with marty.
Number of customers to return from querying Stripe when running the managment command to delete test users.
Iterable of strings that should be considered active based on the values in ZEBRA_AUDIT_RESULTS.
Iterable of strings that should be considered inactive based on the values in ZEBRA_AUDIT_RESULTS.