#fabian-123_api

1 messages ยท Page 1 of 1 (latest)

stoic terraceBOT
#

๐Ÿ‘‹ 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/1324749782140588075

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

plush coral
#

๐Ÿ‘‹ happy to help

wet lance
#

thank you tarzan!

plush coral
#

you can't disable via API

#

basically this is a Dashboard only feature

stoic terraceBOT
wet lance
#

Is there any workaround available?

plush coral
#

you either create the invoice with a collection_method "send_invoice" which would send the invoice to the customer

#

or you set it to charge_automatically which means you want to automatically charge the customer with their saved payment method (if they have any)

wet lance
#

I need to create and send an invoice to a customers but the customer should not be able to initiate a payment (at any costs)

#

If I choose send_invoice the customer is still able to initiate the payment via the link

uncut heart
#

Hi taking over here

#

Invoices in Stripe allow a Customer to make payment

#

So it sounds like you'd need to build a custom solution if you want to send the customer an invoice that doesn't allow the customer to pay

wet lance
#

But it works perfectly via the dashboard if the "send_hosted_payment_email": "false"

uncut heart
#

That's a dashboard only feature for now

wet lance
#

Okay do you know whether it will be available via the API anytime soon in a closed Alpha/Beta?

uncut heart
#

Not that I'm aware of

#

I can submit a feature request

wet lance
#

that would be great!

uncut heart
#

No guarantees on when it'll be implemented though

wet lance
#

I know but at least there is a ticket in the backlog somewhere ๐Ÿ™‚

uncut heart
#

Ok I submitted one

wet lance
#

Thank you!

uncut heart
#

No problem

wet lance
#

Have a great weekend!