Payment

You can add quite a few payment options to receive payments from your customers with Dokan Cloud. You will find all the payment options when you navigate to Settings→ Payment. 

A screenshot to payment settings

Note: You will only see the payment methods supported according to your region. 

From there you can enable Test Gateway and Cash On Delivery payment methods to receive payments. 

In order to use the test payment gateway, you have to mark the customer as a “Test User”.

This is a screenshot of marking customer as test user

How to Enable Stripe Payment Gateway

To enable the Stripe payment gateway, click on the Connect button beside the Stripe payment gateway. 

You will first see the Payment Methods page where all the payment methods available for Stripe-

this is a screenshot of all the payment methods

In order to connect Stripe, you need to add your ids from the the Stripe Settings page-

Add the redirect URL to your Stripe Account. In your Stripe Account go to Settings–> Connect –> Onboarding Options–> oAuth. There add the redirect URL by clicking on the ADD URL button-

This is a screenshot of adding URL

Then you need to add-

  • Publishable Key
  • Secret Key
  • Client ID
This is a screenshot of stripe settings page

To find the keys, go to Developers–> API Keys from your Stripe account-

This is a screenshot of API Keys

Now, add the keys to your Dokan Standalone dashboard-

This is a screenshot of adding ids for stripe

Also, you need to enable the payment methods from the Payment Methods page-

This is a screenshot of enable payment methods

Click on the Save Changes button to finish. 

Then customers can pay using the Stripe payment gateway-

A screenshot to stripe payment gateway

That’s it. 

You can read this documentation to learn how to obtain the necessary Keys and ID’s of stripe.

You can also set up the PayPal payment method as well.

To get the PayPal secret key and Client ID, just log in to your PayPal account and copy the keys-

This is a screenshot of PayPal API credentials

Read this documentation to get the secret key and client ID for PayPal.

After adding all the information, Click on the Save Changes button to finish. 

Now, customers can pay using PayPal-

This is a screenshot of paypal added to checkout page

After adding all the information, Click on the Save Changes button to finish.