• aiolosweb

    (@aiolosweb)


    Hi team,

    We are consistently receiving 400 Bad Request errors when the Revolut Payments plugin attempts to create a customer via the API (POST https://merchant.revolut.com/api/1.0/customers). This happens even though all required customer fields appear to be present (name, email, phone).

    A sample from our logs:

    Error create_revolut_customer: api call failed: POST https://merchant.revolut.com/api/1.0/customers 400

    We have verified the following:

    • billing_email is present and correctly formatted.
    • billing_phone is captured using Fluid Checkout PRO’s International Phone Number feature.
      • However, this field may include spaces or local formatting depending on how it is filled in by the user.
      • We are not 100% sure that the value sent is strictly in E.164 format (e.g. +306912345678).
    • billing_first_name, billing_last_name, and billing_country are correctly filled.
    • We also tested submitting the form with manual E.164 input, with and without Fluid Checkout’s “International Phone” field enabled.

    Questions:

    1. Can you clarify the required fields and strict format expected for the /customers endpoint?
    2. Should the plugin be using billing_phone_full instead of billing_phone if E.164 format is required?
    3. Is there a way to get more detailed error information via the Revolut Merchant Dashboard or API logs?
    4. Are there any known conflicts between Fluid Checkout PRO and the Revolut Payments plugin?

    Additional technical information / Server-side verification performed:

    We have already tested the server connection to Revolut’s API to rule out any network, SSL, or certificate-related issues.

    Verified that the following PHP directives are correctly configured:

    curl.cainfo = /etc/ssl/certs/ca-certificates.crt openssl.cafile = /etc/ssl/certs/ca-certificates.crt

    Confirmed that the server can successfully establish a TLS 1.3 HTTPS connection to Revolut with the following command:

    curl -v https://merchant.revolut.com

    The test completed successfully with:

    • Valid SSL handshake
    • Certificate verification OK
    • HTTP/2 connection established
    • Response: HTTP/2 404 (expected, as the root endpoint doesn’t exist)

    This confirms that the server can reach merchant.revolut.com without any SSL, CA, or firewall issues.

    Conclusion:
    The 400 Bad Request errors from the Revolut Gateway plugin are not caused by the hosting environment but rather by how the checkout data is formatted or sent to the API (potentially affected by Fluid Checkout’s field handling).

Viewing 1 replies (of 1 total)
  • Plugin Support businessrevolutsupport_jordie

    (@jordiesimrev)

    Hello aiolosweb,

    Thanks for reaching out about these 400 Bad Request errors.
    Here is a short summary of the answers to your questions:

    API Requirements & Phone Field – Response 1&2-
    Required Field: The minimum requirement for new customer creation is providing an email address.
    Phone Format: The phone number must be in E.164 format

    You can find details on the create customer API here: https://developer.revolut.com/docs/merchant/create-customer

    API log – Response 3
    We can verify the detailed error message for your failed API calls.

    Conflicts Fluid Checkout PRO – Response 4
    We have not had tickets about conflicts with Fluid Checkout PRO, but there may be compatibility challenges with plugins like Fluid Checkout PRO that alter the standard WooCommerce checkout process.

    Please reach out to our in App Help section and ask for your case to be escalated.
    To further debug this we would need you to share information that should not be shared on a public forum

    Follow these steps to reach out to our help section:

    – Open the Revolut Business App
    – Click on your account name on the top left of your screen.
    – Open “Help” section.
    – Scroll down until you see “Chat” option.
    – Click on “Start new chat” (chat bubble icon)

    When asking to escalate please give the link to this forum thread so we will be able to easily identify you and prioritise.

    Kind regards,
    Jordie

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.