Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Plugin Library / Payment Modules / AuthorizeNet_Accept_js_Payments

AuthorizeNet_Accept_js_Payments

Payment Modules

Plugin ID 2459

The Plugin ID is written into your manifest.php pluginId automatically the first time a release is published.

Overview

## Title Authorize.Net Accept.js Payments ## Short description Card payments through Authorize.Net's current JSON API with Accept.js tokenization, as a drop-in successor to the Authorize.Net AIM module that ships with Zen Cart. The card number never touches your server. Refund, capture, and void from the order page. Encapsulated: Zen Cart 1.5.8 through 3.0.0 and PHP 7.4 through 8.5 from one codebase. ## Description **Why?** Authorize.Net has retired the AIM and SIM methods that Zen Cart's built-in modules use. They still answer today, with no shutdown date announced, but they get no new features, and the current API is the only place Authorize.Net accepts a tokenized card. This module moves a store onto that API without changing what the customer sees. **What the customer sees.** The same card fields on the same payment page. Underneath, the card number and security code inputs lack a `name` attribute, so a form post can never include them. When the customer clicks Continue, Authorize.Net's Accept.js script converts the card into a one-time nonce in the browser, and your server sends that nonce to the gateway. If the script can't run at all, the order is refused rather than accepting a bare card number. **What the store owner gets.** - Authorize-only or authorize-and-capture, with separate order statuses for paid, authorized-but-uncaptured, refunded and held-for-review orders. - On the order page: the transaction history for the order, plus refund, capture, and void forms that use Zen Cart's own order-page actions. - Line items, tax and shipping sent with each transaction; gateway receipt emails if you want them; a duplicate-transaction window. - Sandbox, test-request, and Production modes. The module starts in Sandbox, so no charges are incurred until you say so. - Works with the standard checkout, the PA-DSS AJAX confirmation, and One Page Checkout. - Settings survive Modules > Payment > Remove: the next Install puts them back, credentials included. - Notifier seams for add-ons at every step: the payment block, the request before it's sent, the result after, and the admin actions. **Encapsulated.** One folder under `zc_plugins/`, installed from Plugin Manager, then enabled under Modules > Payment exactly like a core payment module. Eighteen settings. Its own transaction table, kept on uninstall because it holds your payment history. In Zen Cart 1.5.8 through 2.0.x, which look for a payment module only in the core folders, two small bridge files from the package are placed in `includes/`; from 2.1.0 on, only the plugin folder is uploaded. **Runs on Zen Cart 1.5.8, 2.0, 2.1, 2.2, 2.3 and 3.0.0-dev, PHP 7.4 through 8.5, from a single codebase**, verified against all six release branches and exercised against the Authorize.Net sandbox from a live store. **You need** an Authorize.Net account (a paid service with a merchant account behind it; their sandbox is free for testing), a store served over HTTPS, and PHP with cURL and JSON. ### Credentials API Login ID, Transaction Key, and Public Client Key, all from the Merchant Interface under Account > Settings > Security Settings > General Security Settings. The readme walks through it. ### Not included Apple Pay, Google Pay, and card on file. Those need customer profiles and wallet registration and are the subject of a separate Pro edition built on this module's notifier seams. ## Links - GitHub: https://github.com/dbltoe/AuthorizeNet_Accept_Payments - Support thread: https://www.zen-cart.com/threads/207341 ## Version and compatibility fields - Version: v1.0.1 - Zen Cart versions: v158, v200, v210, v220, v230, v300 - PHP: 7.4 through 8.5 - License: GPL-2.0

