Konnektive CRM
Submit Ticket
  • Konnektive CRM
    • Getting Started!
    • CRM Dashboard
    • Customer Service
      • Customer Service Tutorial
      • Locate a Customer Record
      • Continuity Purchase Profile
      • Refund/Void a Transaction
      • Cancel an Order
      • Cancel or Pause a Subscription
      • Quality Assurance
      • C/S Fulfillment Actions
      • Resend emails to customers
      • Rerun a Declined New Sale
      • Merge Existing Customers
    • CRM Setup
      • Product Setup
        • Product Creation
        • Product Variations
          • Variant Bundles
      • Campaign Setup
        • Creating a Campaign
        • Campaign Categories
        • Campaign Types
        • Adding a Product to a Campaign
          • Common Offer Setups
          • Stagger Fulfillments
          • Stagger Payments
        • Landing Page Setup (Form-Code)
          • Adding Extra Products To Checkout Page (Upsells, Hidden Fees, Free Gifts, Order Bumps)
          • Additional Upsell Pages (Form-Code)
          • Configure Google Analytics
          • Form Code Integration
          • Multiple Product Lander
          • Performing Callbacks after Form Submits (For Dev)
          • Prepaid, Debit Card & Mastercard Redirect (For Devs)
          • Shopping Cart Lander
          • Single Product Lander
          • Upsell Selection on an Upsell Page (For Devs)
          • Wordpress Plugin Setup
            • Using WooCommerce Catalog with Konnektive Checkout Page
        • Auto-Responder Setup
          • Autoresponder Date Formats
        • Shipping Profiles
        • Campaign Coupons
        • Custom Fields
        • eSignature
          • Adding eSignature to Form-Code
        • Adding C.O.D. to Campaigns
        • Taxes
      • Call Center Setup
        • Adding and Editing Call Centers
        • Adding Call Center Agents
        • Setting Call Center Commissions
        • Batch Update Call Center Source Values
        • Cancellation Reasons, Refund Reasons, and Call Dispositions
      • Affiliate Setup
        • Adding and Editing Affiliates
        • Affiliate Tracking Link/String
        • Affiliate Pixels
          • Testing and Troubleshooting CPA Pixels
          • Testing CPC Pixels
        • Affiliate Commissions
        • Setting up an Affiliate User
        • Batch Update Affiliate Source Values
        • General External Affiliate Software/Network Setup
        • Facebook Pixel Setup
    • Fulfillment
      • Add and Editing Fulfillment House
      • Bundle Fulfillment
      • COD Fulfillment
      • Edit Fulfillment Items
      • Fulfillment Batch Update
      • Fulfillment Inventory
      • Fulfillment Status Types
      • Fulfillment Summary Report
      • Shipping Validation
      • Testing Fulfillment through Order Entry
      • Upload Returned Orders
      • Upload Tracking Numbers
      • Cash on Delivery setup
        • C.O.D. Order Entry Option
    • Gateway Setup
      • Gateway List
      • Adding a Gateway
        • Testing Your Gateway Through Order Entry
      • Gateway Integrations
        • accept.blue
        • Acquired
          • Acquired 3DS
          • Acquired V2
        • Adyen
        • Adyen V2
          • Klarna on Adyen V2
          • PayByBank on Adyen V2
          • Afterpay on Adyen V2
        • Affirm
        • Afterpay
        • Amazon Pay API Integration
          • Form Code: Login and Pay with Amazon
        • Apple Pay
        • Authorize.net
        • Bank of America
        • BitPay
        • Braintree
        • Cardinity
        • Cardstream
          • Cardstream - Alternate Payments
        • Celerispay
        • Checkout.com
          • Checkout.com - Alternate Payments
        • CentroBill
        • Corefy
        • Easytransac
        • eMerchantPay V3
          • eMerchantPay - Alternate Payments
        • Everyware
        • Fat Zebra
        • FibonatixV2
        • FlexFactor
        • Gala Technology
          • Gala Technology - Alternate Payments
        • Google Pay API Integration
        • HiPay 3DS
        • Innova
        • iyzico
        • Klarna
        • MARKETFLOW
        • Maverick
        • Merchant Warrior
        • MIDs
        • MojoPay
        • Mollie
        • Moonlight Payments
        • MuchBetter
        • MyCPO
        • NMI
          • NMI - useCustomerVault Configuration
        • NomuPay
          • NomuPay - Alternate Payments
          • Klarna on NomuPay
        • OpenPath
        • PagBrasil
        • Pathly
        • Pay.com
        • PAY.ON
        • Payex-GreenMoney
        • PayGate
        • Paynetworx
        • PayPal Commerce Checkout
          • PayPal Commerce Checkout (Direct API)
          • PayPal Commerce Checkout (Legacy)
          • PayPal Commerce Checkout (SDK)
          • PayPal Seamless Checkout (Form code)
          • PayPal Fastlane
        • Paysafe V2
        • Paystrax
        • PayXpert 3DS V2
        • Pixxles
        • Poynt
        • Priority Payments
        • Quaife
        • Quantum
        • QuickPay
        • Radom
        • RocketGate
        • SafeCharge
        • Sezzle
        • Skrill
        • Solid
        • Splitit
        • Square Payments
          • Square Payments V2
        • Stripe
          • Stripe - Alternate Payments
          • Klarna on Stripe
        • SurePay
        • TruCommerce
        • Trust Payments
        • TRX
        • UrPay
        • Vantiv
        • WAAVE
        • WEBPAY
        • WhiteLabel (WL) Payments
        • WithReach
        • WorldLine (Bambora)
        • Worldline V2
          • Worldline V2 - Alternate Payments
        • Worldnet
        • Worldpay
      • Advanced Transaction Routing Interface (ATRI)
        • Algorithms
        • Cascade Profiles
        • Settings and Notifications
      • Recycle Billing
      • Standard BIN Mapping
      • PrePaid BIN Mapping
      • Decline Message Mapping
      • Dynamic Descriptors
      • RDR
      • Ethoca Refunds
      • Staggered Rebills Feature
      • Basic 3DS Instructions
      • dLocal Properties
      • Zero dollar card verification
    • Reports
      • Affiliate Report
      • Cancellation Report
      • Chargeback Details Report
      • Continuity Report
      • Customer Service Report
      • Fulfillment Details
      • Key Performance Indicators - KPIs
      • Order Details
      • Order Summary
      • Projected Billing Report
      • Reserve Report
      • Retention Report
      • Transaction Details Report
      • Transaction Summary Report
      • UTM Filters
      • Customer Details Report
    • Admin Setup
      • Plugins
        • Accounting
          • QuickBooks Online Plugin
        • Affiliate Systems
          • Everflow Integration
            • Everflow
          • Trackfiliates
            • CheckoutChamp
        • Analytics and Reporting
          • Wicked Reports
        • Authentication
          • PAAY Plugin
            • Authenticating with PAAY 3DS on Landers
          • PAAY 3RI
        • Chargeback Management
          • ChargebackHelp
          • Fraud Deflect
          • Ethoca
          • Midigator
          • Optimal Alerts
        • Data Sources
          • ClickBank
          • FluidPay Account Updater
          • Gorgias
          • HubSpot
          • Re:amaze
          • ShipEngine
          • Smarty
          • Zapier
          • Zendesk
        • Debt Collection
        • Email Service Providers
          • Active Campaign Deep Integration
          • Constant Contact
          • ConvertKit
          • Email Service Provider General Set Up
          • Email Service Provider Plugins
          • InboxFirst
          • Infusionsoft/Keap
          • Klaviyo
          • Mailchimp
          • Maropost
          • Ontraport
          • Sendgrid
          • SendLane
          • TxtFlo
          • ClickSend (Data Shuttle)
        • Express Consent
          • Expressed Consent
          • Expressed Consent CRM Configuration
          • Expressed Consent Guidelines
        • FlexPay
          • FlexPay Plugin
        • Fraud Services
          • Fraud Manager
          • Kount Enterprise
          • Device Data Collector Pixel (DDC Pixel)
          • IPQS
          • Sift
          • NoFraud
        • Fulfillment Houses
          • General Fulfillment House Setup
          • AliExpress
          • CJ Dropshipping
          • ShipBob
          • Shiphero
          • ShipStation
          • mintsoft
          • Fulfillment by Amazon
          • FTP Fulfillment Option
          • Save Rack
          • DesktopShipper
          • Fulfillplex
          • Amware
          • Store Pickup
        • IVR Systems
        • List Management Services
          • Red Crane Media
          • Sociallity
        • Membership Services
          • General Membership Club Plugin Setup
          • CustomClub
          • MemberMouse
          • Circle.so Webhook Guide
          • Kajabi Webhook Guid
        • Phone Switches
          • Five9 Sales Agent Call Pop
          • ViciDial
          • Ytel
        • RMA Services
        • Sales Call Tracking Services
        • Shipping Services
          • InsureShip
          • Route
        • SMS
          • SendPlex SMS Plugin
          • Twilio SMS Setup
        • SMTP Maintenance
          • SMTP Maintenance Setup
          • Sendgrid SMTP Profile
          • Maropost SMTP Profile
          • Gmail SMTP Profile
        • Tax Services
          • Interpayments
          • Avalara Tax
            • Add Avalara Tax to a Campaign
            • Add Freight Tax to Shipping
            • Add Tax Code to Products
            • Enabling and Setting Up the Avalara Tax Plugin
            • Order Entry
          • Tax Jar
            • Add Freight Tax Code to Shipping
            • Add Tax Code to Products
            • Add TaxJar to Campaigns
            • Tax Jar Address Verification- Customer Service/ Order Entry
            • Tax Jar Support Page
        • Telehealth
          • Beluga EHR
        • Twilio SMS Setup
          • Sendgrid SMTP Profile
          • SMTP Setup
        • Upsell
          • Integrated Upsell Program
      • Create a User
      • Create an Affiliate User
      • Create An API User
      • Import
        • Import Coupons
      • Export Webhook Profiles
        • Export Webhook Field Mapping Options
        • FTP Export Profile
        • Postback Export Profiles
      • Zones
      • Blacklist
      • Whitelist
      • Event Logs
      • Test Cards
      • Horizontal Migrations
      • Enable Automatic Cancel on Refund and Void
      • Create a Sub Account
      • Fraud Protection
      • Legacy Data Import
        • Activating Sticky.io Plug In
        • PGP Encryption Procedures
      • Leads Agents
    • Frequently Asked Questions
      • Affiliate Tracking FAQs
      • Developer FAQs
      • Fulfillment FAQs
      • General CRM FAQs
      • Order Processing FAQs
      • Reporting FAQs
    • How-to articles
      • Force Bill a Purchase
      • Submit a CRM Support Ticket
    • Click-to-Cancel
  • API Documentation
    • API Documentation
      • Recommended API Flow
      • Performing API Calls
  • Policies
    • EULA
    • Privacy Policy
    • Acceptable Use Policy
    • Billing Policy
