Implement Accept Hosted API

Created on 19 June 2025, 17 days ago

Problem/Motivation

We need to integrate Authorize.net ’s Accept Hosted API into the existing commerce_authnet module to support PCI-compliant credit card payments through their hosted payment form.

The integration must

  • Use the Accept Hosted API via getHostedPaymentPageRequest.
  • Support credit card payments only.
  • Support Customer Profiles, including creation and reuse of saved cards.
  • Follow a clean and minimal integration strategy. Preferably via a hook_form_alter(), or via a custom checkout pane similarly to Commerce Stripe if the hook_form_alter() solution doesn't work out somehow.

Acceptance Criteria

  • A new payment gateway plugin is defined.
  • The Accept Hosted payment form is embedded as an iframe at checkout.
  • Only card payments are supported.
  • Customer and Payment Profiles are created and reused via createCustomerProfileRequest and related APIs.
  • No sensitive payment information touches our servers (fully PCI SAQ-A compliant).
  • Code is extensible, does not introduce unnecessary complexity, and avoids the 3452993 patch structure.
  • Basic test coverage and documentation provided.
πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine marchuk.vitaliy Rivne, UA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024