logo

Payment Settings: Integrating Stripe API and Webhooks

This tutorial will guide you through the process of setting up Stripe integration in your SMS-iT CRM. We'll cover adding your Stripe API keys and configuring webhooks to ensure seamless payment processing.

2

Click on "Reseller Accounts"

Click on "Reseller Accounts"
3

Click on "Payment Settings"

Click on "Payment Settings"
4

We will now proceed with the Stripe setup process. This involves configuring your API keys and webhooks to enable secure payment processing.

We will now proceed with the Stripe setup process. This involves configuring your API keys and webhooks to enable secure payment processing.
5

Navigate to the Stripe dashboard using the provided link. https://dashboard.stripe.com/dashboard Note: If you're not already logged in, you'll need to sign in to your Stripe account. If you don't have a Stripe account, you can create one through the link provided.

6

Click on "Developers"

Click on "Developers"

API keys

7

Click on "API keys"

Click on "API keys"
8

Click on "Create secret key"

Click on "Create secret key"
9

Provide a descriptive name for your secret key.

Provide a descriptive name for your secret key.
10

Click on "Create"

Click on "Create"

Important: Copy your newly created secret key immediately and store it securely. You won't be able to view it again after this step. It's recommended to temporarily paste it into a secure text file as a backup.

11

Optionally, add a note or description for your secret key. Then, click on the key to copy it to your clipboard.

Optionally, add a note or description for your secret key. Then, click on the key to copy it to your clipboard.
12

After copying your secret key, click the "Save" button to confirm the creation of your new API key.

After copying your secret key, click the "Save" button to confirm the creation of your new API key.
13

Return to your SMS-iT CRM Payment Settings page. Locate the "Secret key" field and paste your copied Stripe secret key into this field.

Return to your SMS-iT CRM Payment Settings page. Locate the "Secret key" field and paste your copied Stripe secret key into this field.
14

Back in your Stripe dashboard, find the "Publishable key" section. Click on the key labeled "Token" to copy your publishable key to the clipboard.

Back in your Stripe dashboard, find the "Publishable key" section. Click on the key labeled "Token" to copy your publishable key to the clipboard.
15

Switch back to your SMS-iT CRM Payment Settings page. Locate the "Publishable key" field and paste your copied Stripe publishable key into this field.

Switch back to your SMS-iT CRM Payment Settings page. Locate the "Publishable key" field and paste your copied Stripe publishable key into this field.
16

Click on "Save"

Click on "Save"
17

You should now see a confirmation message indicating that your Payment API keys have been successfully saved.

You should now see a confirmation message indicating that your Payment API keys have been successfully saved.
18

If you prefer not to use Stripe for payment processing, you have the option to toggle on "Received by Cash". This allows you to charge customers outside the SMS-iT ecosystem, which can be useful if your SMS-iT offering is part of a larger bundle or if you're managing payments separately.

 If you prefer not to use Stripe for payment processing, you have the option to toggle on "Received by Cash". This allows you to charge customers outside the SMS-iT ecosystem, which can be useful if your SMS-iT offering is part of a larger bundle or if you're managing payments separately.

Webhooks

19

Now that we've set up the API keys, let's configure webhooks. In your Stripe dashboard, click on "Webhooks".

Now that we've set up the API keys, let's configure webhooks. In your Stripe dashboard, click on "Webhooks".
20

Scroll down

Scroll down
21

Click on "Add an endpoint"

Click on "Add an endpoint"

Add Endpoint URL

22

In the "Add Endpoint URL" field, copy and paste the following link: https://aicpanel.smsit.ai/stripe/webhook Provide a descriptive name in the "Description" field, such as "SMS-iT CRM Webhook".

In the "Add Endpoint URL" field, copy and paste the following link: 
https://aicpanel.smsit.ai/stripe/webhook
Provide a descriptive name in the "Description" field, such as "SMS-iT CRM Webhook".

Selecting events to listen to

We'll now configure the events that the webhook will listen for. We need to add three specific events:

invoice.paid checkout.session.completed invoice.payment_succeeded

23

Click on the "Select events" button to choose which events your webhook will monitor.

