How to integrate Dryfta with Square payment gateway?

Share this article:
Email this to someone
Share on Facebook
0Tweet about this on Twitter
Share on LinkedIn

To integrate Dryfta with Square payment gateway, please follow the steps below:


Step 1: Go to and login with your Square credentials

Step 2: Click on “View Details” button.


Step 3: Copy the “Personal Access Token” and “Application ID” (Please ensure that Production Settings is enabled in the bottom left corner) and Paste them in “Square Live Access Token” and “Square Application ID” fields respectively under your Dryfta payment settings (Tickets & Fees > Payment Setup) for Live payments.


Step 4: Click on Locations in your Square Dashboard (you can find it in the left sidebar menu).


Step 5: Copy the “Location ID” and paste it in the “Square Location ID” field in your Dryfta payment settings for Live payments.


Step 6: Enable Square in your Dryfta payment settings. Click Save.



Test payments

If you wish to make test payments without using test cards, enable Sandbox Settings from the bottom left corner and follow the steps above. Do not forget to enable “Test mode” in your Dryfta payment settings.


You can use following test cards to make payments in test mode.

Test cards

BrandNumberCVVVerification Code
Visa4111 1111 1111 1111111
Visa EU4310 0000 0020 1019111123456
MasterCard5105 1051 0510 5100111
MasterCard EU5500 0000 0020 1016111123456
Discover6011 0000 0000 0004111
Discover EU6011 0000 0020 1016111123456
Diners Club3000 0000 0000 04111
JCB3569 9900 1009 5841111
American Express3400 000000 000091111
American Express EU3700 000002 010141111123456
China UnionPay6222 9888 1234 0000123


  • You can set the card expiration date to any future month and year.

  • Payments in USD (United States), CAD (Canada), or GBP (United Kingdom) also require a valid postal code.

  • When testing the SCA flow with one of the European Union test cards, the Verification Code simulates the SMS verification code sent to the buyer mobile phone during an actual transaction.