This project is not covered by Drupal’s security advisory policy.

MonkeysCommerce Payment: Square

Square payment integration with the Web Payments SDK. PCI-compliant on-site card tokenization, Apple Pay, Google Pay, ACH direct debit, and delayed capture support.

This is an official payment gateway for MonkeysCommerce. It implements the PaymentGatewayInterface plugin system — providing createPayment, capture, refund, and handleWebhook methods.

Features

  • Web Payments SDK: Tokenize credit cards securely in the browser — card data never touches your servers (PCI-DSS compliant).
  • Digital Wallets: Built-in support for Apple Pay and Google Pay buttons.
  • ACH Direct Debit: Accept US bank account payments.
  • Delayed Capture: Authorize at checkout, capture when you ship.
  • Omnichannel: Seamlessly integrates with Square's physical POS ecosystem via the mkc_pos module.
  • Lightweight: Built directly on Guzzle HTTP — no bulky Square SDK dependency.

Configuration

Navigate to Administration → Commerce → Payment settings → Configure and enter:

  • Application ID — Square app ID (for Web SDK)
  • Access Token — Square API access token
  • Location ID — Square business location
  • Mode — Sandbox or Production

Webhook Endpoint

POST /payment/square/webhook

Installation

composer require drupal/mkc_payment_square
drush en mkc_payment_square -y

Requirements


Built with ❤️ by MonkeysCloud — empowering next-generation digital experiences.

Project information

Releases