#john-gadbois_api

1 messages ยท Page 1 of 1 (latest)

obsidian mauveBOT
#

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

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

fierce zodiac
#

hello! just wanted to acknowledge that i've seen your question, but the discord is a little busy atm so it might be a bit before i can get back to you

stoic bear
#

Soundds good - thanks!

fierce zodiac
#

ok, coming back to this now - sorry about the delay, things have been busy today ๐Ÿ˜…

#

looking into the examples you shared now

#

it's been a while since i've done much with setup intents and terminal - let me test something in my own integration to refresh myself on some things here

stoic bear
fierce zodiac
stoic bear
#

So maybve i just need to change card type from card to generated_card

#

PM typee*

#

Let me do some digging before you spend time on it using that guide

#

Thanks!

fierce zodiac
#

sounds good!

stoic bear
#

generated_card does not support "on_behalf_of"

obsidian mauveBOT
fierce zodiac
#

ok, i'm looking at the example requests and i am a little confused - according to our logs it does look like the payment method is attaching

#

let me sanity check something

#

oh that was recent, did you just figure it out?

#

for this customer:
cus_O2Us2ave7aQS0r

stoic bear
#

I'm not sure, I tried type generated_card and got a destination charge error (on_behalf_of not supported). Let me see if that did actually attach though

#

I think it is attaching, but we need to pass the generated_card payment_method_id to the subscription, not the original setup_intent payment method which is the non-reusable card_present pm

#

I'll try that - thanks for the help!