Releases

  • v1.0.5 Encapsulated Release ID #7896
    4 Nov 2026 · Compatible with 1.5.8, 2.0.0, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 3.0.0, 2.0.1 Release by dbltoe · 0 downloads · 82.5 KB ZIP

    # Authorize.Net Accept.js Payments — changelog for v1.0.5 Package: `authorizenet_accept_js_payments_v1.0.5.zip` (beside this file). Repository: <https://github.com/dbltoe/AuthorizeNet_Accept_Payments>. Plugins Library: <https://www.zen-cart.com/plugins/authorizenet-accept-js-payments> (Plugin ID 2459). Library "what's new" one-liner: > A card problem at checkout is no longer missed: the message under the card fields scrolls into view and the field to fix gets the focus. No payment or settings changes. --- ## v1.0.5 (2026-11-04) **Card messages can't go unnoticed.** When the card check fails (name, card number, expiration, security code, or an answer from Accept.js), the message has always gone in the box under the card fields. On a long payment page, or on One Page Checkout, that box can be well above the Continue or Confirm button, so it looked as if nothing happened. Now the box scrolls into view and the cursor goes to the field to correct. There's no popup; the box keeps its `role="alert"`, so screen readers announce it. The scroll is smooth unless the shopper's device asks for reduced motion. Reported in the support thread. **Nothing else changes.** Checkout script only. No payment, settings or database changes. The two bridge files for Zen Cart 1.5.8 through 2.0.x are unchanged. **Upgrading.** Put the new `zc_plugins/AuthorizeNetAccept/v1.0.5` folder beside the old one and click Upgrade in Plugin Manager; Modules > Payment keeps its settings and credentials. Zen Cart 1.5.8 through 3.0.0, PHP 7.4 through 8.5, as before.

  • v1.0.1 Encapsulated Release ID #7812
    15 Sep 2026 · Compatible with 1.5.8, 2.0.0, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 3.0.0 Release by dbltoe · 42 downloads · 70.8 KB ZIP

    ## v1.0.1 (2026-09-15) **Wallet hook in the checkout script.** An add-on (Apple Pay, Google Pay, anything the module's descriptor whitelist allows) hands its token to `window.authorizenet_accept.setWalletToken(descriptor, value, {brand, last4, expires})`. The script fills the hidden carriers, selects the module with a real radio click so One Page Checkout records the choice, keeps the token in session storage for fifteen minutes tied to the order total so an OPC re-render doesn't lose it, and lets Continue, Review or Confirm through without card validation or an Accept.js call. Editing the card fields, choosing another payment method, or submitting the form causes the token to drop. **Why.** The 1.0.0 script only lets its own Accept.js nonce through. A wallet token placed in the carriers by an add-on was blocked at the standard checkout with the card-number message and worked on OPC only by bypassing the script. There is now one sanctioned way in on both checkouts. **Also:** - Each render of the payment block fires an `authorizenet_accept:ready` event on the document carrying the same API, so a wallet button can be redrawn after OPC redraws the block. - The script config carries the order total, currency, mode, and the Accept descriptor; `config()` on the API returns them, so a wallet sheet asks for the amount the module will charge. - The browser-side contract is documented in `docs/CUSTOMIZING.md` ("The browser side: handing over a wallet token"). **Nothing changes for card payments.** No settings change, no database change. Upgrade by uploading the new `zc_plugins/AuthorizeNetAccept/v1.0.1` folder beside the old one and choosing Upgrade in Plugin Manager; settings and credentials stay. The two bridge files for Zen Cart 1.5.8 through 2.0.x are unchanged. Zen Cart 1.5.8 through 3.0.0, PHP 7.4 through 8.5, as before. ## v1.0.0 (2026-09-13) First release. Card payments through Authorize.Net's JSON API with Accept.js tokenization; authorize-only or authorize-and-capture; refund, capture, and void from the order page; line items, tax, and shipping; sandbox, test, and production modes; standard checkout, the PA-DSS AJAX confirmation, and One Page Checkout; notifier seams for add-ons; Zen Cart 1.5.8 through 3.0.0 from one codebase, with two bridge files for 1.5.8 through 2.0.x.

Author
Updated
4 Nov 2026
Releases
2
Plugin ID
2459