This powerful plugin simply allows you to redirect your customers to another WooCommerce site of your own to make the payment through any of the payment methods installed there (on the other site). So for example if you have a WooCommerce site called "WebsiteA.com" offering goods/services that is considered high risk business you will be able to redirect your customers at the last step of checkout to "WebsiteB.com" which offers goods/services that is considered low risk. By this method you will be able accept payments for any WooCommerce website without having to get approved as you will already use a preapproved WooCommerce website of your own to accept customer payments through checkout redirection.
For the purpose of illustration we will name our two example sites as follow
- "websiteA.com" this is our high risk business that we want to sell items to customers and redirect them during checkout to make the payment on another site.
- "websiteB.com" this is our low risk business already approved by payment gateways such as PayPal or Stripe. We will redirect customers during checkout here to make the payment.
- After purchasing this plugin you will get a zip file extract it once to get the plugin zip packages
- The two folders you get from the extraction contain each plugin zip file for each website you own. The plugin is two parts that you need to install carefully for each of your WooCommerce websites.
- "woocommerce-rest-a.zip" will be installed on the High Risk business site in our example WebsiteA.com
- "woocommerce-rest-b.zip" will be installed on the low risk business site in our example it is Websiteb.com
- Zip files for each site can be installed easily from your wordpress /wp-admin
- You simply click "Add New" then from the top "Upload Plugin" then choose the zip file from your device
The most tricky part is configuring this plugin correctly. After activating the plugin on both websites you should be able to access "WC Rest Options" tab. It is very important that you don't insert any trailing slash "/" in any of the following steps. All URLs must be inserted WITHOUT a trailing slash.
Website A (High Risk Business)
- For Website A high risk configuration "Checkout Redirect URL" is cart URL of website B like this "https://websiteb.com/cart"
- For Website A high risk configuration "External Hook URL" is root URL of website B like this "https://websiteb.com"
- If your URL contains "WWW" then add it with "WWW" for both.
- Open each WooCommerce product edit page of Website A and at the bottom insert the product ID of B (check step 4 of website B configuration below). Using the Standard Business Version of the plugin you can use the same product ID of B for all your products simplifying the installation process.
- If you are using the Standard Business Version you need to check the highlighted box (Sold Individually) for every product page to prevent calculation errors.
- Using the Extended Enterprise Version you don't need to check the previous box but you will have to use a unique main product ID from Website B for every single product or variation on Website A. For variable products you leave the main product ID field blank and fill in a unique main ID for every variation.
Website B (Low Risk Business)
- For Website B low risk configuration "Checkout Redirect URL" is checkout URL of website B like this "https://websiteb.com/checkout"
- For Website B low risk configuration "External Hook URL" is root URL of website A like this "https://websitea.com"
- If your URL contains "WWW" then add it with "WWW" for both
- In Website B you need to create or select a product ID to display its name for users. By hovering on the product item, the ID number will be displayed. The price and name of this item doesn't matter at all as the price will be re-calculated based on the total cart of items of website A. The main purpose of this is to control the name displayed when the customer pays on website B. This name will be visible for both the payment gateway such as (PayPal -Stripe) and the customer during the last of step of payment. It is recommended to keep this name as vague as possible like "Development Service" if you are selling an online service or "Shipment Package" if you are selling physical goods. This will protect you and your customer's privacy without breaking the rules.
- Go back to wp-admin of Website A and paste the product ID inside each product to map it with the chosen name (check steps 4 and 6 of Website A configuration). In the Extended Enterprise Version you need a unique ID mapping for every single product or variation. You can easily duplicate the product on B to get unique IDs then you map it for A. ⚠️ Important notice: When creating dummy products on Website B you will only need to set a neutral name and get the main product ID. You don't need to create any variations even if you are getting IDs to map with variations on Website A.
- For currency switcher plugins you need to have the same currency list on both Website A & Website B. Rates on B should be all X1 (no calculations) as it is already calculated on A. You must also enable the GET parameter (example.com/?currency=USD)
After doing this checkout will be redirected properly check live demo
If you want to refund orders or mark your orders as complete you should do this from Website B or the payment gateway dashboard such as (PayPal - Stripe) as the plugin will automatically change related orders status of Website A via the API.
Important Settings & Prerequisites
There are some settings you need to change to get the plugin working correctly.
- After WooCommerce update V8.5.1 referral is leaked by default. To avoid this edit your Website A theme file header.php and add this code after your <head> tag:
<meta name="referrer" content="no-referrer">
- Your Cart and Checkout pages should have English URL slug. For example /cart or /checkout
You are free to have the page content in any language you want but the URL slug need to be in English.
- Disable blocks on the Checkout page.
- Enable "Wordpress Posts Storage (Legacy) by visiting /wp-admin/admin.php?page=wc-settings&tab=advanced§ion=features
Mapping and Duplicating Products in Bulk
WP All Import is a powerful plugin that will allow you to modify your WordPress website orders, posts, products and pages in bulk. You can use this plugin to duplicate and map your products in bulk. Here are the steps
- Install WP All Import/Export plugin + WooCommerce extensions.
- Go to your Website A and export all your products to Excel sheet.
- Notice the number of lines in the exported Excel sheet.
- Export your Website B products into another Excel sheet.
- Duplicate the products in website B exported Excel sheet by copy pasting lines till you reach the required number of lines as the website A file. This requires very basic Excel skills.
- Save the file and re-import it to B.
- After successful re-import you will have a number of simple products in your website B matching the total number of all products + variations of A.
- Export website B products again to another Excel sheet.
- Copy IDs of all products of Website B (First Column).
- Insert the copied IDs into the "external_product_id" last column in the website A excel sheet obtained from step 2
- Re-import the file to Website A and by completing this step you will now have fully mapped products between your websites.
We may release updated versions from time to time. You can check how to get them at the updated versions page.