Skip to main content

Setting Up The Stripe Gateway (v2)

IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.

You can activate up to four methods of payment on our payment settings page: Stripe, Stripe Checkout, PayPal and Manual. In this article, we will see how to integrate with Stripe.

Enabling Stripe

To enable Stripe as an available payment gateway on your network, go to Ultimate Multisite > Settings > Payments and tick the toggle next to Stripe or Stripe Checkout on the Active Payment Gateways section.

Enabling Stripe in active payment gateways

Stripe vs Stripe Checkout:

Stripe: This method will show a space to insert the credit card number during the checkout.

Stripe inline credit card field during checkout

Stripe Checkout: This method will redirect the customer to a Stripe Checkout page during the checkout.

Stripe Checkout redirect page during checkout

Getting your Stripe API keys

Once Stripe is enabled as a payment gateway, you will need to populate the fields for Stripe Publishable Key and Stripe Secret Key . You can get this by logging in to your Stripe account.

Note: you can activate Sandbox mode to test if the payment method is working.

Stripe API key fields and sandbox mode toggle

On your Stripe dashboard, click Developers on the top-right corner, and then API Keys in the left menu.

Stripe dashboard Developers section with API Keys

You can either use Test Data (to test if the integration is working on your production site) or not. To change this, twitch the Viewing test data toggle.

Stripe Viewing test data toggle

Copy the value from the Publishable key and Secret key , from the Token column and paste it on Ultimate Multisite Stripe Gateway fields. Then click to Save Changes.

Stripe publishable and secret key values

Pasting Stripe keys in Ultimate Multisite settings

Setting up Stripe Webhook

Stripe sends webhook events that notify Ultimate Multisite any time an event happens on your stripe account.

Click Developers and then choose the Webhooks item in the left menu. Then on the right hand side click Add endpoint .

Stripe Webhooks page with Add endpoint button

You will need an Endpoint URL . Ultimate Multisite automatically generates the endpoint URL which you can find right below the Webhook Listener URL field in Ultimate Multisite Stripe Gateway section_._

Webhook Listener URL field in Stripe gateway settings

Copy the endpoint URL and paste it on Stripe Endpoint URL field.

Pasting endpoint URL in Stripe webhook setup

Next is to select an Event . Under this option, you just simply need to check the Select all events box and click to Add events. After that click Add Endpoint to save the changes.

Selecting all events and adding the Stripe endpoint

That’s it, your Stripe payment integration is complete!