MovieEngine Payment Gateways
MovieEngine payment gateways setup lets you accept payments for plans and pay-per-view titles, with checkout, transactions, and subscriptions managed. Set up payment gateways in the payment settings, add the gateway keys, test checkout before going live, and manage transactions from the payment and monetization settings.
MovieEngine payment gateways setup explained
Set up MovieEngine payment gateways to accept payments for plans and pay-per-view titles. Connect your gateway in the payment settings, add its keys, and test checkout before going live, so visitors can pay for a plan or a single title through checkout.
After setup, transactions, subscriptions, and coupons are managed in the MovieEngine payment and monetization settings. Start with Monetization Overview for the available models, then follow Payment Settings for the payment configuration, and use Membership Plans and Pay Per View for the plans and titles you sell.
Stripe Integration
Cine Movie Engine Pro integrates with Stripe to provide secure online payment processing for subscriptions, movie rentals, movie purchases, and recurring membership renewals.
This guide explains how to connect Stripe to your WordPress website, configure API credentials, set up webhooks, and troubleshoot common payment issues.
1. Requirements
Before configuring Stripe, make sure you have:
- An active Stripe account.
- Access to your Stripe Dashboard.
- Cine Movie Engine Pro installed and activated.
- A WordPress website with HTTPS enabled for production.
- Stripe API credentials and webhook signing secret.
Required Stripe Credentials:
| Credential | Format | Purpose |
|---|---|---|
| Publishable Key | pk_test_… / pk_live_… | Initializes frontend checkout |
| Secret Key | sk_test_… / sk_live_… | Secure server-side Stripe API requests |
| Webhook Secret | whsec_… | Verifies Stripe webhook events |
Important: Always use credentials from the same Stripe environment.
- Test Mode: pk_test_… and sk_test_…
- Live Mode: pk_live_… and sk_live_…
Restricted API keys (rk_test_… or rk_live_…) may also be supported depending on the permissions required by the integration.
2. Obtain Stripe API Keys
Follow these steps to retrieve your Stripe credentials:
- Sign in to the Stripe Dashboard.
- Select Test Mode or Live Mode.
- Navigate to Developers → API keys.
- Copy your Publishable Key.
- Reveal and copy your Secret Key.
Keep your Secret Key private. Never expose it in frontend code, public repositories, or client-side scripts.
3. Configure Stripe in WordPress
After obtaining your Stripe API credentials, configure the payment gateway in Cine Movie Engine Pro.
Configuration Steps:
- Log in to your WordPress Admin Dashboard.
- Navigate to: Movie Engine → Settings → Payments → Payment Methods
- Set Env Mode to Test or Live.
- Enable Stripe Settings.
- Enter your Stripe credentials.
| Setting | Value |
|---|---|
| Env Mode | Test or Live |
| Stripe Settings | Enabled |
| Publishable Key | Your Stripe Publishable Key |
| Secret Key | Your Stripe Secret Key |
| Webhook Secret | Your Stripe Signing Secret |
- Click Save Changes.
The plugin masks the Secret Key after saving to help protect sensitive credentials.
4. Configure Stripe Webhooks
What Are Webhooks?
Stripe webhooks allow Stripe to notify Cine Movie Engine when payment-related events occur.
Webhooks are essential for:
- Activating subscriptions after successful payments.
- Unlocking rented or purchased movies.
- Processing recurring subscription renewals.
- Handling subscription cancellations and expirations.
- Updating membership access automatically.
4.1 Create a Webhook Endpoint
- Open the Stripe Dashboard.
- Navigate to Developers → Webhooks.
- Select the appropriate environment: Test or Live.
- Click Add Endpoint.
- Enter your website’s webhook URL.
Webhook Endpoint URL: https://yourdomain.com/wp-json/movie-engine/v1/payments/webhook
Replace yourdomain.com with your actual website domain.
4.2 Select Required Webhook Events
Cine Movie Engine requires the following four Stripe webhook events.
| Event | Purpose |
|---|---|
| checkout.session.completed | Processes completed Checkout sessions and activates subscriptions or movie access. |
| checkout.session.async_payment_succeeded | Handles delayed payments after successful completion. |
| invoice.payment_succeeded | Processes recurring subscription payments and extends membership access. |
| customer.subscription.deleted | Handles subscription cancellations or expirations and revokes subscription access. |
Select only the required events to keep webhook processing efficient.
4.3 Configure the Webhook Signing Secret
After creating your webhook endpoint:
- Open the webhook endpoint in Stripe.
- Locate the Signing Secret section.
- Click Reveal.
- Copy the secret beginning with whsec_.
- Return to WordPress. Navigate to: Movie Engine → Settings → Payments → Payment Methods
- Paste the signing secret into the Webhook Secret field and click Save Changes.
Important: Each Stripe webhook endpoint has its own signing secret. Use the correct secret for your configured endpoint and environment.
5. Test Stripe Webhooks Locally
Stripe cannot directly send webhook requests to local development domains such as: http://movieengine.local
For local development, use the official Stripe CLI.
Step 1: Install Stripe CLI
Download and install Stripe CLI (see Stripe CLI Documentation).
Step 2: Authenticate Stripe CLI
Open your terminal and execute: stripe login
Complete the authentication process.
Step 3: Forward Webhook Events
Run the following command:
stripe listen --forward-to http://movieengine.local/wp-json/movie-engine/v1/payments/webhookReplace the local domain with your development website’s domain if necessary.
Step 4: Configure the Temporary Signing Secret
Stripe CLI will display a temporary webhook signing secret:
Ready! Your webhook signing secret is whsec_xxxxxxxxxxxxxxxxxxxxCopy this secret and configure it in: Movie Engine → Settings → Payments → Payment Methods → Webhook Secret
Save your settings.
Keep Stripe CLI running while testing payments and webhook events.
6. Currency & Local Payment Methods
Cine Movie Engine supports 37+ currencies, including:
| Code | Currency |
|---|---|
| USD | US Dollar |
| EUR | Euro |
| GBP | British Pound |
| CAD | Canadian Dollar |
| AUD | Australian Dollar |
| JPY | Japanese Yen |
| MXN | Mexican Peso |
Global Currency Configuration
Navigate to: Movie Engine → Settings → Payments → Overview → Currency — Select your preferred website currency.
Membership Currency Inheritance
Membership plans automatically inherit the global currency unless a plan-specific currency override is configured.
Local Payment Methods
Stripe supports various regional payment methods, including:
| Payment Method | Region |
|---|---|
| OXXO | Mexico |
| iDEAL | Netherlands |
| Bancontact | Belgium |
| Pix | Brazil |
To enable local payment methods:
- Configure your website currency appropriately.
- Open Stripe Dashboard → Settings → Payment Methods.
- Enable eligible payment methods.
- Verify that the payment method is supported for your Stripe account and customer location.
Stripe Checkout automatically displays eligible payment methods based on Stripe configuration and payment eligibility.
7. Troubleshooting
Invalid Stripe Secret Key Format
This error occurs when the Secret Key does not match the expected format.
Common causes:
- Incorrect API key entered.
- Publishable Key entered instead of Secret Key.
- Webhook Secret entered in the Secret Key field.
- Test and Live credentials mixed.
- Extra spaces before or after the key.
Solution: Verify that your Secret Key starts with an appropriate prefix: sk_test_… / sk_live_… / rk_test_… / rk_live_… — Make sure the key matches the selected Env Mode.
Webhook Signature Verification Failed
This error indicates that Stripe webhook signature verification failed.
Common causes:
- Incorrect Webhook Signing Secret.
- Signing secret from another endpoint.
- Test and Live webhook secrets mixed.
- Incorrect webhook configuration.
Solution:
- Open Stripe Dashboard → Developers → Webhooks.
- Select your configured endpoint.
- Reveal the Signing Secret.
- Copy the correct whsec_… value.
- Update the Webhook Secret in Movie Engine settings.
- Save the configuration.
For production websites, ensure the webhook endpoint uses HTTPS.
Movie Purchases or Subscriptions Not Activating
If users complete payments but their access is not activated automatically:
- Open Stripe Dashboard → Developers → Webhooks.
- Select your webhook endpoint.
- Review recent webhook delivery attempts.
- Verify the endpoint URL.
- Confirm that all required webhook events are enabled.
- Check the webhook response status.
Successful webhook delivery should normally return: HTTP 200 OK
Cine Movie Engine also includes a fallback mechanism that verifies and activates access when the user returns to the payment success page if webhook delivery is delayed.
8. Final Configuration Checklist
Before launching Stripe in production, verify the following:
- Stripe account is configured correctly.
- Live API credentials are entered.
- WordPress Env Mode is set to Live.
- Stripe payment gateway is enabled.
- Webhook endpoint is configured correctly.
- All four required webhook events are enabled.
- Webhook Signing Secret is saved.
- Website uses HTTPS.
- Successful payments activate movie access.
- Subscription renewals update membership expiration.
- Subscription cancellations revoke access correctly.
- Production payment testing is completed.
Conclusion
Stripe integration in Cine Movie Engine Pro provides a reliable payment infrastructure for subscription-based streaming platforms and pay-per-view movie websites.
With properly configured API credentials and webhooks, website owners can automate payment processing, movie access activation, subscription renewals, and membership management directly through Stripe.
Cine Movie Engine Pro makes it easier to build and manage a professional WordPress-based movie streaming platform with integrated payment functionality.
Frequently Asked Questions
Which payment gateways does MovieEngine support?
Stripe is supported — see the Stripe Integration section in this guide for setup, credentials, webhooks, and troubleshooting. Connect Stripe in the payment settings, add its keys, and test checkout before going live.
How do I connect a payment gateway?
Connect your gateway in the payment settings, add its keys, and test checkout before going live.
Where are transactions managed?
Transactions, subscriptions, and coupons are managed in the MovieEngine payment and monetization settings.
Related guides
Tip: visit the MovieEngine website for more about the plugin.
