#lil-nasty_best-practices

1 messages ยท Page 1 of 1 (latest)

turbid boltBOT
#

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

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

quick wigeon
#

Hello

lunar quail
#

Howdy

quick wigeon
lunar quail
#

That saves the payment method on the subscription though, right?

#

I want it to save on the customer

quick wigeon
#

Ah then no, there is no parameter that does that automatically

lunar quail
#

Under invoice_settings.default_payment_method

#

Ok, got it!

quick wigeon
#

So yeah just listening to webhooks is the correct way to go

lunar quail
#

Thank you! I'll work around it

quick wigeon
#

๐Ÿ‘

lunar quail
#

Is there a quick/dirty way to find the payment method that was used for the intial payment?

#

Maybe nested in the subscription?

quick wigeon
#

Yeah you can retrieve the Subscription and expand the latest_invoice.payment_intent