Print

No Code – Quick Start

Want to get Stripe Checkout running on your WordPress site without writing a single line of code?

Whether you’re just evaluating Minimal Stripe Wrapper (MSWR) or ready to go live, follow these simple steps to start accepting payments quickly using a shortcode or a Gutenberg block.

1. Install and Configure MSWR

  • Install the MSWR plugin from the WordPress plugin directory.
  • Go to MSWR Settings in your WordPress admin.
  • Paste in your Stripe API keys for both Test and Live mode.

 

πŸ‘‰ How to get your Stripe API keys

You can also set the Success and Cancelled return URLs for Stripe Checkout.

2. Set up Stripe Webhooks

To allow MSWR to receive payment confirmation from Stripe, set up webhooks in your Stripe Dashboard:

Webhook Endpoint (for both Live and Test mode):

  • https://your-site.com/wp-json/minimal-stripe-wrapper/v1/stripe-webhook

Required Stripe

  • checkout.session.completed
  • checkout.session.expired
  • payment_intent.succeeded
  • payment_intent.payment_failed
  • payment_intent.canceled

 

πŸ‘‰ How to set the Stripe webhooks

3. Choose Your No-code Payment Button

You can use either a shortcode or a block to add a payment button.

Option A: Add a Shortcode

Place the shortcode on any page or post:

[mswr_stripe_button amount="2058"]

This will:

  • Display a β€œPay with Stripe” button
  • Charge USD $20.58
  • Auto-fill the logged-in user’s email (if available)

 

πŸ‘‰ See the Shortcode Button Guide for more examples and options

πŸ‘‰ View the Parameter Reference for a full list of available attributes

Option B: Use the Gutenberg Block

Edit any page with the WordPress block editor and:

  • Search for “Minimal Stripe Button”
  • Drag it into your page
  • Set the amount, label, and other options directly in the block sidebar

 

πŸ‘‰ See the Block Editor Guide for a detailed walkthrough

By completing these steps, you’ll be able to process test or live payments and receive transaction data from Stripe β€” no code required!

Page Navigation