Dokan Mobile App

Dokan Multi Vendor Documentation

Dokan mobile app is a great feature that helps your customers buy their products using their smartphone app rather than logging onto your multi-vendor site using the web browser.

Please note that Dokan Mobile APP works only with the Dokan Paid Version

How To Setup the Mobile App?

First off, you will need to purchase the Dokan Pro, set up your store, and then you need to purchase the Dokan Mobile App.

After the purchase, you will see a new section on the My Account page of your dashboard called Mobile App. There you will get a form with some information you need to fill up. Once you fill-up the form and submit, our mobile app team will contact you for further assistance.

Installing the Dokan Mobile App Plugin

As an admin, you will have to log onto your WP Admin Dashboard > Plugins > Add New > Upload the Dokan Mobile app plugin like any other WordPress plugin.

Configuring the Dokan Mobile App Plugin

Next up, you will have to configure the plugin so that your Dokan multivendor website becomes usable in conjunction with the mobile app.

Follow these Steps

Make sure that you have the following accounts:

  • Braintree Account
  • PayPal Account

Opening a Braintree Account

Now, you will have to integrate your PayPal account with Braintree account.

You can either create a Production (live) account or can create a sandbox account on Braintree. The latter is only used to test the payment process while the former is used to pay in a live environment.

Here is how you can create a Sandbox account on Braintree.

Go to this link and create your free account on Braintree. Select the “Sign Up” option.

This image shows the sign up option

Next, you will have to fill out the following form:

Sign up to sandbox

Hit the “Try the sandbox” button. After that you will get a success message which will tell you to check your Gmail inbox to activate and complete the online signup process:

Braintree account Dokan Mobile App

Here is the email:

This image shows the Braintree account information

Click on the arrow marked link to complete the user information form:

This image show how to Create a Sandbox account

Click the login button to finish completing the signup form. Now you will be taken to the following panel:

Panel Dokan Mobile App

Now, use this link to login to your newly created Braintree account.

Sandbox log in Dokan Mobile App

Once you login to your Braintree account you will get three Sandbox keys – one is Merchant ID, another is Public Key and the other is Private Key.

Sandbox Keys Dokan Mobile App

You will need these three keys to connect Braintree with your Dokan Multivendor website.

Go to the WP Admin Dashboard > Dokan > Mobile App > Settings (Tab) > Scroll down to the Braintree Credential.

This image shows how to log in to braintree account on Dokan Mobile App

Save the changes.

Connect PayPal Account to Braintree Account

Now, its time to connect your PayPal account to the Braintree account:

If you don’t already have a PayPal sandbox test account for testing your Braintree integration, create a new one by following these steps:

  1. Create a PayPal business sandbox account
    • Log into the PayPal Developer Dashboard
    • Navigate to Sandbox > Accounts
    • Click Create Account
    • Select the same Country as your Braintree sandbox account
    • Select the account type as Business
  2. Go to the Create New App page
    • Create an app to get sandbox API credentials
    • Select the same sandbox developer account as the test account created in step 1
  3. Note the following Sandbox API Credentials for the new app you created:
    • Email address associated with this app
    • Client ID
    • Secret

Once you have those PayPal sandbox API credentials, enter them in your Braintree sandbox:

  1. Log into your Braintree sandbox Control Panel
  2. Navigate to Settings > Processing
This is a screenshot of Sandbox dashboard

3. Now, navigate to the Payment Methods > PayPal > Click Link Sandbox

This image shows where to click to enable PayPal

4. Enter the Email addressClient ID, and Client Secret for your PayPal sandbox test account

This image shows the PayPal sandbox credential options

Click Link PayPal Sandbox button and you are done with connecting your PayPal Sandbox account to the Braintree Sandbox account.