Stripe Payment Gateway

Here's the tutorial followed by the steps.

Step 1: Connecting Stripe with your Job Board

You need to connect Stripe App by following the given steps.

  • Visit the admin panel and navigate to Manage Portal

  • Click on App Center → Payment integration

  • Now Click on Stripe and Connect

Step 2: Login to your Stripe account

  • Sign in to your Stripe account.

  • In the left menu, click on Developers → API keys.

  • Under Standard Keys, you’ll see your Publishable Key.

  • To reveal your Secret Key, click the Reveal live key token button.

If your Secret Key is restricted, you will need to generate a Restricted Key with the necessary permissions. You need to follow these steps:

  1. Generate a Restricted Key (If Needed)

  2. Go to the Stripe Dashboard and navigate to Developers → API keys. Click Create Restricted Key.

  3. Give your key a name (e.g., "Artha Job Board Restricted Key").

  4. Select the necessary permissions based on your use case.

  5. Common permissions for payment processing: checkout.sessions → Read & Write payment_intents → Read & Write events → Read. Click Create Key and securely store the key.

If your restricted key does not have the right permissions, some API calls may fail, so be sure to grant the right level of access.

Step 3: Setup Webhook

  • Navigate to Developers → Webhooks in the left sidebar.

  • Click on the Add Endpoint button.

  • Select the following event and enter the respective webhook URL.

Webhook URL for success

https://subscriptions-payment.arthajobboard.com/api/v1/webhook/subscription/payment-intent/succeded Event: invoice.payment_succeeded


Webhook URL for fail https://subscriptions-payment.arthajobboard.com/api/v1/webhook/subscription/payment-intent/failed Event: invoice.payment_failed


Webhook URL for canceled https://subscriptions-payment.arthajobboard.com/api/v1/webhook/subscription/renewal/canceled Event: customer.subscription.deleted


Step 4: Retrieve Webhook Secret Key

After adding the endpoint, you’ll see it listed in your webhook settings.

  • Click on the newly created webhook endpoint.

  • Under Signing Secret, click Reveal.

  • Copy the Webhook Signing Secret for payment_succeeded. This will be used to verify events from Stripe.

Step 5: Connect App

After configuring the Stripe and obtaining the keys switch back to App center in Artha

  • In the App connection side drawer

    • Add Secret key

    • Add Endpoint Secret - The webhook Secret key

    • Add Publishable Key

  • Click on connect

The integration is complete now.

💳Payment Integration

Last updated

Was this helpful?