Installation Guide

đź”§ SecurePay Bridge Installation Guide

This guide provides instructions for installing and configuring the SecurePay Bridge plugins for both your High Risk (Site A) and Low Risk (Site B) WooCommerce stores.

đź“‹ Prerequisites:

  • Two WordPress installations with WooCommerce activated:
    • One designated as the “High Risk” store (Site A).
    • One designated as the “Low Risk” store (Site B).
  • PHP version 7.4 or higher.
  • WordPress version 5.5 or higher.
  • WooCommerce version 5.0 or higher.
  • A valid SecurePay Bridge license key and token.

📦 1. Installing the Plugins

A. High Risk Store (Site A) Installation:

  1. Navigate to your WordPress Admin Dashboard for Site A.
  2. Go to Plugins > Add New.
  3. Click Upload Plugin.
  4. Choose the woocommerce-rest-a.zip file (zip the woocommerce-rest-a folder).
  5. Click Install Now.
  6. After installation, click Activate Plugin.

B. Low Risk Store (Site B) Installation:

  1. Navigate to your WordPress Admin Dashboard for Site B.
  2. Go to Plugins > Add New.
  3. Click Upload Plugin.
  4. Choose the woocommerce-rest-b.zip file (zip the woocommerce-rest-b folder).
  5. Click Install Now.
  6. After installation, click Activate Plugin.

⚙️ 2. Configuring the Plugins

A. High Risk Store (Site A) Configuration:

  1. Go to WooCommerce > Settings > Payments.
  2. Find SecurePay Bridge – High Risk Site and click Manage.
  3. Enable the payment gateway.
  4. Title: Set a customer-facing title (e.g., “Credit Card”).
  5. Description: Description under the title (e.g., “Pay securely via our partner”).
  6. Low Risk Shop URL: Enter the full URL of Site B (e.g., https://your-low-risk-store.com).
  7. Click Save changes.

B. Low Risk Store (Site B) Configuration:

  1. Go to WooCommerce > SecurePay Bridge.
  2. License Section:
    • Enter your License Key and Token.
    • Click Check License Now (should return “Valid”).
    • Click Save Settings.
  3. Product Selection Logic Section:
    • Random Product (Default): Any published product is added.
    • Price Range: Match order total with defined product ranges.
    • Specific Product(s): Choose one or more products (random selection if multiple).
    • Specific Category(ies): Random product from selected categories.

    ➡️ Configure options as needed based on your choice.

  4. Redirect Path (Optional):
    • Enter custom path to Site A’s thank-you page (e.g., /order-complete).
    • Leave blank to use default WooCommerce path:

      /checkout/order-received/{order_id}/?key={order_key}
  5. Click Save Settings.

đź§Ş 3. Testing the Integration

  1. On Site A, place a test order using the SecurePay Bridge method.
  2. You should be redirected to Site B’s checkout with order data pre-filled.
  3. Complete payment using Site B’s gateway.
  4. You’ll be redirected back to Site A’s thank-you page.
  5. Verify that Site A’s order status is updated accordingly.
  6. Check that Site B’s order contains metadata:
    • external_order_id
    • hook_url
    • order_key

If you encounter any issues, please refer to the SecurePay Bridge documentation or contact support.

Shopping Cart