• Resolved Mike van den Hoek

    (@mvdhoek1)


    When requesting ‘wp-json/wc/store/v1/checkout’ with iDeal as selected payment method, the following error is shown: Undefined index value.
    This is a partial of the complete request body:

        "payment_method": "mollie_wc_gateway_ideal",
    "payment_data": [
    {
    "key": "payment_method",
    "value": "mollie_wc_gateway_ideal"
    },
    {
    "key": "payment_method_title",
    "value": "iDEAL"
    },
    {
    "key": "mollie-payments-for-woocommerce_issuer_mollie_wc_gateway_ideal",
    "value": ""
    },
    {
    "key": "billing_phone",
    "value": ""
    },
    {
    "key": "billing_company_billie",
    "value": ""
    },
    {
    "key": "billing_birthdate",
    "value": ""
    },
    {
    "key": "cardToken" // This one does not have a value.
    },
    {
    "key": "wc-mollie_wc_gateway_ideal-new-payment-method",
    "value": false
    }
    ]

    I’m unsure whether the issue stems from the Mollie plugin or WooCommerce. WooCommerce is definitely at fault due to the missing validation on the array key, but the cardToken issue might originate from the Mollie plugin.

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

    (@femiyb)

    Hello @mvdhoek1

    To look into this error, would you be able to share a copy of your Mollie log files?
    You can copy the log files from here:
    WooCommerce > Status > Logs > select “mollie-payments-for-woocommerce-[…]” i
    You can share it using https://privatebin.syde.com/

    Regards,
    Femi

    Thread Starter Mike van den Hoek

    (@mvdhoek1)

    Hi Femi,

    No log entry has been created for this issue. It seems to me like a JS issue or such.
    Have you ever seen this error by the way? And if so do you think this has something to do with Basic Auth which we use on the acceptance environment?

    Plugin Support Femi

    (@femiyb)

    Hello @mvdhoek1

    I have forwarded this to a developer who is looking into it. I will let you know as soon as they have an update for me.

    Regards,
    Femi

    Plugin Support Femi

    (@femiyb)

    Hi Mike,

    Follow up on this. To help diagnose this further, could you please provide the following?

    1. System Report – Please share your WooCommerce system status report:
      • Navigate to WooCommerce > Status
      • Click Get system report
      • Copy and paste the details into a private link using PrivateBin and share the link here.
    2. Debugging Test – Could you try temporarily disabling any debugging tools on the site and see if the issue persists?

    Once we have this information, we’ll be able to investigate further. Looking forward to your response!

    Best regards,
    Femi

    Thread Starter Mike van den Hoek

    (@mvdhoek1)

    Hi Femi,

    I’ve send the report to your personal gmail address. I’m not sure if sharing the report publicly is the right thing to do ??

    Thanks!

    Plugin Support Femi

    (@femiyb)

    Hello @mvdhoek1

    It looks like I have not received this, but I will check again.

    Also please note that it should be okay to share your system report using?PrivateBin, as it only contains details like plugins and site setup, but not sensitive information.

    Regards,
    Femi

    Thread Starter Mike van den Hoek

    (@mvdhoek1)

    Hi Femi,

    I’ve removed our domains and server paths so this should be fine: https://privatebin.syde.com/?667aa550dd3da20b#7FZ6CmjKvkcSJAwc2SZt3HXGv6W56gxwYwd3EKuVwTcF

    Thank you for your quick responses.

    Plugin Support Femi

    (@femiyb)

    Hello @mvdhoek1

    Thanks for sharing the system status report. I have forwarded this to the developers.

    Could you please confirm if you tried temporarily disabling any debugging tools on the site and see if the issue persists?

    Regards,
    Femi.

    Thread Starter Mike van den Hoek

    (@mvdhoek1)

    Hi Femi,

    Thank you so much and yes I did disable the debugging tools etc.

    Plugin Support Femi

    (@femiyb)

    Hello @mvdhoek1

    Our development team has addressed the problem, and you can download and test the?beta version?here.

    Please test with the beta version and let us know if this resolves the issue for you.

    Regards,
    Femi.

    Thread Starter Mike van den Hoek

    (@mvdhoek1)

    Hi Femi,

    The error is gone, again thank you for your help! When is the beta scheduled to be released?

    Plugin Support Femi

    (@femiyb)

    Hello @mvdhoek1

    I’m glad to learn that this fixes the error.

    The release for this is expected later today, so you can watch out for it.

    Regards,
    Femi

    Thread Starter Mike van den Hoek

    (@mvdhoek1)

    Great!

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.