#sunnylbk_api

1 messages ¡ Page 1 of 1 (latest)

flint ginkgoBOT
#

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

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

patent shard
#

hi there!

#

sure, by default if you use Payment Links or Checkout Session or the Payment Element, no Inovices are created.

summer merlin
#

Can it be created with adhoc line items withut having to create them as products/services?

patent shard
#

yes

summer merlin
#

Where can I find the api for this?

patent shard
#

it depends. how are you accepting payments? Checkout Session, Payment Element, something else?

#

so for Payment Links?

#

then yes in this case you need to create a Price/Product first.

summer merlin
#

Currently, we are creating invoices for adhoc line items. We want to create payment links instead

#

For invoices, we are using hosted invoice from Stripe

patent shard
#

got it. let me know if you have other questions.

summer merlin
#

Sorry, I didn't understand the solution. Are we supposed to create products mandatory or can we have payment links with adhoc line items?

patent shard
#

for Payment Links, you need to create a Price/Product first. you cannot use adhoc line items.

summer merlin
#

Understood

#

Can payment links be auto charged?

patent shard
#

what does that mean?

summer merlin
#

For a Stripe invoice, payment can be automatically collected when there is a default payment method on file. Is such an option available for payment links?

patent shard
#

no. but if you arelady have a saved payment method, why use a Payment Link? instead you could directly create a PaymentIntent and charge the customer automatically.

summer merlin
#

This won't create any invoice, correct?

patent shard
#

no, it won't