Undefined index value
-
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)
Viewing 13 replies - 1 through 13 (of 13 total)
- You must be logged in to reply to this topic.