• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

GHL to Stripe Connect Payment Routing

karrem

Member

Attachments

  • Screenshot 2025-03-26 163023.png
    Screenshot 2025-03-26 163023.png
    158.4 KB · Views: 24

Preeti Paryani

Well-known member
Staff member
Hello @karrem,

Could you please provide more details on how you want the payments to be filtered or separated? This will help us better understand your requirements and suggest the most suitable solution.
 

karrem

Member
Leverage Stripe Connect for Sub-Accounts as a workaround for managing payments from multiple merchant accounts (e.g., for different websites) within a single GoHighLevel (GHL) sub-account. This approach uses Stripe Connect to create connected accounts for each website, allowing payment separation while keeping GHL’s core features centralized. Since GHL natively supports only one Stripe account per sub-account, we’ll use Stripe Connect with some custom integration (via webhooks or API) to route payments. Please see the screenshot flow
 

Attachments

  • Screenshot 2025-03-26 192046.png
    Screenshot 2025-03-26 192046.png
    155.3 KB · Views: 23
Last edited:

Preeti Paryani

Well-known member
Staff member
Hello @karrem,

You can separate the payment flows for each of your websites by utilizing the website information received from the trigger, as it will be unique for each website. By capturing and processing the response for each website separately, you should be able to achieve your use case effectively.

However, assisting with the detailed setup of the workflow based on your specific requirements is beyond our support scope. We recommend consulting an expert for step-by-step guidance on setting up this use case.

You can find experts through our Pabbly Connect Experts and Consultants forum and in our Facebook group.
 

karrem

Member
Can you help me implement this section?

*Option A: Use Zapier (Simpler) or any similar tools
1. **Create a Zap**:
- Trigger: Webhook from GHL (e.g., form submission with payment details).
- Action: Filter by `Website Source` (e.g., "Website A").
2. **Call Stripe API**:
- Add a **Code by Zapier** step (JavaScript or Python).
- Use Stripe’s API to create a Payment Intent for the correct connected account:
```javascript
const stripe = require('stripe')('your-secret-key');
const paymentIntent = await stripe.paymentIntents.create({
amount: 1000, // Amount in cents, pull from GHL
currency: 'usd',
payment_method_types: ['card'],
on_behalf_of: 'acct_12345', // Connected account ID for Website A
transfer_data: { destination: 'acct_12345' },
});
```

I just send the documents so that you will have idea, the only steps on Pabbly is the section 5, although Zapier is our example but I know Pabbly can do the same.
 

ArshilAhmad

Moderator
Staff member
I have already workflow here https://connect.pabbly.com/workflow/mapping/IjU3NjYwNTY5MDYzMTA0MzQ1MjY0NTUzMjUxMzIi_pc and I am stuck with the action steps for javascript
Are you able to execute this code successfully in an online JavaScript compiler? If you are facing issues with the online compiler as well, then I'm afraid we won't be able to assist you with coding-related issues, as it is beyond our scope of expertise.
1743033205414.png


Try using 'Stripe: Custom API Request' for this use case.
1743033667811.png


Watch this video to understand how you can establish a new connection with your Stripe account.
 
Top