diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-17 17:40:10 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-17 17:40:10 +0100 |
commit | 1a5359eaa9bb2d2d8aeaf10d97a6b4c7aa0d47d2 (patch) | |
tree | fc15dc1ccfbef8fb333a17e900303f08effed8b2 | |
parent | 4a7fe21ec2b5b93734a4f6d0e1736292629248c8 (diff) |
Adds TODO to the payments/view page for the next steps
-rw-r--r-- | alphabetlearning/payments/views.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/alphabetlearning/payments/views.py b/alphabetlearning/payments/views.py index ca81d86..80d6aa2 100644 --- a/alphabetlearning/payments/views.py +++ b/alphabetlearning/payments/views.py @@ -15,6 +15,18 @@ from .models import Price from .models import Product from .models import ShoppingCart +# TODO get the cart integrated with Stripe +# Steps to convert our Cart into something that can be used with Stripe: +# +# - Associate each of our resources with a Product item +# - this should be done in the create resource page +# - or we can do it manually for the time being +# - Check that we can add resources to the cart +# - When the user hits the cart page, each associated product is pulled from the database +# - prices are extracted from the products accordingly +# - use the form from the landingpage.html as the checkout button to call the create-checkout-session +# - Add delete buttons the checkout page, etc + stripe.api_key = settings.STRIPE_SECRET_KEY |