This Knowledge Base Article covers setting up s2Member to work with Stripe. Stripe absolutely rocks! It is a developer-friendly way to accept payments online and in mobile apps. They process billions of dollars a year for thousands of companies of all sizes. It is easy to integrate and easy for customers to use.

Stripe charges no monthly fees. Their per-transaction fees are in line with PayPal and (after your first transaction, which can take up to fourteen days to process), Stripe transfers received funds to your bank account within three business days.

s2Member Pro has been integrated with Stripe for Direct Payments and also for Subscriptions (Automated Recurring Billing). To take advantage of this integration, you will need to have a Stripe Merchant Account (it is free). Once you have an account, all of the details below can be obtained from your Stripe account. If you need assistance, please check their help section.

This article is part of the s2Member User's Guide, a series of articles that cover the fundamentals of using s2Member.

Stripe Account Details

See WordPress Dashboard s2Member (Pro) Stripe Options Account Details This section is required (if you are using Stripe).

stripe-account-details-1

  • Stripe Secret API Key: You'll find this in your Stripe Merchant Account under Account Settings → API Keys.
  • Stripe Publishable API Key: You'll find this in your Stripe Merchant Account under Account Settings → API Keys.

Accept Bitcoin via Stripe

Works for Buy Now (non-recurring) transactions in US Dollars only. Other currency conversions are not supported by Stripe at this time. Turning this on requires that you enable Bitcoin transactions in your Stripe account. Click the link shown in the screenshot below in your Stripe Account Details panel to do this automatically.

stripe-account-details-bitcoin-enabler

Tip: This setting for Bitcoin is a global flag that enables Bitcoin for all Stripe Pro-Forms that offer a Buy Now item. You can also enable or disable Bitcoin in specific Stripe Pro-Forms, overriding your setting here, by adding the shortcode attribute accept="bitcoin" (to enable Bitcoin) or accept="" (to disable Bitcoin) to any Stripe Pro-Form. For further details, please see WordPress Dashboard s2Member (Pro) Stripe Pro-Forms Shortcode Attributes (Explained).

  • Stripe Image Branding: Here you can configure an image that Stripe will display above the credit card input fields. HTTPS is recommended here. The minimum size for this picture is 128px by 128px. Note: If you leave this empty an account-level default value may or may not be displayed by Stripe. It's best to configure it here.

stripe-account-details-2

  • Stripe Statement Description: This is an arbitrary string (15 characters max) to be displayed alongside your company name. The Stripe Statement Description appears on your Customer’s credit card statement. The Stripe Statement Description may not include these special characters: <, >, ",'. Note: If you leave this empty, Stripe uses an account-level default value (configured in Stripe) instead.

stripe-account-details-3

Stripe Webhook/IPN Integration

See WordPress Dashboard s2Member (Pro) Stripe Options Stripe Webhook/IPN Integration.

This section is required (if you are using Stripe).

stripe-webhook-ipn-integration

Log into your Stripe Merchant Account and navigate to Account Settings → Webhooks. Click on the Add Endpoint button.

stripe-webhook-account-settings-webhooks

Copy the Stripe Webhook URL shown on the s2Member Stripe Webhook/IPN Integration panel to the URL field on the pop-up window at Stripe. Click the Create Endpoint button and then click the Done button on the Endpoints window.

Note: If your site is currently in Test/Sandbox mode and you entered Test API Credentials in the Stripe Account Details panel, please choose the Test option when creating your Webhook endpoint at Stripe (described above). Otherwise, choose Live.