error after adding payment method on checkout screen while using authorize.net

Created on 12 September 2023, about 1 year ago

Problem/Motivation

Getting error after adding payment method on checkout screen while using authorize.net.

InvalidArgumentException: $payment_details must contain the data_descriptor key. in Drupal\commerce_authnet\Plugin\Commerce\PaymentGateway\AcceptJs->createPaymentMethod() (line 542 of modules/contrib/commerce_authnet/src/Plugin/Commerce/PaymentGateway/AcceptJs.php).

Steps to reproduce

Install commerce_authnet 1.7 and add payment gateway from backend. Now start a journey as a guest user. While adding credit card and submitting form you will get this error.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.1

Component

Code

Created by

🇮🇳India Deepesh151086

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

Comments & Activities

Production build 0.71.5 2024