WP Rentals v2.7+ supports Stripe SCA (Strong Customer Authentication), required in Europe since WpRentals version 2.7 (2019)
Can You Use Stripe?
-
Supported Currencies: Check here
-
Available Countries: Check here
Step 1: Set Up the Stripe Processor Page
- Go to Pages > Add New
- Use the Stripe Merchant Processor template (this is already added if you imported demo content)
- ✅ Only one page should use this template. Delete duplicates, even from the Trash.
- Copy the URL of this page — you’ll need it for the next steps.
Step 2: Choose Your Stripe Environment
- Use SANDBOX for testing or LIVE for real payments.
- API keys will be different depending on the mode.
Steps to Create Stripe Keys:
Step 1: Create and Activate Your Stripe Account
- Go to Stripe to create and activate your account.
- For LIVE API, complete the onboarding process as described here:
Activate Stripe Account. - The SANDBOX API Key is automatically provided.
Step 2: Define Webhook
- Go to Developers > Webhooks.
- Click + Add endpoint.
- Add the Stripe URL page URL (with the stripe processor template) from your site to track all transactions.
- Select Receive all events to get notifications for all events.
- Click Add endpoint.
- Copy the Signing Secret Key and paste it into your website.
- Click receive all events to get all events selected
- Click the Add endpoint button
- Copy Signing secret key in your site to Theme Options -> Add Listing Page & payment Settings -> Stripe Settings -> Stripe Webhook Secret Key
Step 3: Copy API Credentials
- Go to Developers > API keys in your Stripe dashboard.
- Copy both the Publishable Key and Secret Key.
Step 4: Enter API Credentials in WP Rentals
- Go to Theme Options -> Add Listing Page & payment Settings -> Stripe Settings
- Paste the copied keys into the respective fields (Stripe Publishable Key and Stripe Secret Key)
STRIPE and Membership-based submission enabled.
Create Your Product (Membership Package) in Stripe:
-
Go to Stripe > Product Catalog
-
Click + Add Product
-
Match the WP Rentals package:
- Product name = Membership name
- Price
- Billing interval (monthly, yearly, etc.)
- Currency
Add price information. Set the Currency, Price per package and billing interval to match the package settings from theme.
After creating the Stripe product, the Stripe Product ID will be generated automatically. Copy the Stripe Product ID
In WP Rentals > Edit Membership, paste the Stripe Product ID for that package.
How to Cancel a Subscription
-
A “Cancel Stripe Subscription” button automatically appears for users who paid via Stripe.
Stripe Fatal error
Error Message:
Fatal error: Uncaught exception ‘Exception’ with message ‘Stripe needs the Multibyte String PHP extension.’ in ...
Cause:
The error occurs because Stripe requires the Multibyte String PHP extension to function properly.
Solution:
- Contact your hosting provider and request that they enable the Multibyte String PHP extension on your server.
PHP Manual – Multibyte String - Without this PHP module, Stripe will not work correctly.