chargebee / chargebee-checkout-samples

36 stars 68 forks source link

Issue when using ChargebeeJS to use 3DS with the Checkout.com payment gateway. #187

Closed dongnh124 closed 1 year ago

dongnh124 commented 1 year ago

I have an issue when using ChargebeeJS (Components and Fields) to use 3DS with the Checkout.com payment gateway.

As follow: -> Create payment intent in server -> cardComponent.authorizeWith3ds -> Error: "The API response status code (422) does not indicate success. A validation error of type request_invalid occurred with error codes [processing_channel_id_required]"

I think when Chargbee's server requests Checkout.com to create a Payment, the property processing_channel_id is missing.

This is the document for creating a payment with Checkout.com:

This is an example project I created (don't worry about the public and secret keys, I will remove those after the issue is resolved

dongnh124 commented 1 year ago

The issue was resolved when I changed the checkout configuration from 'Allow any processing channel' to 'Select one channel'. image