You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use Checkout to pay, I receive a token from Stripe to send to my server in order to complete the payment. I see commerce_billing.ex only has an authorize(worker, amount, card, opts \\ []) method, while stripe.ex seems to mention an ID as an option in authorize(amount, card_or_id, opts) method. I tried passing my token from Checkout (e.g. tok_1234567890) into the former authorize method, but receive an "invalid_request" back from Stripe.
What is the purpose of the "id" in card_or_id, and is it possible to use the Checkout token to complete payment with commerce_billing?
The text was updated successfully, but these errors were encountered:
If I use Checkout to pay, I receive a token from Stripe to send to my server in order to complete the payment. I see commerce_billing.ex only has an
authorize(worker, amount, card, opts \\ [])
method, while stripe.ex seems to mention an ID as an option inauthorize(amount, card_or_id, opts)
method. I tried passing my token from Checkout (e.g. tok_1234567890) into the former authorize method, but receive an "invalid_request" back from Stripe.What is the purpose of the "id" in card_or_id, and is it possible to use the Checkout token to complete payment with commerce_billing?
The text was updated successfully, but these errors were encountered: