onpay
No security coverage
OnPay
Integrate OnPay payment gateway with your Drupal site.
OnPay is a Scandinavian payment service provider offering competitive rates and a wide range of payment methods. This module provides seamless integration with OnPay for Drupal Commerce stores.
Features
- Multiple payment methods — Accept payments via credit/debit cards, MobilePay, ViaBill, Anyday, Vipps, Swish, Google Pay, Apple Pay and PayPal
- Secure offsite payments — Customers complete payment on OnPay's PCI-DSS compliant payment window
- Full payment lifecycle — Authorization, capture, void, and refund support
- Partial refunds — Process partial refunds directly from the Drupal admin
- Auto-capture or manual — Choose to capture payments immediately or authorize first
- Custom payment window designs — Use designs configured in your OnPay dashboard
- Multi-language support — Payment window available in 11 languages including English, Danish, Swedish, Norwegian, German, and more
- Test mode — Safely test your integration before going live
Sub-modules
Commerce OnPay — Provides OnPay as a payment gateway for Drupal Commerce with full support for the offsite redirect payment flow.
Requirements
- Drupal 10.3+ or Drupal 11
- PHP 8.2+
- Drupal Commerce 3.x (for Commerce integration)
- An OnPay merchant account
Getting Started
Install via Composer: composer require drupal/onpay
Enable the module and Commerce OnPay sub-module
Add a new payment gateway at Commerce → Configuration → Payment gateways
Enter your Gateway ID, Window Secret, and API Key from your OnPay dashboard