#daniele-de-benedetto_api
1 messages ¡ Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- daniele-de-benedetto_api, 4 days ago, 23 messages
- daniele-de-benedetto_api, 6 days ago, 11 messages
- daniele-de-benedetto_api, 6 days ago, 7 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1259786572690227241
đ Have more to share? Add details, code, screenshots, videos, etc. below.
i have two questions
the first is, exists a way to require 'confirmation' in checkout ? (i'm using the embedded checkout form) https://docs.stripe.com/api/checkout/sessions/create
i ask if there is a way to forward the confirm option to the payment intent
The second question is that with this kind of integration we don't receive the 'payment intent processing' hook why ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
What do you mean by "way to require 'confirmation'" and "forward the confirm option" exactly? What are you trying to achieve?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
payment_intent.processing event is only created for asyncronous payment method types, e.g. bank account debit.
What are you trying to achieve with this?
i want to have a step in which the user insert the payment method, click on 'pay' button, i receive the hook for 'requires_confirmation' and i confirm or block the transaction
but seems that is not possible with the checkout session
For that you can use payment_intent_data[capture_method]=manual: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-capture_method
Then you will get payment_intent.amount_capturable_updated: https://docs.stripe.com/api/events/types?event_types-invoice.payment_succeeded=#event_types-payment_intent.amount_capturable_updated
After that you can capture or cancel the PaymentIntent.
oh ok thank you, in that case which hooks i receive and in which order ?
You can just listen to this one. After it's captured, you will receive a payment_intent.succeeded
ok thank you, i try this method
Happy to help.