Support

Home Forums Event Espresso Premium EE4: Stripe Payment Gateway: Connect Issue

EE4: Stripe Payment Gateway: Connect Issue

Posted: December 22, 2017 at 8:19 am

Viewing 9 reply threads


paprikawuerzung

December 22, 2017 at 8:19 am

Disconnecting via “Stripe Connect” does not work.
I can not provide the error message, I solved the problem otherwise. Could you please add an option to enable the “old” way to provide the Stripe API keys? This is far more convenient since only the Primary Registrant of Stripe can activate via “Stripe Connect” and not somebody in the Stripe Developer role. This is very inconvenient for non-technical people who do not want to do anything in the back-end – providing the API keys on the other hand is completely trivial.
(My customer for example did not see the Stripe Connect popup to actually connect to Stripe Connect)

The old version, ie. simply entering the API keys, works completely fine.

I changed a field in the database to activate the old way:
using_stripe_connect in wp_esp_extra_meta from 1 to 0.
Please let me know if there are problems/disadvantages with this approach.

Thanks


Josh

  • Support Staff

December 22, 2017 at 8:22 am

The disadvantage is your API keys are stored in the WP settings, using Connect solves that potential problem because it uses a token.


paprikawuerzung

December 22, 2017 at 8:22 am

Ah, also: the documentation for the plugin, eg. when clicking the “?” icon besides an option, is out-dated and actually shows the old way to connect the Stripe account, ie. via the API keys.


paprikawuerzung

December 22, 2017 at 8:24 am

The disadvantage is your API keys are stored in the WP settings, using Connect solves that potential problem because it uses a token.

Ok, can you then please give me a way to disconnect an account? I have to test the payment installation and – as I said before – can not disconnect my Stripe account to actually connect with the test account.

Thanks for answering!


Josh

  • Support Staff

December 22, 2017 at 8:40 am

If the Disconnect button is displayed, but no modal appears after clicking it, that’s a good indication there’s a JavaScript error on the page, in which case you’ll find the JS error by viewing the browser console. If you see an error in the console that usually will point to a plugin or theme file that’s contributing to the error and and be temporarily deactivated.


paprikawuerzung

December 22, 2017 at 8:48 am

The error was reported in espresso_stripe_connect.js?ver=1.1.0.p:284:
`
While deauthorizing the access token for user “[OMMITTED]” Stripe sent an error response:Client error: POST https://connect.stripe.com/oauth/deauthorize resulted in a 401 Unauthorized response:
{
“error”: “invalid_client”,
“error_description”: “The Connect application identifier ‘[OMMITTED] (truncated…)
`


paprikawuerzung

December 22, 2017 at 8:49 am

In espresso_stripe_connect.js?ver=1.1.0.p:284:

While deauthorizing the access token for user "[OMMITTED]" Stripe sent an error response:Client error: "POST https://connect.stripe.com/oauth/deauthorize" resulted in a "401 Unauthorized" response:
{
  "error": "invalid_client",
  "error_description": "The Connect application identifier '[OMMITTED] (truncated...)

Thanks

(An edit function for the posts would be quite useful, also)


Josh

  • Support Staff

December 22, 2017 at 10:08 am

There is an edit function here. May I ask is the site where you’re trying to disconnect Stripe the same site that’s registered to your account? The reason I ask is we saw the same error logged on the oAuth connection server today, but it was for a different domain.


paprikawuerzung

December 22, 2017 at 10:30 am

Yes, I registered the same site to the account. I did, however, change the “Debug Mode On?” option before disconnecting.
Do I have to disconnect, then change the “Debug Mode On?” option in order for it to work?
If so, could you please document this.

Thanks a lot for answering!

(I can not see the edit function on the posts?)


Josh

  • Support Staff

December 22, 2017 at 11:01 am

You’ll actually need to change the Debug Mode On? option back to what it was set to when the connection was made, then save the settings page.

Then you’ll be able to disconnect.

So if the page currently displays:
Connected. Test mode (using sandbox credentials)
Then Debug Mode On must be set to Yes. If it’s set to No then it will try to disconnect from the Live API, but it’s not connected to the Live API. The converse also applies.

Viewing 9 reply threads

The support post ‘EE4: Stripe Payment Gateway: Connect Issue’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso