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
3. Choose Your No-code 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!