Powered by GitBook
LogoLogo

Konnektive Links

  • CRM
  • Need more help?

No Account?

  • Schedule Sales Demo
On this page
  • How to Obtain Square Credentials
  • How to set up Square
  • Prerequisites
  • Checkout Page Changes
  • Square SQPaymentForm JS Changes
  • Alternative Implementation
  • Upsells with Square
  1. Konnektive CRM
  2. Gateway Setup
  3. Gateway Integrations

Square Payments

PreviousSplititNextSquare Payments V2

Last updated 3 months ago

Disclaimers:

Konnektive does not store any card details for merchants using Square's Payment Gateway

Square will work for One-time and recurring purchases

Square will ONLY work with landers that connect to Konnektive via Direct API. This will NOT work with Form-code landers or Order Entry.


How to Obtain Square Credentials

Step 1. Go and login to the Square Developer Dashboard using your Square credentials

Step 2. Once logged into the Developer Dashboard click New Application

Step 3. Name and Create your Application, Doing so gives you complete API access for your Square merchant account.

Step 4 Once you have created your Application, Navigate to the Credentials Section.

Step 4a: Make sure to turn Sandbox Mode OFF.

Step 5. Once you have turned off Sandbox Mode you will be able to access your Application Id

Step 6. Navigate to the Locations Section to uncover your LocationId

