Stripe Connect API

Stripe Connect API

Stripe Connect enables you to control creadit cart payment on behalf of merchant’s connected accounts. By configuring Stripe Connect API you can perform the common task of processing payments on a seller’s behalf. You’ll need CLIENT ID, SECRET KEY and PUBLISHABLE KEY from Stripe.

 

HELP! Learn more about Stripe connect. Read the Stripe documentation.

 

Register the Platform

Head to your Stripe account dashboard and go to the Connect section. Click Get Started button to activate connect account. After that, you’ll see the new Settings option on the sidebar.

 

Go to Connect > Settings from the sidebar, on the Client IDs section get the client ID, we’ll need this ID later on this guide. Now click Add redirect URI button and give https://your_domain/admin/setting/stripe/redirect in the Redirect URI field.

 

 

On the same screen scroll to Branding section and fill the form with your brand information, upload logo, and icon.

 

Get API credentials

Next, go to Developers > API keys section from the sidebar and get the Publishable key and Secret key.

 

Now you have done Stripe part and time to configure the platform, open the .env file and update these keys with your values.

.
.
.
STRIPE_KEY=your_stripe_publishable_key
STRIPE_SECRET=your_stripe_secret_key
STRIPE_CLIENT_ID=your_stripe_client_id
.
.
.

 

Note! Enable View test data to get test credentials on the Stripe dashboard.

 

Warning! The stripe platform account and the connected account (seller) can’t be the same account. To test stripe connect use different accounts.

 

Now from your platform’s admin Dashboard navigate to settings configuration payment methid tab and enable Stripe payment method so that your marketplace vendors can accept credit card payment.

 

 

Was this helpful to you?

Leave Comment