Square Payment Gateway for Dokan NEW

1.INTRODUCTION #

Integrate Square Payment Gateway with Dokan Multivendor Plugin which splits payment between admin and vendor and gives each other dues separately. Also, allow the vendor to connect his/her Square account by clicking on Authorize.

2.REQUIREMENTS #

3.FEATURES #

  • Admin and Vendor can collect their payment dues separately through Square.
  • Vendor should have an account on Square.
  • Vendor can get his location through Authorized account through Square.
  • Admin can get Square payment data from his account and update it in WordPress.

4.SETTINGS AND FUNCTIONALITY #

⚠ IMPORTANT

Multiparty transaction support is limited to
1 additional recipient.
CAD, GBP, and USD transactions.

PLUGIN SETTINGS

  • Go to plugin settings from your WordPress Dashboard.
  • Go to WooCommerce → Settings → Payments Tab → Square Gateway.
  • Enable SquareUp, enter title and description.

 

 

  • Go to Square Login https://squareup.com/login and login to your Square account.
  • Enter square account login credentials.
  • Click sign in.

 

 

  • Go to your Square developer dashboard: https://developer.squareup.com/apps.
  • Open or create an application for API keys.

 

 

  • Click enable production for square checkbox if you want to set up a live, fields for application id, access token, and location id will appear.
  • You can get following data from Square account.
    • Application ID.
    • Application secret.
    • Access token.
    • Location ID.

 

 

  • Copy these credentials from any app in your Square developer dashboard and paste in the fields in the settings tab and click save changes.

 

 

  • Copy redirect URL and paste it in Redirect URL field in the Square account.

 

 

SQUARE DASHBOARD

  • Click enable sandbox for square checkbox if you want to set up a sandbox, fields for Sandbox application id, Sandbox access token, and Sandbox location id will appear.
  • You can get following data from Square account.
    • Application ID.
    • Application secret.
    • Access token.
    • Location ID.
  • Copy these credentials from any app in your Square developer dashboard and paste in the fields in the settings tab and click save changes.

 

 

  • Copy redirect URL and paste it in Redirect URL field in the Square account.

 

SQUARE ACCOUNT VIEW

https://developer.squareup.com/apps

 

 

VENDOR SETTINGS / AUTHORIZATION

 

  • Login the Vendor profile from WordPress.
  • Go to Vendor Dashboard → Settings.

 

 

  • Now vendor can connect to his/her Square gateway account by pressing Authorize.
  • Click on Authorize.
  • Note: If you are authorizing through sandbox then sandbox test account (https://squareupsandbox.com/dashboard/) must be opened.
  • Note: Admin and Vendor should have the same currency.

 

 

GET PERMISSIONS FROM SQUARE

  • Click Allow to authorize permissions for the functionalities that plugin has to retrieve from the square account.

 

CHECK OUT FROM FRONT-END

 

SQUARE DASHBOARD

 

TRANSACTION IN VENDOR’S SQUARE

Help Guide Powered by Documentor
Suggest Edit

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top