Dokan Mobile App

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 the Admin will Setup the Mobile App?

First off, you will need to purchase the Dokan Pro and you will get the Dokan Mobile App plugin along with the paid plugin.

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.

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:

Braintree

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

Creating Sandbox account Dokan Mobile App

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.

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
Dokan Mobile App

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

Processing

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

Sandbox

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