#arti-villa_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/1342143947560058951
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- arti-villa_error, 2 days ago, 25 messages
- arti-villa_api, 3 days ago, 36 messages
- arti-villa_api, 3 days ago, 7 messages
I successfully made a call but I'm unclear which events I need to track for failed payments. The session expires in 30 minutes (custom set) so if the customer makes a payment what happens. If a session is expired, how can I find out so I can remove those entries from my db.
what are the other states for checkoutSession.payment_status?
also how do I enable testing customer emails in test mode: https://dashboard.stripe.com/settings/emails
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I sent myself a test email but need to test what kind of info is displayed in 'Charge Description'. would it show the line items and if so how do I test it?
Hey there,
For the expired/abandoned carts, you can listen to checkout.session.expired and decide how to handle that in your system: https://docs.stripe.com/payments/checkout/abandoned-carts?payment-ui=stripe-hosted#webhook
(cart recovery is an optional feature, but the abstract concept applies to what you're asking)
yeah I just want to clear those entires from my db if they won't be paid for.
does all of stripe support work at stripe full time? tons of these apis are new so curious how you're aware of new changes.
You should also make sure to listen for checkout.session.async_payment_failed if you accept async payment methods that can fail after the session is completed
got it. yeah not starting with bank payment but will handle it
of the screenshot I don't have to track charge.succeeded or payment_intent.succeeded? since they're all for the same txn.
I gotta pass out but if you can respond on how I can test with specific description prior to closing the chat.
I'm not sure what you did to get that result, but if you want to set the payment mode statement descriptor you can do that using payment_intent_data[statement_descriptor]:
https://docs.stripe.com/api/checkout/sessions/create?lang=cli#create_checkout_session-payment_intent_data-statement_descriptor
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thanks. in the dashboard i triggered it via the branding section.
Stepping in as synthrider needed to step away
Let me know if there is anything outstanding here
is there a way to reset updateBillingAddress() . reason being, when a customer toggles the ‘same as shipping’ we call the api instead of using the address element form. but if they uncheck, we need to use the address element instead. i’ve tested it out using both address elements without the api. but unclear how to reset the api if i call this function.