Skip to content

Commit

Permalink
Updated payment command
Browse files Browse the repository at this point in the history
  • Loading branch information
riadelimemmedov committed Mar 14, 2024
1 parent d7f816f commit 8b40ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/apps/order/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def post(self, request, format=None):
domain_url = "http://localhost:8001/"

try:
# create new checkout session
# create new checkout session for payment
checkout_session = stripe.checkout.Session.create(
success_url=domain_url + "success?session_id={CHECKOUT_SESSION_ID}",
cancel_url=domain_url + "canceled",
Expand Down

0 comments on commit 8b40ace

Please sign in to comment.