#arti-villa_api

1 messages · Page 1 of 1 (latest)

brittle haloBOT
#

👋 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.

lilac spade
#

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?

#

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?

winter wyvern
#

(cart recovery is an optional feature, but the abstract concept applies to what you're asking)

lilac spade
#

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.

winter wyvern
#

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

lilac spade
#

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.

lilac spade
winter wyvern
brittle haloBOT
lilac spade
#

thanks. in the dashboard i triggered it via the branding section.

limber zealot
#

Stepping in as synthrider needed to step away

#

Let me know if there is anything outstanding here

lilac spade
#

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.

limber zealot
#

I'm not sure what updateBillingAddress() is? That isn't one of our methods

#

Unless I'm forgetting one 😅

#

Ah ah sorry

#

This is for the new Custom Checkout integration

#

Have you tried to pass an empty string for each parameter in to updateBillingAddress() to reset it?

lilac spade
#

have not will try that

#

yeah is there a sample app with shipping/billing payments and all that build in a sample code? would have saved me hours 🙂