#Jeremy9999

1 messages · Page 1 of 1 (latest)

trail willowBOT
shy blaze
#

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

stoic rivet
#

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

stoic rivet
#

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

shy blaze
#

Got it, thanks for clarifying

stoic rivet
#

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?

stoic rivet
#

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

shy blaze
#

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

stoic rivet
#

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?

shy blaze
#

I think they're misunderstanding what you mean by Stripe Apps, as this is fairly new functionality

stoic rivet
#

ok how else can i acheive the outcome i am trying to do?

stoic rivet
#

within my crm, and i want to send it to my stripe app

#

how would i do that

shy blaze
stoic rivet
#

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

stoic rivet
#

"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

shy blaze
#

Support is definitely misunderstanding your use case

stoic rivet
#

ok. how can i make this work by 'pulling' the information?

#

can you help me brainstorm here?

shy blaze
#

Are you looking for an example?

stoic rivet
#

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

shy blaze
stoic rivet
#

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

shy blaze
#

No, this isn't possible

stoic rivet
#

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

stoic rivet
shy blaze
#

What do you mean by "stripe's code library"?

stoic rivet
#

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

#

?

stoic rivet
shy blaze
#

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

stoic rivet
#

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

shy blaze
#

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.

stoic rivet
#

ok without query parameters. is there another way?

stoic rivet
shy blaze
#

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.

stoic rivet
#

yes i understand that. please disregard the app in my inquiry

stoic rivet
#

how would i ensure one particular app got opened

#

one particular account* got opened

shy blaze
#

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

stoic rivet
#

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?

shy blaze
#

No, there's no way to use an API call to trigger viewing a given account in your browser

stoic rivet
#

is there a way to switch between the two via api call

#

there has to be SOME way

shy blaze
#

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)

stoic rivet
#

ok