Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stripe connect error #372

Open
splendidrob opened this issue Nov 2, 2023 · 8 comments
Open

Stripe connect error #372

splendidrob opened this issue Nov 2, 2023 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@splendidrob
Copy link

splendidrob commented Nov 2, 2023

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
@andrelopez
Copy link
Member

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 andrelopez self-assigned this Nov 2, 2023
@splendidrob
Copy link
Author

@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
Copy link
Author

splendidrob commented Nov 7, 2023

@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

@andrelopez
Copy link
Member

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

@splendidrob
Copy link
Author

splendidrob commented Nov 25, 2023

@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"
  }
}

@andrelopez
Copy link
Member

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 andrelopez added bug Something isn't working and removed need more info labels Dec 8, 2023
@splendidrob
Copy link
Author

@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.

@subism-dev
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants