Monkeys Commerce Square
No security coverage
This module integrates your Drupal site with Square to process payments securely using the Web Payments SDK. It supports credit cards, digital wallets like Apple Pay and Google Pay, ACH direct debit, and delayed capture for shipments.
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/webhookInstallation
composer require drupal/mkc_payment_square drush en mkc_payment_square -y
Requirements
- Drupal 11.3+ or 12, PHP 8.2+
- MonkeysCommerce with mkc_payment enabled
Built with ❤️ by MonkeysCloud — empowering next-generation digital experiences.