Add "Accept Hosted" payment gateway plugin

Created on 6 June 2024, 7 months ago

Problem/Motivation

We are currently facing issues with CVV validation with Accept.js plugin. Basically when we mark the Card Code field as required in Authorize.net merchant account and run a Credit Card transaction through a payment gateway configured with Accept.js plugin, we end up with transaction failure with an error saying "Card Code required".

There is already an active issue CVV code not being passed to Authorize.net for validation using Accept.js 🐛 CVV code not being passed to Authorize.net for validation using Accept.js Needs work

Steps to reproduce

  • Mark the "Card Code" field as required in form field settings with your Authorize.net merchant account.
  • Configure a payment gateway with plugin Accept.js with Authorize.net credentials.
  • Do a credit card test transaction via placing a Commerce Order with this gateway.
  • The transaction will fail with error message as "Card Code required".

Proposed resolution

https://www.drupal.org/project/commerce_authnet/issues/3052498#comment-1... 🐛 CVV code not being passed to Authorize.net for validation using Accept.js Needs work

The fix to Accept.js plugin required getting rid of Authorize.net Customer and Payment profiles, which actually helpful in maintaining Payment Methods with Drupal user profile, which again required in recurring payment transactions. Accept.js is charging a credit card through these profiles with the Charge a Customer Profile, while the standard implementation says Create an Accept Payment Transaction.

Or we can introduce Authorize.net "Accept Hosted" as a plugin with Commerce Authnet. Though it will not fulfill the usage of Authorize.net Customer and Payment profiles to be used to maintain the Payment methods and recurring transactions support, but it does provide the solution to CVV issue, i.e. we can do a credit card transaction with Card Code field as required.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India vipin.j

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

Merge Requests

Comments & Activities

  • Issue created by @vipin.j
  • 🇮🇳India vipin.j

    This patch provides a Commerce Authnet payment gateway plugin from Authorize.net "Accept Hosted" payment gateway. The plugin is implemented with the documentation Accept Hosted. it provides all the necessary configurations required for both Authorize.net API and Commerce Payment gateway support.

    Since this is the basic implementation with necessary requirements/services to be fulfilled like Performing a credit card transaction, Placing a full/partial refund request from the order UI, Maintaining Authorize.net Customer ID with Drupal user as Remote ID so the transactions, Payment methods, Shipping profiles history can be maintained over Authorize.net servers with CIM (Customer Information Management) support.

    It does required implementation support for authOnlyTransaction transaction type, and also having possibilities of improvements.

  • Open in Jenkins → Open on Drupal.org →
    Core: 10.2.x + Environment: PHP 5.3 & MySQL 5.5
    last update 7 months ago
    Composer error. Unable to continue.
  • Status changed to Needs review 7 months ago
  • Merge request !19Add "Accept Hosted" payment gateway plugin → (Closed) created by vipin.j
  • Pipeline finished with Success
    6 months ago
    Total: 209s
    #206715
  • Pipeline finished with Success
    6 months ago
    Total: 251s
    #210544
  • Pipeline finished with Failed
    2 months ago
    Total: 397s
    #303937
  • Merge request !25* Fix iframe appearance with loader. → (Open) created by vipin.j
  • Pipeline finished with Success
    2 months ago
    Total: 278s
    #304148
Production build 0.71.5 2024