Skip to content

Commit 952b2f9

Browse files
authored
Merge pull request #845 from openedx/pwnage101/normalize_stripe_lookup_keys-2
fix: lookup keys should be singular
2 parents acd8255 + b54f46b commit 952b2f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

enterprise_access/settings/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,20 +619,20 @@ def root(*path_fragments):
619619
SSP_PRODUCTS = {
620620
'quarterly_license_plan': {
621621
'stripe_price_id': 'price_1234_replace-me', # DEPRECATED: Use lookup_key instead
622-
'lookup_key': 'teams_subscription_licenses_quarterly',
622+
'lookup_key': 'teams_subscription_license_quarterly',
623623
'quantity_range': (5, 30),
624624
},
625625
'yearly_license_plan': {
626626
'stripe_price_id': 'price_9876_replace-me', # DEPRECATED: Use lookup_key instead
627-
'lookup_key': 'teams_subscription_licenses_yearly',
627+
'lookup_key': 'teams_subscription_license_yearly',
628628
'quantity_range': (5, 30),
629629
},
630630
}
631631

632632
# Enable the customer billing API endpoints under /api/v1/customer-billing/*
633633
ENABLE_CUSTOMER_BILLING_API = False
634634

635-
DEFAULT_SSP_PRICE_LOOKUP_KEY = 'teams_subscription_licenses_yearly'
635+
DEFAULT_SSP_PRICE_LOOKUP_KEY = 'teams_subscription_license_yearly'
636636

637637
DEFAULT_STRIPE_CACHE_TIMEOUT = 60
638638

0 commit comments

Comments
 (0)