Install

Works with Drupal: ^10.3 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 233.06 KB
MD5: ed6f5cb2619740ffec23aed40d482b1c
SHA-1: c975dea9782d228bfbdc45d0548eb9cd7b5d8b09
SHA-256: 5e8b72015923b5c803cfb8adf9726c44c900a16c662525cd73a174752f6848bc
Download zip 277.24 KB
MD5: 0b7f5b0aa8a470a830c4bbc638a3b655
SHA-1: 385ed5afb568567030ef98f983a6646a0144c979
SHA-256: c9b25d4e4f92ddb7bb4390a97ded836865b8cf34ce8f3fe980b8addec2cf28ed

Release notes

This release hardens the Accept Hosted gateway: safer return and webhook handling, support for "Authorize only" webhooks, a configurable duplicate transaction window, optional API logging, and a configurable transaction invoice number.

Upgrade notes

  • Behavior change: transaction invoice number. The Accept.js and Accept Hosted gateways now send the order ID as the Authorize.net Invoice Number by default. 2.0.0 sent the order number when an order had one. A new gateway setting, Transaction Invoice Number strategy, lets you send the order number instead. If your site assigns order numbers before payment, or you rely on order numbers in Authorize.net reports, set your gateway to "Use Order Number instead of Order ID (when available)" right after updating. Webhooks for transactions started before the update are matched using the new setting.
  • New webhook events. Accept Hosted now handles Authorization Created and Capture Created. If you use "Authorize only" transactions, enable both events on your Authorize.net webhook.
  • New optional Accept Hosted settings.
    • Duplicate transaction window: 0–28800 seconds. Leave it empty to keep Authorize.net's 120-second default. This replaces custom code that injected duplicateWindow.
    • Log API requests and responses: off by default. The logs contain customer data, so only enable it for debugging.
  • Admin "Add payment" form. A draft order is now completed only when the payment covers its full balance. Recording a partial payment or deposit no longer completes the order.

Contributors (2)

vmarchuk, adrianandres

Changelog

Issues: 9 issues resolved.

Changes since 2.0.0 (compare):

Bug

  • #3620874: Create the payment and payment method from the return response, and reject reused or underpaid transactions on return.
  • #3624298: Keep custom billing profile fields when adding an Accept Hosted payment on the order Add Payment form.
  • #3627239: Accept Hosted webhook cannot find the order when the order has an order number.
  • #3624814: Accept Hosted checkout fails when the order total drops to zero.
  • #3633241: Do not cache the Accept Hosted checkout form holding the single-use payment token.
  • #3633242: Only check responseCode for payment webhook events, so payment profile events are processed.

Feature

  • #3615524: Add a configurable duplicate transaction window to Accept Hosted.

Task

  • #3624901: Add an option to log Accept Hosted API requests and responses.
  • #3621642: Add webhook support for the Authorization Created and Capture Created events.
Created by: vmarchuk
Created on: 4 Nov 2026 at 15:43 UTC
Last updated: 4 Nov 2026 at 15:43 UTC
Bug fixes
New features

Other releases