Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: MCP Sentinel 2.23.1 Minor update available for module mcp_sentinel (2.23.1). Release: Audit Chain 1.9.1 Minor update available for module audit_chain (1.9.1). Release: Menu Autopilot 1.4.1 Minor update available for module menu_autopilot (1.4.1). Release: GraphQL Compose Codegen 1.4.1 Minor update available for module graphql_compose_codegen (1.4.1). Release: Field Guard 1.3.1 Minor update available for module field_guard (1.3.1). Release: Webshare 2.0.1 Minor update available for module webshare (2.0.1). Release: Navigation + 2.3.10 Minor update available for module navigation_plus (2.3.10). Release: Edit + 2.3.4 Minor update available for module edit_plus (2.3.4). Module Revived: Flag for Someone Else 1.0.2 Module flag_fse updated after 9 months of inactivity (1.0.2). Security Coverage: smart 404 Module smart_404 now has official Drupal security advisory coverage.

OnPay

No security coverage
View on drupal.org

This module integrates the OnPay payment gateway with Drupal Commerce, allowing your site to accept a variety of payment methods securely through OnPay's offsite payment window. It supports the full payment lifecycle, including authorizations, captures, and refunds, with options for auto-capture and custom payment window designs.

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

Links

OnPay website
OnPay technical documentation

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Mar 2026
Latest release
5 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.x-dev Dev 10–11 Mar 23, 2026