Hello,
I’m currently having some trouble with creating a checkout session with stripity stripe.
I’m getting this when calling:
case Stripe.Session.create(session_config) do
{:ok, session} ->
IO.inspect(session, label: "Session")
redirect(conn, external: session.url)
{:error, stripe_error} ->
IO.inspect(stripe_error, label: "Stripe Error")
# Handle error (object Stripe.Error)
end
- 1st argument: not a textual representation of an integer
- Called with 1 arguments
1. ~c"4000checkout"
It seems checkout shouldn’t be in there. These are the functions called after the Stripe.Session.create()