processing_channel_id_required … Getting This error on Checkout
-
Steps to be followed to get the error.
1. Set up the plugin by adding the Secret Key and Public Key Provided.
2. Open the shop page.
3. Add a product to the cart
4. Proceed to Checkout.
5. Select Checkout.com in Payment Gateway and enter any card number from https://www.checkout.com/docs/previous/testing/test-card-numbers
6. Click on Place Order.
7. It shows a Failure alert with the text “An error has occurred while processing your payment.”.///—– What I did To Debug ——///
Inside (path-to-plugin-root\includes\api\class-wc-checkoutcom-api-request.php) file on line number 125 I added error_log(json_encode($ex));.
This gave me a string of the Response from the API.{“request_id”:”$request_id_here”,”http_status_code”:422,”error_details”:{“request_id”:”$request_id_here”,”error_type”:”request_invalid”,”error_codes”:[“processing_channel_id_required”]},”http_metadata”:{}}
(Removed request id for some reason..)
- The topic ‘processing_channel_id_required … Getting This error on Checkout’ is closed to new replies.