On that note, I am trying to create a seller while referencing the Oauth and cannot create a bank account token to then create a seller as I cannot figure out how to reference their chequing and institution numbers.
Had an idea so we’ll see if that works…
So I decided to try calling on the completed connect express account event using the API to create a bank account token, then to create an individual seller from that token. I then saved the sellerID in the user profile to call on when someone wants to rent from them.
When testing, I got the following error. It occurs after the account is connected and I try to create a bank account token by retrieving the seller from the connect account event for their data.
Workflow error - The service Stripe marketplace - Retrieve a seller just returned an error (HTTP 403). Please contact the plugin author directly for feedback. Raw error: { "error": { "code": "account_invalid", "doc_url": "https://stripe.com/docs/error-codes/account-invalid", "message": "The provided key 'sk_test_lx******************3fCA' does not have access to account 'sk_test_7SYvY6hCoFkWOKlxW1XfREwW00F5u1QuMS' (or that account does not exist). Application access may have been revoked.", "type": "invalid_request_error" } }
Here are some screenshots of my workflows. I added how I would create a seller from the bank account token so you can see if there are any errors in advance.
As you can see, I used “access token” here, while that didn’t work, I tried Stripe_user_id instead and it worked.
But, alas, I then tried placing an order and this error happened, which led me to realize that the initial save of the seller ID returned a “0”.
Workflow error - The service Stripe marketplace - Link a customer to a seller just returned an error (HTTP 403). Please contact the plugin author directly for feedback. Raw error: { "error": { "code": "account_invalid", "doc_url": "https://stripe.com/docs/error-codes/account-invalid", "message": "The provided key 'sk_test_lx******************3fCA' does not have access to account '0' (or that account does not exist). Application access may have been revoked.", "type": "invalid_request_error" } }
So ya, I guess it didn’t work after all.