Improve logging of invalid payment intent required params scenarios #3467
Labels
priority: low
The issue/PR is low priority—not many people are affected or there’s a workaround, etc.
type: support request
Describe the bug
There's been a number of reports of customers getting failed payment where in the Stripe log there's the following error:
This error is logged from the
WC_Stripe_Intent_Controller::validate_payment_intent_required_params()
function.At the moment there's further logs that help us troubleshoot what has led to this occurring. There's no logging of the intent request or the raw
$payment_information
array.To Reproduce
I haven't been able to replicate an issue naturally so the steps below force the same error but I suspect there's something else happening.
4242424242424242
.Note
There's no information about the request that helps troubleshoot the request at all.
Expected behavior
We should log additional information about the request that might help us troubleshoot the issue including the intent request and/or payment information.
Tickets
8699575-zd-a8c
8708661-zd-a8c
8739384-zd-a8c
The text was updated successfully, but these errors were encountered: