Skip to content

Commit

Permalink
fixup! [Bulk] Switch to Stripe Checkout.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Oct 29, 2024
1 parent f423707 commit 085a9a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bulk_lookup/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def payment_view_context(bulk_lookup):
description = bulk_lookup.description or 'Bulk lookup'
session = stripe.checkout.Session.create(
line_items=[{
'price': 'price_1Q7y4zLoAAr9vgdbwPHVezZ6',
'price': settings.BULK_LOOKUP_PRICE_ID,
'tax_rates': [settings.STRIPE_TAX_RATE],
'quantity': 1,
}],
Expand Down
2 changes: 1 addition & 1 deletion conf/general.yml-example
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ STRIPE_API_VERSION: ''
STRIPE_TAX_RATE: ''

BULK_LOOKUP_AMOUNT: 50
BULK_LOOKUK_PRICE_ID: 'price_123'
BULK_LOOKUP_PRICE_ID: 'price_123'

# Mapped to Django's DEBUG and TEMPLATE_DEBUG settings. Optional, defaults to True.
DEBUG: True
Expand Down

0 comments on commit 085a9a7

Please sign in to comment.