Connect to Ninja Van

This is the setup guidelines on how to Connect your OpenCart Website to Ninja Van. What you need:

Connect OpenCart Website to Ninja Van

Do take note that the integration setup may take around 1-3 working days to get the Authorization Approval before you are able to use any of the integration features. You will be notified in your email and WhatsApp by your Ninja Van Sales Representative or Account Manager. 

Our Integration Audit will comprise 2 API audit before we grant the access in Production Environment

Request OpenCart Integration Authorization Approval


The authorization will take usually around 1-3 working days

Note: the period may differ based on the number of authorization requests we received daily

We'll inform you through email once your account is ready to use the integration

You will get this email to your registered email address same as the login email on Ninjavan Dashboard.


Extension Plugin Installation

You can find and download our Extension Plugin through the link here. You can also find it in OpenCart Marketplace as we have already published it. You can refer to the Installation Guideline for each Version Respectively once you have installed the Extension Plugin

It's free and supports for all OpenCart Versions:

You can refer the Installation Guideline for each Version Respectively once you have installed the Extension Plugin

OpenCart 1.x

OpenCart 2.x

OpenCart 3.x

Production Account Setup

Once you have been granted the Authorization Access in Production Environment, kindly login to both your Website Admin Page and your Ninja Van Pro Account Dashboard (URL: https://dashboard.ninjavan.co/login-v2)

1. Go back to Ninja Van modules in your Website Admin Page

2. In the dashboard, click “Setting”

3. Login to your Ninja Van Production Pro Account Dashboard,

4. Go to Settings > IT Settings

5. Copy the Client ID and Client Key  

6. Paste the API keys

7. Click  the “Generate” button to generate a token 

8. You should see the success message. 

9. Go back to Ninja Van modules

10. In the dashboard, click "Address Book"

11. Click “add” to add a new address


12. Fill in the address form and click “Save”

13. You can add more than 1 address as your Pickup Location 


Set CronJob for Auto Token Generation

This setting was required in order to auto generating the Access Token. Kindly refer below for the guidelines

1. Go to Ninja Van modules

2. In the dashboard, click “Setting”

3. Go to the “Cronjob” tab

4. If cronjob token is not generated, 

5. Go to the “Cronjob” tab again,

Webhooks & Order Fulfillment

You can synchronize your Website's Order Status to Ninja Van's Order Status by setting up Webhooks in your Ninja Van Account. This will allow you to get Ninja Van's Parcel Tracking Status update in real-time, but also update your Website Order by mapping the order status. For example, if the Ninja Van order is completed, you can set the Website order status to completed also.

1. Login to your Ninja Van Production Pro Account Dashboard 

2.  Go to Settings > IT Settings

3. Scroll down to the Webhooks section

- Click “Add” to add a new webhook 

4. Login to your Website Admin Page

5. In the dashboard, click “Setting”

6. Click on the “Order fulfillment” tab

7. Copy the webhook URL

8. Go back to your Ninja Dashboard, 

9. Repeat this by clicking “Add another” to add other events with the same version and URL Endpoint

10. These are the suggested Events to add:

11. You can add all events available in the event field as well

12. Go back to your Website Admin Page

13. For each event, you can select an order status to update when receiving a Webhook, then click “Save”. You can select “No update” if you don’t want to update the Website order status.

14. You are suggested to map as follows:

Ninja Van Event = OpenCart Order Status

15. Go back to Ninja Van Module's Setting

16. Go to "Status"

17. Select "Enabled" for Status

Email Notifications

You can set up a customized email notification to be sent to your customers. This email notification can be mapped also to any Ninja Van Status Triggered to send automatic emails

1. Go back to your OpenCart store

2. For each of the event

3. Add email templates

4. Go to Ninja Van modules

5. In the dashboard, click “Email Template”

Set Ninja Van COD Charge

You can set up a different additional charge for Cash-on-Delivery Orders based on the customer's total checkout amount. Kindly refer the guidelines below:

1. Ninja van COD charge 

2. Go to Ninja Van modules

3. In the dashboard, click “Setting” 

4. Go to the “COD Charge” tab

5. COD Setup:


6. You can go to your storefront to check if it is working. 

Default Settings

Here are some of the default settings that you can set to the extensions. You can find this setting in your Website Admin Dashboard > Ninja Van Module > Setting > Setting

Pickup Timeslot

Autofill Product to Delivery Instructions

Autofill order ID to delivery instructions

Requested Tracking Number as Order ID

Requested Tracking Number Prefix

Autofill Minimum Insured Value

Hide Shipper Detail (Waybill)

Status

I'm ready to start my tutorial!

You can set a tutorial session with Ninja Van Team with you require on-hand guidance