• Resolved rolf64

    (@rolf64)


    In the Mollie logs we find this message:
    Creating payment object: type Order, first try failed: [2025-07-27T08:33:58+0000] Error executing API call (422: Unprocessable Entity): The following fields of the billingAddress are missing: streetAndNumber, postalCode, city. Documentation: https://docs.mollie.com/reference/handling-errors. Request body: {“status”:422,”title”:”Unprocessable Entity”,”detail”:”The following fields of the billingAddress are missing: streetAndNumber, postalCode, city”,”field”:”billingAddress”,”_links”:{“documentation”:{“href”:”https://docs.mollie.com/reference/handling-errors”,”type”:”text/html”}}}. Field: billingAddress

    These fields are disabled in our webshop because we do not need them. We are using the order api.

    It seems that the payments are completed normally in Mollie, but still we are concerned about the recurring error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Femi

    (@femiyb)

    Hello @rolf64

    Thanks for the info.

    The error appears because the Orders API requires full billing address fields, which are missing in your setup. Since these fields are disabled, the plugin’s first attempt using the Orders API fails, but it should automatically fall back to the Payments API, which completes the payment successfully.

    To avoid the error in logs, you can either switch to using the Payments API or make sure the required fields are populated.

    I hope this helps.

    Regards,
    Femi.

    Thread Starter rolf64

    (@rolf64)

    Thank you. I switched to the Payments API and hope that will solve the issue.

    Thread Starter rolf64

    (@rolf64)

    I switched to the payments api. That seems to work well, but in the logfile I see this, which is also shown in de order notes for the admin; payment already completed at Mollie, can not be captured.

    2025-07-29T14:22:09+00:00 Foutopsporing Mollie\WooCommerce\Payment\MolliePayment::onWebhookPaid called for payment 7154 2025-07-29T14:22:09+00:00 Foutopsporing Mollie\WooCommerce\Payment\PaymentModule::shipAndCaptureOrderAtMollie – 7154 – Try to process completed order for a potential capture at Mollie. 2025-07-29T14:22:09+00:00 Foutopsporing Mollie\WooCommerce\Payment\PaymentModule::shipAndCaptureOrderAtMollie – 7154 – Payment already completed at Mollie, can not be captured. 2025-07-29T14:22:10+00:00 Foutopsporing Mollie\WooCommerce\Payment\MolliePayment::onWebhookPaid WooCommerce payment_complete() processed and returned to Mollie\WooCommerce\Payment\MolliePayment::onWebhookPaid for payment 7154

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘422 error missing billing fields’ is closed to new replies.