enupal / stripe

Allows customers sign up for recurring and one-time payments with Stripe, perfect for orders, donations, subscriptions, and events. Create simple payment forms in seconds easily without coding. For Craft CMS
https://enupal.com/craft-plugins/stripe-payments/
Other
33 stars 19 forks source link

Stripe connect error #372

Open splendidrob opened 1 year ago

splendidrob commented 1 year ago

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

andrelopez commented 1 year ago

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

splendidrob commented 1 year ago

@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 commented 12 months ago

@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 commented 12 months ago

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 commented 11 months ago

@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 commented 11 months ago

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

splendidrob commented 10 months ago

@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 commented 8 months ago

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