#jason_api

1 messages ¡ Page 1 of 1 (latest)

astral elkBOT
#

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

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

lapis raven
fossil quail
#

hi there!

#

I see payment_method: null in the PaymentIntent. is this the issue?

lapis raven
#

Hey! yeah thats the issue

#

I see one via the dashboard but not via the api for some reason, am I doing something wrong?
My above code logs nil here - log.Println(paymentIntent.PaymentMethod)

astral elkBOT
fossil quail
#

there is no payment_method, but there is a source, which is the old way Stripe charged customers.

lapis raven
#

ah so this customer must have been around for awhile and their card was added when you used source, so even though the paymentIntent is new, their "payment method" is showing up in source?

rapid nebula
#

That's possible, yes