🔧 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:
- Navigate to your WordPress Admin Dashboard for Site A.
- Go to Plugins > Add New.
- Click Upload Plugin.
- Choose the
woocommerce-rest-a.zip
file (zip thewoocommerce-rest-a
folder). - Click Install Now.
- After installation, click Activate Plugin.
B. Low Risk Store (Site B) Installation:
- Navigate to your WordPress Admin Dashboard for Site B.
- Go to Plugins > Add New.
- Click Upload Plugin.
- Choose the
woocommerce-rest-b.zip
file (zip thewoocommerce-rest-b
folder). - Click Install Now.
- After installation, click Activate Plugin.
⚙️ 2. Configuring the Plugins
A. High Risk Store (Site A) Configuration:
- Go to WooCommerce > Settings > Payments.
- Find SecurePay Bridge – High Risk Site and click Manage.
- Enable the payment gateway.
- Title: Set a customer-facing title (e.g., “Credit Card”).
- Description: Description under the title (e.g., “Pay securely via our partner”).
- Low Risk Shop URL: Enter the full URL of Site B (e.g.,
https://your-low-risk-store.com
). - Click Save changes.
B. Low Risk Store (Site B) Configuration:
- Go to WooCommerce > SecurePay Bridge.
- License Section:
- Enter your License Key and Token.
- Click Check License Now (should return “Valid”).
- Click Save Settings.
- 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.
- 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}
- Enter custom path to Site A’s thank-you page (e.g.,
- Click Save Settings.
🧪 3. Testing the Integration
- On Site A, place a test order using the SecurePay Bridge method.
- You should be redirected to Site B’s checkout with order data pre-filled.
- Complete payment using Site B’s gateway.
- You’ll be redirected back to Site A’s thank-you page.
- Verify that Site A’s order status is updated accordingly.
- 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.