#piercy
1 messages · Page 1 of 1 (latest)
:question: @proud ember Have a non-technical question, account issue, or need one-on-one support?
We wish we could help, but this community is focused on developers and technical discussions. Our support team will be able to assist you better than we can: https://support.stripe.com/contact
I mean its a technical question as im trying to test your system. but I deleted as i realized that it was sensitive.
You can't keep updating your email multiple times
OK, so how would I test when a user changes their email?
By user you mean end customer or Connect Account ?
connect account
You need to listen to account.udpated event :
https://stripe.com/docs/api/events/types#event_types-account.updated
You can trigger a webhook event by using Stripe Cli:
stripe trigger account.updated
can we pass data to that to say what was changed?
You can use the override option:
https://stripe.com/docs/cli/trigger#trigger-override
Ok will try that, but you can see how that isnt really helpful in this case right? Me specifying the path of the values I want to edit, doest really simulate the actual system sending me the data
At that point i might as well just type anything that matches my code.
but you can see how that isnt really helpful in this case right?
No sorry,
Me specifying the path of the values I want to edit, doest really simulate the actual system sending me the data
That how you should override data occurding to what you may expect in your integration
You need to test your integration but not Stripe part (Dashboard actions...)
So, when a user changes the email address, I need a webhook that tells me that the email has changed.
If my code says event.email_address, then on the webhook i send an override to say email_address="bob". If the field is actually email and not email_address its all going to be wrong
its not simulating the system actually changing the data, im just specifying what i want it to output, its not really a good test
Ill work out a way to fake it myself, but this really isnt a good system to test things with
Why not overriding email in that case
I could, but what if I am wrong?
the whole point is I need the system output
dashboard.display_name for example
You need to mock the system to do your tests
you can't do tests on live products
otherwise you'll get blocked because it's a live system
its not, its in test mode on a test account?
But you are doing the action via Stripe Dashboard
Exactly, because thats what a user would do
Again, you need to mock the system and not test the system it self
Ill fake it myself, i think i know how i can do it, but this really isnt a good system. Ill raise it with our account managers.
between yesterday taking 2h to create a test account, and now this. Its been a terrible experience.
May I know why it was taking 2h to create a test account ? Can you share more details so that we can help ?
Because the process is overly complicated.
TO create a test account with all features involves jumping through several hoops, entering correct pieces of information that isn't obvious its event required (city for example), and then eventually hoping that at the end its verified
There should be a button "create fully featured test account", for people who dont need to validate the verification process. Its very cumbersome. So that took two hours, and now im at this point where i cant even test what i need to test. Essentially 3-4 hours wasted and I am just going to have to fake it myself
I understand you have verification, and want the test process to be close to the real process, but at the moment, thats at the cost of significant developer time.
👋 taking over for my colleague. Let me catch up.
have you seen this https://stripe.com/docs/connect/testing ?
yes, i went through the process yesterday on another ticket. As an example on account creation, i entered address_full_match but it still didnt work because you have to put in a city.. doesn't matter what city, but you have to enter one otherwise it fails validation
Then your realize youve done an expresss account, so need to do it all again because you cant access
unfortunately that's part of the process, we can't really skip these
It also doesnt tell you whats wrong just that its "restricted"
For test mode, it probably needs a "give me a fully featured account" button. To bypass and just get a fully working test account.
I can understand if you need to test verification, you wouldnt do that, but for everything else a test account just works is all thats needed
Then i finally got that done last night, and now the system blocks me changing email address so i cant even test what I need to test. All a big waste of time
I can hear that, but there's nothing really I can help you out with technically
Anyway im going to fake it myself, and hope I get it right.
I will be asking my managers to contact our stripe account manager. I wasted far too long on this, for something that should have been a very quick fix.
if you have a contact person at Stripe please do leverage them for this type of feedback or you can submit it directly through https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I am pretty sure we have an account manager, so ill just get our team to go through that.
Thanks for the assistance anyway