Skip to content
Monetization & Users

MovieEngine Payment Gateways

Estimated reading: 7 minutes 349 views

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:

CredentialFormatPurpose
Publishable Keypk_test_… / pk_live_…Initializes frontend checkout
Secret Keysk_test_… / sk_live_…Secure server-side Stripe API requests
Webhook Secretwhsec_…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:

  1. Sign in to the Stripe Dashboard.
  2. Select Test Mode or Live Mode.
  3. Navigate to Developers → API keys.
  4. Copy your Publishable Key.
  5. 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:

  1. Log in to your WordPress Admin Dashboard.
  2. Navigate to: Movie Engine → Settings → Payments → Payment Methods
  3. Set Env Mode to Test or Live.
  4. Enable Stripe Settings.
  5. Enter your Stripe credentials.
SettingValue
Env ModeTest or Live
Stripe SettingsEnabled
Publishable KeyYour Stripe Publishable Key
Secret KeyYour Stripe Secret Key
Webhook SecretYour Stripe Signing Secret
  1. 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

  1. Open the Stripe Dashboard.
  2. Navigate to Developers → Webhooks.
  3. Select the appropriate environment: Test or Live.
  4. Click Add Endpoint.
  5. 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.

EventPurpose
checkout.session.completedProcesses completed Checkout sessions and activates subscriptions or movie access.
checkout.session.async_payment_succeededHandles delayed payments after successful completion.
invoice.payment_succeededProcesses recurring subscription payments and extends membership access.
customer.subscription.deletedHandles 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:

  1. Open the webhook endpoint in Stripe.
  2. Locate the Signing Secret section.
  3. Click Reveal.
  4. Copy the secret beginning with whsec_.
  5. Return to WordPress. Navigate to: Movie Engine → Settings → Payments → Payment Methods
  6. 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/webhook

Replace 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_xxxxxxxxxxxxxxxxxxxx

Copy 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:

CodeCurrency
USDUS Dollar
EUREuro
GBPBritish Pound
CADCanadian Dollar
AUDAustralian Dollar
JPYJapanese Yen
MXNMexican 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 MethodRegion
OXXOMexico
iDEALNetherlands
BancontactBelgium
PixBrazil

To enable local payment methods:

  1. Configure your website currency appropriately.
  2. Open Stripe Dashboard → Settings → Payment Methods.
  3. Enable eligible payment methods.
  4. 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:

  1. Open Stripe Dashboard → Developers → Webhooks.
  2. Select your configured endpoint.
  3. Reveal the Signing Secret.
  4. Copy the correct whsec_… value.
  5. Update the Webhook Secret in Movie Engine settings.
  6. 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:

  1. Open Stripe Dashboard → Developers → Webhooks.
  2. Select your webhook endpoint.
  3. Review recent webhook delivery attempts.
  4. Verify the endpoint URL.
  5. Confirm that all required webhook events are enabled.
  6. 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.

Share this Doc

MovieEngine Payment Gateways

Or copy link

CONTENTS
Back To Top