• Resolved kbraeken

    (@kbraeken)


    Hi,

    I have a website selling event tickets through Modern Events Calendar and with Woocommerce payments. I’m having a strange problem on my Woocommerce checkout page using your Stripe plugin.

    I have 3 payments possible: creditcards, bancontact and iDeal .

    When i’m logged in, all payments work as they should.
    When i’m logged out, only creditcard payments through Stripe work. Both Bancontact and iDeal don’t work and produce a woocommerce error on the checkout page: “Invalid email address”.

    See your plugin logs below:

    02-28-2018 @ 15:23:50 – ====Start Log====
    Info: Begin creating Bancontact source
    ====End Log====

    02-28-2018 @ 15:23:50 – ====Start Log====
    sources request: Array
    (
    [amount] => 700
    [currency] => eur
    [type] => bancontact
    [owner] => stdClass Object
    (
    [name] => Kurt Test
    [email] =>
    [address] => Array
    (
    [line1] =>
    [line2] =>
    [state] =>
    [city] =>
    [postal_code] =>
    [country] =>
    )

    )

    [redirect] => Array
    (
    [return_url] => https://www.xxx.xx/afrekenen/order-received/434/?key=wc_order_5a96bb6c40f45&utm_nooverride=1&order_id=434
    )

    [bancontact] => Array
    (
    [preferred_language] => nl
    )

    )

    ====End Log====

    02-28-2018 @ 15:23:57 – ====Start Log====
    Error: stdClass Object
    (
    [error] => stdClass Object
    (
    [type] => invalid_request_error
    [message] => Invalid email address:
    [param] => owner[email]
    )

    )

    ====End Log====

    Seems that the email address stays empty when the user is not logged in.

    Any idea how to fix this?

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor royho

    (@royho)

    Is this related to your events plugin? Because in normal checkout on WC, email field is required and would be passed.

    Thread Starter kbraeken

    (@kbraeken)

    I’m not sure. Strange thing is it works with Creditcard checkout and in that case the email address is properly saved in the order, so it must have come from the events plugin. The only option i select in the events plugin is: Use Woocommerce checkout for payments.

    When i choose Bancontact or iDeal, all orders fail with the error message “Invalid email address”. When i check the Woocommerce Dashboard – Orders i see these orders as “payment pending”. When i edit an order, the email address is not filled in. When i manually put in an email address, save the order and try the checkout of that order again, it is working properly.

    D Smith a11n

    (@dsmithweb)

    Automattic Happiness Engineer

    Hi @kbraeken!

    I’m afraid this does sound like an issue with your third-party events plugin. If you test Bancontact or iDeal checkout with a simple product and the Modern Events Calendar plugin disabled, does it successfully check out?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on checkout’ is closed to new replies.