#carlosbilangieri_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1275838708628848775
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
For that you can talk to our support team 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.
Sorry
No worries, good luck looking in to this!
Unfortunately we cannot look in to overall decline rates. For that the support team is the right team to talk to
Happy to, it looks like that intent needs 3DS to be completed. Are you trying to figure out how to handle that in code?
Yes, we are a Windows based application...
ans we send the Initial Link to the customer, and the customer make the initial payment using the link (checkout API) and we import back the paymentmethod
and we use the paymentmethod to charge the next months..
Gotcha. Banks can request 3DS on any payment, even if the cardholder successfully completed 3DS on your site before. If you see a requires_action status on an intent, we recommend reaching out to the user, bringing them back to your site, and then calling handleNextAction on the intent's client secret which will show the user the 3DS modal for them to complete.
even using MOTO option?
I can't bring the customer back to the site as we using the integration on a Widnwos application...
We are not usign the integration on a website... it's used on a Desktop application (Windows)
https://support.stripe.com/questions/manually-entered-card-payments
In the context of Strong Customer Authentication (SCA), card details collected over the phone or by mail do not require authentication.
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.
That's because you aren't setting up the payment method for future payments. You need to use a Setup Intent instead of a Payment Intent to setup the Payment Method.
But how can I set this using the checkout API?
We do this when creating payment_intent_data[setup_future_usage]'),'=','on_session'
Should we change fot off_session?
No, you need to use a Setup Intent instead of a Payment Intent. Follow the same steps and just replace the Payment Intent with a Setup Intent, then charge the newly created Payment Method after
But if the payment method is already created... can I chance it?
or we will need to send the link and setup a new payment method again?
Nope. You need to set it up if you intend to use it for future payments
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I am not using v1/setup_intents API in this case
I am using v1/checkout/sessions
Do I need to call the setup_intents API and 'force' the payment_method to be used off_section?
I did with one Payment Method..
and this is the result
{
"id": "seti_1PqHi3DoQy71V0w1KfzfYbzL",
"object": "setup_intent",
"application": null,
"automatic_payment_methods": null,
"cancellation_reason": null,
"client_secret": "seti_1PqHi3DoQy71V0w1KfzfYbzL_secret_Qhh6hBdqYZk60MjBzwuDrccI7hftx8M",
"created": 1724258915,
"customer": "cus_NDqMzkuuQFZHfc",
"description": null,
"flow_directions": null,
"last_setup_error": null,
"latest_attempt": null,
"livemode": true,
"mandate": null,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1MTOeODoQy71V0w1pXQRhnk8",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"single_use_mandate": null,
"status": "requires_confirmation",
"usage": "off_session"
}
What does it means?
You said you're using MOTO? MOTO doesn't work with Checkout as far as I know. Do you have docs that you're following to do this?
I'm not sure what that means? What actual API requests are you using?
That's not a request, that's an endpoint. What code are you using to create a MOTO payment?
Example of the sessions...
and to create the payment
POST https://api.stripe.com/v1/payment_intents
amount=19400¤cy=EUR&payment_method_types[]=card&payment_method=pm_1PjfDXDoQy71V0w15OMY2Oqe&payment_method_options[card][moto]=true&confirm=true&off_session=true&customer=cus_P2XGsCm6dkvg0l&metadata[StripePaymentID]=RI248L836210000I702T
Are you just accepting payments via phone and using Stripe Checkout to enter the card information? Do you have a Checkout Session ID I can look at? It would look like this --> cs_abc123
One sec