stripe icon indicating copy to clipboard operation
stripe copied to clipboard

Stripe connect error

Open splendidrob opened this issue 2 years ago • 8 comments

Description

Using the example templates as directed in the docs clicking the "connect with stripe" button results in the following stripe error:

{
"error": {
"message": "No application matches the supplied client identifier"
}
}

This is on a local development server currently - does this require a live environment to work correctly? Can't see anyway past this to verify a vendor as there isnt anyway to connect stripe via the craft control panel?

Additional info

  • Craft version: Craft Pro 4.5.9
  • PHP version: 8.2.0
  • Database driver & version: MySQL 5.7.39
  • Plugin version: 5.5.0
  • Is SCA and Stripe Checkout enabled?: YES

splendidrob avatar Nov 02 '23 10:11 splendidrob

Hi @splendidrob please make sure you set the right testClientId or liveClientId on your config settings. This error may be related to a clientId that is not related to your Stripe account

More info

andrelopez avatar Nov 02 '23 12:11 andrelopez

@andrelopez Thank you that got me one step closer! Now I get:

{
"error": {
"message": "Cannot onboard via express oauth due to gated access.",
"code": "forbidden"
}
}

splendidrob avatar Nov 02 '23 13:11 splendidrob

@andrelopez I have been through all my Stripe Connect settings and all of the Stripe Payments settings and cant find anything in relation to this. Any advice as to how to progress past the Strip error above? My settings in Stripe as below

screenshot_1245 screenshot_1246

splendidrob avatar Nov 07 '23 15:11 splendidrob

Hi @splendidrob I am looking into this, it looks like Stripe deprecates express oauth I'll let you know when I find a fix in place

andrelopez avatar Nov 07 '23 15:11 andrelopez

@andrelopez Any updates here? Stripe connect seems to be unusable at present...

Just to add an update. I created and connected an account in the stripe dashboard and then edited the database to add the account number to stripe payments vendor. Running a sale via stripe checkout results in the following error in stripe:

{
  "error": {
    "code": "oauth_not_supported",
    "message": "This application does not have the required permissions for the parameter 'company' on account 'acct_XXX'.",
    "message_code": "oauth_not_supported",
    "request_log_url": "https://dashboard.stripe.com/acct_XXX/test/logs/req_2QryCjrfCyaF9x?t=1700936021",
    "type": "invalid_request_error"
  }
}

splendidrob avatar Nov 25 '23 17:11 splendidrob

Sorry about the slow response, it looks like this needs a big refactor that I just started, just a heads up that this may not be ready until January next year

andrelopez avatar Dec 08 '23 20:12 andrelopez

@andrelopez no problem and thanks for the heads up. I actually ended up building my own direct integration in the end as needed to get it working.

splendidrob avatar Dec 09 '23 08:12 splendidrob

@andrelopez is this fixed? Does the Stripe Connect (commissions) aspect of the plugin work as we are evaluating it for a project? Thanks!

subism-dev avatar Mar 04 '24 10:03 subism-dev