Click on the "Select events" button to choose which events your webhook will monitor.
24

To easily find the required events, we'll use the search bar provided in the event selection interface.

To easily find the required events, we'll use the search bar provided in the event selection interface.
25

We'll now add each of the three required events one by one.

We'll now add each of the three required events one by one.
26

Copy the first event: invoice.paid

27

Paste "invoice.paid" into the search bar in the Stripe webhook event selection interface.

Paste "invoice.paid" into the search bar in the Stripe webhook event selection interface.
28

Once the "invoice.paid" event appears in the search results, click the checkmark next to it to select this event.

Once the "invoice.paid" event appears in the search results, click the checkmark next to it to select this event.
29

Click on "Add events" to add the event to your webhook.

Click on "Add events" to add the event to your webhook.
30

You've successfully added the "invoice.paid" event to your webhook configuration.

You've successfully added the "invoice.paid" event to your webhook configuration.
31

Now, let's add the second event. Copy: checkout.session.completed

32

Click on the "Change events" button to add another event to your webhook.

Click on the "Change events" button to add another event to your webhook.
33

Paste "checkout.session.completed" into the search bar in the Stripe webhook event selection interface. Once the "checkout.session.completed" event appears in the search results, click the checkmark next to it to select this event.

Paste "checkout.session.completed" into the search bar in the Stripe webhook event selection interface. Once the "checkout.session.completed" event appears in the search results, click the checkmark next to it to select this event.
34

Click the "Add events" button to confirm the addition of the "checkout.session.completed" event to your webhook.

Click the "Add events" button to confirm the addition of the "checkout.session.completed" event to your webhook.
35

The "checkout.session.completed" event has been successfully added to your webhook configuration.

The "checkout.session.completed" event has been successfully added to your webhook configuration.
36

Click on "Change events" once more to add the final required event.

Click on "Change events" once more to add the final required event.
37

Copy the third and final event: invoice.payment_succeeded

38

Paste "invoice.payment_succeeded" into the search bar in the Stripe webhook event selection interface.

Paste "invoice.payment_succeeded" into the search bar in the Stripe webhook event selection interface.
39

When the "invoice.payment_succeeded" event appears in the search results, click the checkmark next to it to select this event.

When the "invoice.payment_succeeded" event appears in the search results, click the checkmark next to it to select this event.
40

Click the "Add events" button to finalize the addition of the "invoice.payment_succeeded" event to your webhook.

Click the "Add events" button to finalize the addition of the "invoice.payment_succeeded" event to your webhook.
41

You have successfully added all three required events to your webhook configuration.

You have successfully added all three required events to your webhook configuration.
42

With all events configured, click on the "Add endpoint" button to create your new webhook.

With all events configured, click on the "Add endpoint" button to create your new webhook.
43

Your webhook has been successfully created and configured in Stripe.

Your webhook has been successfully created and configured in Stripe.
44

You can verify that your webhook is properly set up by checking the "Listening for" section, which should display all three events you've added: invoice.paid, checkout.session.completed, and invoice.payment_succeeded.

You can verify that your webhook is properly set up by checking the "Listening for" section, which should display all three events you've added: invoice.paid, checkout.session.completed, and invoice.payment_succeeded.

You have now completed the Stripe integration setup for your SMS-iT CRM. Close the Stripe dashboard and return to your SMS-iT CRM interface.

Closing Summary: This tutorial has walked you through the process of integrating Stripe payment processing with your SMS-iT CRM system. By following these steps, you've set up a secure and efficient payment gateway for your business. The SMS-iT CRM platform, with its Stripe integration, offers significant benefits for marketing agencies, small businesses, solo entrepreneurs, and professionals. This seamless payment processing integration allows you to: - Automate billing and invoicing processes - Securely handle customer payments - Streamline financial operations - Focus on your core business activities without worrying about payment technicalities - Provide a professional and trustworthy payment experience for your clients

By leveraging the power of SMS-iT CRM with Stripe integration, you're equipping your business with a robust tool that combines customer relationship management with efficient payment processing, ultimately driving growth and improving customer satisfaction.

Done