#erin_code
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/1215385690796331009
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hey there synthrider, thanks for helping out
Hey there
is there a way to have an invoice that is paid via a terminal reader?
I know how to get a PI paid, but I can't seem to create an invoice annd use it's PI to send to the reader
Unfortunately not currently, invoices cannot be paid with terminal & card present cards
so all we can do right now is send a manually created PI to the reader?
and there's no way to attach a reader PI to an invoice?
like I know I can mark an invoice as paid (out of band), but I'd love to "attache" the PI to it even after the fact?
Correct -- that's not currently possible. I can share feedback that you're looking for this functionality though.
Where do you collect payments, geographically?
oh ya, for sure, otherwise there's no way to link anything together
like if we are at a trade show and want to start a subscription and collect payment on the floor via the reader
how would we do that?
in the US
One option would be to use the reader to collect the payment method without payment then use that to pay the invoice
https://docs.stripe.com/terminal/features/saving-cards/save-cards-directly
In the US, if you can also save a card for later off-session use during a reader payment:
https://docs.stripe.com/terminal/features/saving-cards/save-after-payment
kk don't go away, let me read this, one sec please
ok so the steps would be:
- create invoice line items
- create invoice
- create setupintent, send to reader to get payment method
- pay the invoice with the payment method from the setupintent?
yep, exactly
ok then I can set the invoice to auto-collect cuz we pass in a verified payment method
...and it would w/ subscriptions to, on the invoice
ok, next question, can an invoice have one time payments AND subscription prices on it?
@warm fog
Yes, but
You would not create the invoice directly in that case
You'd create the subscription which produces the invoice automatically
Then pay that invoice
sure that's for the invoice, but what about the one time payments? those need another invoice, right?
So use the flipped perspective: you include one-time items on a recurring subscription invoice
And invoice is tied to only one subscription, yes, but may include one-time items
just a sec
With add_invoice_items when creating the subscription:
https://docs.stripe.com/api/subscriptions/create#create_subscription-add_invoice_items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can also add items to future invoices, if that's relevant to your flow
ah ok, so if we want to have MULTIPLE subscriptions AND one time payments, we'd create one subscription, and pass in the one time payments, then another subscription for the other invoice
Yep, exactly
If you spin up multiple subscriptions for one customer for whatever reason (note you can have multiple recurring items on a single subscription) you'd have 2 (or more) invoice to pay
a single subscription w/ multiple items? how does that work if the period is different?
That's one limitation, they need to have the same recurring period
right ok, that makes sense
so "safer" to just make a new one with each one, in our use case
ok thanks, you've been very helpful
NP - happy to help!
that works great, thanks!