#dan-d_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/1290762162955878525
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
While Invoicing uses PaymentIntents API under the hood but PaymentIntents API can be used to accept payments without using invoices.
Taking a step back, what are you using the invoice for? Are you using it as proof of payment? If so, wouldn't receipts work ? https://docs.stripe.com/receipts?payment-ui=payment-links
We are using an invoice to record the list of products we charge for the appropriate accounting purposes and proof of payment. We need to be able to record a list of products. I dont think that flow would work because all that receipt does is send an email to the customer. We manage the communications of the receipt internally
Gotcha. In your use case, you'd need to create the invoice first as the PaymentIntent that gets created is based on the line items provided
So i am stuck voiding invoices where the payment intent fails?
Thank you that is what I assumed I would have to do.
NP! ๐ happy to help
I had another question. Was gonna create another thread then it just told me to ask it here.
I use a third party risk system where I need to send them records of attempted transactions in the system.
With our current payment vendor we can see when zero dollar auth transactions happen and we send those.
I believe that when a customer adds a credit card a setup attempt happens. And the setup attempt object records that transaction because the setup attempt object is what contains the decline category.
However in the setup attempt API there is no dollar amount. Should I just assume its always zero dollars?
It might be $0 or $1 auth charge.. But these charges aren't visible afaik
Sounds good. Last question. I dont see any way to get the card bin. Am i missing it in the payment methods api? Or do you all just not show it
I had read in a 10 year old thread it was for security. But I wasnt 100% sure
Yeah we don't return BIN info. Here are the params we do return: https://docs.stripe.com/api/payment_methods/object#payment_method_object-card
If your usecase requires it, you can reach out to support team to see if there are any private features you'd be eligible for which enables BIN
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.
Thanks so much!