Help Docs Software LearnDash LearnDash MemberDash LearnDash MemberDash Billing Payments Stripe Payment Gateway

Stripe Payment Gateway

Connecting Stripe

Connecting Stripe to your MemberDash site allows you to securely collect membership payments and manage subscriptions. This guide walks you through the Stripe integration process, including enabling test mode, adding webhooks, and understanding common questions.

Connecting Stripe to Your Website

  1. In your WordPress dashboard, go to MemberDash > Settings > Payment.
  2. Scroll down and click Stripe Payment Gateway to open the Stripe settings panel.
  3. Click Connect Stripe and follow the on-screen prompts to log in to your Stripe account.
    • If you don’t have a Stripe account yet, click here to create one.
    • If you have multiple Stripe accounts, you’ll be asked to select the one you want to connect to this website.
  4. Once connected, you’ll be redirected back to your site, and the button will now display Disconnect Stripe.

Optional: Sandbox Mode for Testing

If you’d like to test transactions:

  • Select Sandbox Mode from the Mode dropdown.
  • Run test transactions to ensure everything is working as expected.
  • When you’re ready to go live, return to this page and select Live Site from the Mode dropdown.

Adding the Webhook in Stripe

After connecting Stripe, you’ll need to set up a webhook to allow MemberDash and Stripe to communicate about payment events.

Steps to Add the Webhook:

  1. In MemberDash, copy the Webhook URL (located just above the Disconnect Stripe button).
  2. Log in to your Stripe Dashboard and go to Developers > Webhooks.
  3. Click Add an Endpoint.
  4. In the Endpoint URL field, paste the webhook you copied.
  5. Click Select Events, then either:
    • Choose Select All Events
    • Or select these specific events:
      • checkout.session.completed
      • invoice.payment_succeeded
      • customer.subscription.deleted
      • customer.subscription.updated
      • invoice.payment_failed
  6. Click Add Events.
  7. Scroll down and click Add Endpoint to save.

Conclusion

Integrating Stripe with MemberDash is a streamlined process that supports both live and test environments. By properly setting up the webhook, you ensure communication between Stripe and your site for managing payments and subscriptions. Stripe’s automatic language detection and efficient webhook handling make it a flexible, high-performance payment solution for your membership site.

FAQs

Currently not within MemberDash. The Stripe Checkout interface automatically detects the user’s browser language and displays the checkout page in the appropriate language if supported.

To change preferred languages in Google Chrome, visit chrome://settings/languages.

For more details, refer to Stripe’s official documentation on localization.

Generally no. When MemberDash receives a webhook, it pings the Stripe API to fetch the event data. If the event isn’t relevant, MemberDash skips it.

This process typically has a minimal impact on server performance for most modern hosting environments. However, if your server has very limited resources, you may want to limit the webhook to only the essential events listed above.

Was this article helpful?