#dan_kres
1 messages · Page 1 of 1 (latest)
Yes, but you'll need to speak to support about getting access to that: https://support.stripe.com/contact
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I already have this gate enabled, but payments are failing
Can you share an example?
Original-Request: req_8OlZasdIPJa7yh
Request-Id: req_8OlZasdIPJa7yh
That is a second MIT transaction when the previous MIT was already processed with Stripe
I use payment method created on that previous payment
Error message seems pretty verbose:
The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not be used again. To use a PaymentMethod multiple times, you must attach it to a Customer first.
You need to make the network token reusable on Stripe. See: https://stripe.com/docs/processing-external-network-tokens#creating-a-reusable-paymentmethod
- The customer was created and its id was passed in request on the previous payment
amount: "50"
currency: "usd"
capture_method: "manual"
confirm: "true"
customer: "cus_OujFHsLj4D5aiZ"
off_session: "true"
payment_method_options[card][mit_exemption][network_transaction_id]: "MDH1023"
payment_method_data[card][number]: "5375**9699"
payment_method_data[card][exp_month]: "XX"
payment_method_data[card][exp_year]: "XX"
payment_method_data[type]: "card"
- The link you have shared is for network tokens, this is not a network token, its a usual PAN
pm_1O6tn6AEuaEb2BVOIlkp7rX2 is passed on both requests, it was created without being attached to a Customer (https://dashboard.stripe.com/logs/req_55NmpDNOj6tmHv)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
That payment has 'used' the payment method and therefore it cannot be used in subsequent payments (as per the error)
What is the right flow then?
I was pretty sure that the customer is automatically attaches to payment method whenever this PM was created within Payment Intent
I linked to it above, you're missing setup_future_usage in your initial PI with the network token
That will save the network token as a reusable PM on Stripe
"message": "You cannot confirm with off_session=true when setup_future_usage is also set on the PaymentIntent. The customer needs to be on-session to perform the steps which may be required to set up the PaymentMethod for future usage. Please confirm this PaymentIntent with your customer on-session."
Yep, seems about right. If you're saving the card (with s_f_u) then it cannot be flagged off-session
But that's a MIT transaction, the customer is not present
The initial payment cannot be MIT if you're attempting to save the payment method
The initial payment was processed via another processor
Yes, but you're attempting to create a reusable Stripe payment method. For that to happen the customer needs to be on-session
👋 taking over for my colleague. Let me catch up.
is it a MOTO payment?
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
It looks like, but we are passing network transaction ID too
That is subsequent card-on-file transaction with network transaction id
in this case, please reach out to https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
they might be able to help you
please tell them that you're interested in MOTO with NTI