Navigate to the OAuth Section to obtain your ApplicationSecret and to set your Redirect URL which is https://api.konnektive.com/oauth/square/

Note: If you have any issues with these credentials, attempt to use legacy credentials and re-attempt your test.

How to set up Square

Step 1. Go to Gateways > Gateway Integrations

Step 2. Scroll down until you see Square

Step 3. Click the green Activate button to activate Square

Step 4. Enter your AccessToken and LocationId in the General Details Section of the Create Gateway screen.

Step 5. Click the green Create Gateway button to save your changes and create the gateway.

Once the ApplicationId, Application Secret, and LocationId are set, please hit the below link to authorize the CRM to access your Square account.

Prerequisites

  • Checkout page should be secure HTTPS. A non-secured call to the Square gateway will be rejected.

  • "Application Id", which you will get from your Square gateway account.

  • Once you have obtained the javascript/css files, place them in the same directory as your landing page code on your web server.

Checkout Page Changes

Step 1: Add 3 hidden input fields in the checkout form. Square gateway reference:

<input type='hidden' name='prepaidType' value='SQUARE'>

Square gateway credit card reference:

<input type='hidden' name='formCardNonce'id='formCardNonce' value=''>

It is important to note that you will need to pass the paysource=PREPAID and prepaidType=SQUARE when forming the Import Order call to Konnektive.

