#Jeremy9999
1 messages · Page 1 of 1 (latest)
Hi there! Just to confirm, you'd like to pass in query parameters so other users of the Stripe Dashboard can auto fill payment information?
I don't think I quite follow. It would be best to create your own form that makes API requests to Stripe to create the appropriate customer, PaymentIntent, etc. objects
i am trying to send information to prefill from my crm
the fields are within the stripe app i am creating
the user will be logged into stripe and have the app installed
when they click a button in our crm, it will push that information via query to prefill the form in the app
please see above
the app is inside stripe. it's a stripe app. i want to be able to prefill the fields
it's not an external app
Got it, thanks for clarifying
No, I don't believe this is possible. Can you use a button within the Stripe Apps drawer to pull information from the CRM instead? https://stripe.com/docs/stripe-apps/build-ui#use-third-party-apis
are you sure query parameters are not possible or you just aren't sure?
almost all apps these days allow it
how am i supposed to prefill the fields?
please see above
i don't want to click a button to pull from my crm. i want to push the information FROM my crm (for example, i may have a field called 'customer first name' that i want to push to my stripe app
Confirmed it's not possible to use query parameters in this way. Stripe Apps can't consume state using those parameters
This likely won't be added any time soon
ok i am in a live chat with stripe support right now and they are telling me "I was able to find that you can pass query parameters to the Dashboard URLs, however, we do not offer that as it is not a good idea to do that. "
why are they telling me it is possible?
I think they're misunderstanding what you mean by Stripe Apps, as this is fairly new functionality
ok how else can i acheive the outcome i am trying to do?
for example: i may have a field titled 'first name' with 'david'
i want to push that to the field in my stripe app called 'first name'. so i want 'david' to prefill in the field
within my crm, and i want to send it to my stripe app
how would i do that
I recommend starting here: you'll need to pull the information - https://stripe.com/docs/stripe-apps/build-ui#use-third-party-apis
but 'pulling' the information won't help my situation
my users are INSIDE our crm and then they click a button called 'pay now' and i want the customer information from my crm to go over to stripe
they aren't starting inside stripe. they're starting inside their crm
how can we make the 'pulling' thing work with my situation. can you please help me brainstorm
"i was able to find that you can pass query parameters to the Dashboard URLs, however, we do not offer that as it is not a good idea to do that." with this response the support gave me, is it at minimum possible to 1. designate which account to use 2. open the appropriate app . using query parameters? it doesnt have to pass information but at bare minimum if i can select which account i want to use and open the app that will be helpful
Support is definitely misunderstanding your use case
ok. how can i make this work by 'pulling' the information?
can you help me brainstorm here?
Are you looking for an example?
as i am not too familiar with how it works, i need to figure out how i can work within the framework of whats provided
yes an example
i have 'david' in my CRM. i want to prefill 'david' into one of the fields i create in my stripe app
how do i do that
I recommend looking at some of the sample apps here to familiarize yourself with the design and development of Stripe Apps: https://stripe.com/docs/stripe-apps/sample-apps
The sample "Messaging" app might be the closest to what you're trying to do so I recommend starting with that app: https://github.com/stripe/stripe-apps/tree/main/examples/messaging
if i have more than 1 account with stripe, is there any query parameter that can open a partiucular account
let's say i have account1 and account2. i want to create a button on my crm that will open account1, and a different button to open account2. how would i do that
assuming i am logged in to both
No, this isn't possible
ok. how about this
i really need the query parameter for my app. so perhaps i can build it outside of stripe
if i build it outside of stripe am i able to use stripe's code library or no?
i want to build it as 'stripe app' but it seems like there are limitations and i wont be able to
i appreciate your help please letm e know
What do you mean by "stripe's code library"?
i mean if we built the app within stripe app it would allow us to use your font type for example
if i build the app outside of stripe i'm not going to have access to that will i
?
if i build the app outside stripe can i still integrate it as a 'stripe app' in the future?
Any Stripe App would need to be built within the guidelines outlined in our documentation. Any app you build outside of the Stripe Apps framework would be completely separate
yes of course. all i mean is that they could be connected
regarding the different accounts, how could i open stripe with a particular account opened from the start?
if i have account1 and account2 and i want account2 to open how could i do that? other than selecting it from the dropdown
please let me know
This is all hard to answer with hypothetical scenarios. It's not possible to use query parameters to open/view a specific account's Dashboard.
ok without query parameters. is there another way?
i appreciate the help. can you suggest any other way?
I think it's still not clear what exactly you want to achieve. If you're using Stripe Apps, a Dashboard user would log into the Dashboard, select the appropriate merchant account from the dropdown menu on the top left, and then proceed with installing your Stripe App and granting permission.
yes i understand that. please disregard the app in my inquiry
disregard the app. separately: how would i open a particular account OTHER than selecting from the dropdown in the upper left?
how would i ensure one particular app got opened
one particular account* got opened
I can't disregard the Stripe App in this context. Stripe Apps replace older extensions, and extensions can no longer be built so there's really no other way other than the drop down or the Stripe Apps sidedrawer to access a particular account - https://stripe.com/docs/stripe-apps/migrate-extension
can a particular account be selected via api call?
please help me brainstorm. forget about my app development with this question
just hypothetically: i have 2 accounts. account1 and account2. how would i open one vs the other without selecting the upper left?
could an api select one of them and then open it in the browser?
No, there's no way to use an API call to trigger viewing a given account in your browser
When integrating with the Stripe API, authentication is handled using API keys. The API key used in the request determines which account "makes" that request.
API calls made as a given account will be visible in the Dashboard and vice versa (e.g. if you create a customer object via the Dashboard, you can access that customer object with an API request)
ok