422: Unprocessable Entity
-
From today credit card transactions cannot be processed. And I can’t find what the problem is. Can someone take a look and give me some directions of what is going wrong?
2022-05-12T14:50:18+00:00 DEBUG creditcard: Start process_payment for order 51143 2022-05-12T14:50:18+00:00 DEBUG mollie_wc_gateway_creditcard: Create Mollie payment object for order 51143 2022-05-12T14:50:18+00:00 DEBUG Order 51143 returnUrl: https://www.overeenkomsten.nl/afrekenen/order-received/51143/?key=wc_order_sY0dXVyQsWawQ&order_id=51143&filter_flag=onMollieReturn 2022-05-12T14:50:18+00:00 DEBUG Order 51143 webhookUrl: https://www.overeenkomsten.nl/wc-api/mollie_wc_gateway_creditcard?order_id=51143&key=wc_order_sY0dXVyQsWawQ&filter_flag 2022-05-12T14:50:18+00:00 DEBUG Creating payment object: type Order, first try creating a Mollie Order. 2022-05-12T14:50:18+00:00 DEBUG {"amount":{"currency":"EUR","value":"8.95"},"redirectUrl":"https:\/\/www.overeenkomsten.nl\/afrekenen\/order-received\/51143\/?key=wc_order_sY0dXVyQsWawQ&order_id=51143&filter_flag=onMollieReturn","webhookUrl":"https:\/\/www.overeenkomsten.nl\/wc-api\/mollie_wc_gateway_creditcard?order_id=51143&key=wc_order_sY0dXVyQsWawQ&filter_flag","method":"creditcard","payment":{"issuer":null,"customerId":null,"cardToken":"tkn_FEGuhBMHBT"},"locale":"nl_NL","metadata":{"order_id":51143,"order_number":"51143"},"orderNumber":"51143"} 2022-05-12T14:50:18+00:00 DEBUG Creating payment object: type Order, first try failed: [2022-05-12T14:50:18+0000] Error executing API call (422: Unprocessable Entity): The following fields of the billingAddress are missing: streetAndNumber, postalCode, city, country. Documentation: https://docs.mollie.com/overview/handling-errors. Request body: {"status":422,"title":"Unprocessable Entity","detail":"The following fields of the billingAddress are missing: streetAndNumber, postalCode, city, country","field":"billingAddress","_links":{"documentation":{"href":"https://docs.mollie.com/overview/handling-errors","type":"text/html"}}}. Field: billingAddress 2022-05-12T14:50:18+00:00 DEBUG Creating payment object: type Order, did not fail because of incorrect customerId, so trying Payment now. 2022-05-12T14:50:18+00:00 DEBUG Creating payment object: type Payment, creating a Payment. 2022-05-12T14:50:18+00:00 DEBUG Order 51143 returnUrl: https://www.overeenkomsten.nl/afrekenen/order-received/51143/?key=wc_order_sY0dXVyQsWawQ&order_id=51143&filter_flag=onMollieReturn 2022-05-12T14:50:18+00:00 DEBUG Order 51143 webhookUrl: https://www.overeenkomsten.nl/wc-api/mollie_wc_gateway_creditcard?order_id=51143&key=wc_order_sY0dXVyQsWawQ&filter_flag 2022-05-12T14:50:18+00:00 DEBUG Array 2022-05-12T14:50:19+00:00 DEBUG [2022-05-12T14:50:19+0000] Error executing API call (422: Unprocessable Entity): The card token cannot be used for this payment. Documentation: https://docs.mollie.com/overview/handling-errors. Request body: {"status":422,"title":"Unprocessable Entity","detail":"The card token cannot be used for this payment","field":"cardToken","_links":{"documentation":{"href":"https://docs.mollie.com/overview/handling-errors","type":"text/html"}}}. Field: cardToken 2022-05-12T14:50:19+00:00 DEBUG : Failed to create Mollie payment object for order 51143: [2022-05-12T14:50:19+0000] Error executing API call (422: Unprocessable Entity): The card token cannot be used for this payment. Documentation: https://docs.mollie.com/overview/handling-errors. Request body: {"status":422,"title":"Unprocessable Entity","detail":"The card token cannot be used for this payment","field":"cardToken","_links":{"documentation":{"href":"https://docs.mollie.com/overview/handling-errors","type":"text/html"}}}. Field: cardToken
It says that billing fields are missing, but we only provide digital products so we don’t ask for billing/shipping details other than an emailadress. Until today this was never a problem.
Thanks in advance.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘422: Unprocessable Entity’ is closed to new replies.