Posted: December 2, 2018 at 4:12 pm
Is it possible to connect a Stripe account to the EE4 Stripe gateway using my Stripe developer user credential as I am not the owner of the Stripe account ?
You mean for testing? If so, then yes, you can.
When you ‘connect’ with Stripe it will ask you to log into your Stripe account. You can use whichever account you prefer on that step to test.
Then when finished you can go back to Event Espresso -> Payment methods -> Stripe.
Hit the button to disconnect from Stripe and then reconnect, now use the ‘correct’ Stripe account.
Alternatively, if you ask the owner to connect to Stripe whilst Debug mode is active – http://take.ms/DYc64
They can link their account in sandbox mode so no payments actually go through, then repeat the above and disconnect, but switch debug mode off and reconnect again when finished.
I was not given the option to choose the Stripe account as I do not have myself an active Stripe account (not required as I will never receive paiements personally). I am a developer user (inactive Stripe account) invited by the owner of the Stripe account. I do have access to multiple Stripe accounts from a developer user point of view. At the end, I will need not only to connect to a test mode account but also a live mode account as I am responsible for configuring Event Espresso.
From what I understand up now, one owner will have to give me his credential informations in order for me to connect his account to the EE4 Stripe Gateway.
You don’t need an ‘active’ stripe account, I don’t use an ‘active’ account for testing Stripe, but you do need admin privileges for the account to connect it via Stripe connect. (I think that’s a restriction from Stripe themselves, but will check)
With Stripe connect that’s not strictly true, the owner could run through the steps to connect Stripe themselves as the steps are basically just confirming the account details, or they could temporarily upgrade your developer account to an admin account to allow Stripe connect with that.
However, for testing the integration there is the option to use the ‘normal’ API keys to connect Stripe, for that you need to add this snippet to your site:
You can add that to a custom functions plugin on your site, we have some documentation on creating one here:
With the account you have you’ll have access to the API keys in the Stripe Dashboard -> Developer -> API keys.
Set the Payment method to Debug mode, add the requested keys and the Stripe payment method will use those keys rather than the ‘connect’ integration.
Is that what you are looking for?
Thanks Tony. I’ll go that way for testing purposes.
As for the Stripe restrictions you mentioned, I can confirm that I have access to both publishable and secret keys, test and live modes, with my developer privileges. In fact, it seems that the only capability I don’t have is to modify (I can read though) the linked bank account, which is obviously logic. In case you find that it is possible to use developer privileges to connect through Stripe connect, make sure it is also possible to select a given account since a developer may have been invited to multiple Stripe accounts, which is my case.
Thanks again for your help !
I set up a developer account on my Stripe accounts and tested, its exactly the same there with default privileges, I’ve requested some feedback from one of our developers but seems only the owner can ‘connect’ the account and that’s likely a restriction on Stripes side as I don’t think it’s a restriction we set.
As far as I am aware, the connect interface is all through Stripe themselves so it’s up to them. You do have the option to select which specific account you are linking to in that if you are logged into an account when you click the connect button, it will try to connect that account, if you are not, it asks you to log in.
I’m guessing, right now as soon as you click connect you get a screen similar to this? – http://take.ms/nNll2
Which means you are already logged into the account but you can’t connect it as you aren’t an admin for that account.
Again, I don’t think that’s our call to make on this but will confirm with the developers.
Thanks for these clarifications !
In the mean time, I have plenty of work to do in test mode to setup the Stripe gateway. I am planning to go live with this feature only beginning of January 19. Worst case scenario, I’ll ask the Stripe account owner to grant me temporary admin privileges as you suggested.