Square gateway credit card postal code reference:

<input type='hidden'name='formCardNoncePostalCode'id='formCardNoncePostalCode' value=''>

formCardNonce & formCardNoncePostalCode fields will be populated on successful submission of Square SQPaymentForm.

Step 2: Add the below script on your checkout page to open the SQPaymentForm.

Note: Billing postal code is mandatory.

<script>
// On checkout form submit
var cardNonce = {Set "formCardNonce" value}
var cardNoncePostalCode = {Set "formCardNoncePostalCode" value}
var billingPostalCode = {Set billing postal code value}
cardNonce = $.trim(cardNonce);
cardNoncePostalCode = $.trim(cardNoncePostalCode);
billingPostalCode = $.trim(billingPostalCode);

// Checkout form validation scripts
..
..
..
// Before return success
if(billingPostalCode == '' || cardNonce != '')
{
if($.trim(cardNoncePostalCode) != '' &&
($.trim(billingPostalCode) !=
$.trim(cardNoncePostalCode)))
{
alert('The postal code entered in the credit card form
mismatched with the billing
address. Please refresh the page and try again.')
return false;
}
// Submit the checkout form
}
else
{
var squareURL = {SQPaymentForm URL};

window.open(squareURL,'','height=500,width=500,left=100,top=100
,resizable=yes,scrollbars=no,toolbar=no,menubar=no,location=no
,directories=no, status=no');
}
</script>

Square SQPaymentForm JS Changes

Replace the square application id in "applicationId" const in the JS file.

Alternative Implementation

Upsells with Square

Add these hidden inputs to your upsell page code.

<input type='hidden' name='prepaidType' value='SQUARE'> <input type='hidden' name='formCardNonce' id='formCardNonce' value=''>

Reference:

You can download the javascript/css files for the SQPaymentForm

If you would like to have Square's SQPaymentForm embedded onto your checkout page, you will have to follow Sqaure's documentation, found and make the required changes to your lander to support this.

https://developer.squareup.com/docs/get-started
here
here
here
How to Obtain Square Credentials
How to set up Square
Prerequisites
Checkout Page Changes
Square SQPaymentForm JS Changes
Alternative Implementation
Upsells with Square