Introducing the Chargebee CLI

Operation not supported for Adyen Gateway

Problem Statement

This article helps you understand operation not supported for adyen gateway.

Solution

Error - {"error":{"message":"Operation not supported for Adyen Gateway","type":"invalid_request","api_error_code":"invalid_request","error_code":"operation_not_supported","error_msg":"Operation not supported for Adyen Gateway","http_status_code":400}}

To ensure this error is not happening check if the following prerequisites are correct:

  • Make sure you're on the latest version of Adyen.js as the older version(Client-side Encryption) is not 3DS-compatible.

  •  If you are using Chargebee Checkout, ensure that you enable the Address fields under Payments. To do so, navigate to **Settings > Configure Chargebee > Checkout and Self Serve Portal > Fields > Payments > Address Fields**.
  • Address fields should also be necessarily filled for 3DS payments to go through Adyen. The mandatory fields to be filled are,

    • Address line 1
    • Address line 2
    • State
    • Zipcode
    • Country
    • City
  •  3DS payments for Adyen in Chargebee are supported via Chargebee.js integration. Hence, start by [integrating Chargebee.js](/payments/2.0/card-components-and-helpers/3ds-helper#integrate-3d-secure) in your checkout. After that, [initialize 3DS helper JS](/payments/2.0/card-components-and-helpers/3ds-helper#load-the-3ds-helper-module) and [create Chargebee's `PaymentIntent` object](/payments/2.0/card-components-and-helpers/3ds-helper#create-the-payment-intent) at your server

If all the prerequisites are correct then ensure the below points are followed

  • The cards we support are Mastercard, Visa, AMEX, JCB, Diners club and Discover cards. Check if the card being added is one of the listed above.

  • The steps to set this up are available in this document.