#john-gadbois_api
1 messages ยท Page 1 of 1 (latest)
๐ 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.
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
Soundds good - thanks!
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
appreciate it! This is t he only documentation I could find related to setupintent and reader: https://docs.stripe.com/api/terminal/readers/process_setup_intent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
this is the guide i would recommend starting with:
https://docs.stripe.com/terminal/features/saving-cards/save-cards-directly
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!
sounds good!
generated_card does not support "on_behalf_of"
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?
looking at this event:
https://dashboard.stripe.com/test/events/evt_0REEVP250JCmBXjULpKhS8Jh
for this customer:
cus_O2Us2ave7aQS0r
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!