Skip to content

Instantly share code, notes, and snippets.

@miodeqqq
Created September 2, 2020 13:07
Show Gist options
  • Save miodeqqq/3c43f10bda16596a78e797a3350284b5 to your computer and use it in GitHub Desktop.
Save miodeqqq/3c43f10bda16596a78e797a3350284b5 to your computer and use it in GitHub Desktop.
Django & Stripe - charge_customer_card_and_confirm.py
stripe.PaymentIntent.capture(
payment_intent.id, amount_to_capture=amount
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment