Skip to content

Commit

Permalink
Add setup_intent to checkout session
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfw committed Oct 23, 2019
1 parent 35550a3 commit badf914
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/stripe/checkout/session.ex
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ defmodule Stripe.Session do
:mode => String.t(),
:payment_intent => Stripe.id() | Stripe.PaymentIntent.t() | nil,
:payment_method_types => list(String.t()),
:setup_intent => Stripe.id() | Stripe.SetupIntent.t() | nil,
:submit_type => String.t(),
:subscription => Stripe.id() | Stripe.Subscription.t() | nil,
:success_url => String.t()
Expand All @@ -97,6 +98,7 @@ defmodule Stripe.Session do
:mode,
:payment_intent,
:payment_method_types,
:setup_intent,
:submit_type,
:subscription,
:success_url
Expand Down

0 comments on commit badf914

Please sign in to comment.