#root_api

1 messages ¡ Page 1 of 1 (latest)

half bladeBOT
steep basinBOT
#

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.

half bladeBOT
#

👋 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/1250757123193835530

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

limber monolith
#

hi! what would the invoice be exactly? you're using setup mode, which is just saving a card, so there's no payment happening. Not sure what you're looking for exactly.

warm pilot
#

so i want to charge the customer later, and i want to send invoice also

#

i am open to send the invoice anytime but i dont want to ask them for payment in invoice

limber monolith
#

I don't really understand, could you explain to me a complete example of this and when the customer enters details, when they are charged, what you send them and when, and so on?

warm pilot
#

okay

#

so i want to add a payment method to a customer when a order is created in my system. after 2-3 days i want to charge the customer. so that i am able to do with payment intent and checkout session

now i want to create a invoice that should be sent to customer on payment confirmation preferrably

limber monolith
#

then why not just

  • use CheckoutSession in setup mode normally like you're doing
  • when you do want to charge them, create and charge the one-off charge_automatically Invoice at that point
warm pilot
#

but charge automatically picks the default payment method and the customer can have multiple payment methods

limber monolith
warm pilot
#

okay

#

so i have to generate a checkout session and then when i want to charge i will create an invoice for the same?

limber monolith
#

that could work yes.

warm pilot
#

thanks