#digows_api

1 messages ¡ Page 1 of 1 (latest)

clever plazaBOT
#

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

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

tropic atlas
#

Pix isn't supported for Invoicing

worthy axle
#

oh

tropic atlas
worthy axle
#

Actually I'm using Stripe elements to show the payments for. And after genereting an invoice, I get the confirmation_secret to show the elements.

#

Even in this case, I can not use PIX?

#

If creating a PaymentIntent works fine.

tropic atlas
#

You can only do payment intent directly for now

#

Invoices aren't supported yet

worthy axle
#

okay, and is there any way to link a payment with an invoice later?

tropic atlas
#

There's not, no

worthy axle
#

okay, thanks.

tropic atlas
#

Pix is in public preview, so it's early stages of supportability

worthy axle
#

okay, got it

#

may I ask you another thing?

tropic atlas
#

Sure

worthy axle
#

I have some customPaymentMethods in my Stripe elements.

I have a scenario which I may need to remove all default payment methods from the invoice/elements, showing only the custom ones.

How can I do that? In the invoice creation or in the Stripe elements?

tropic atlas
#

I don't think this is possible, but let me poke around

worthy axle
#

thanks

tropic atlas
#

Ok so this is possible but you'd have to use a different checkout flow

#

Currently you create invoice up-front and render payment element with the client secret