Payment failed with multiple reasons

Hello developers, can you all please help resolve the issue I am facing with my API integrations?I have successfully integrated the Square payment gateway service into my website and we also received some successful test and live payments from some customers.

But now I am getting issues with my 3 customers as their payments get failed again and again after multiple attempts.

These are the issues I am receiving in the API responses.

“[errors:Square\Http\ApiResponse:private] => Array([0] => Square\Models\Error Object([category:Square\Models\Error:private] => PAYMENT_METHOD_ERROR[code:Square\Models\Error:private] => CARD_DECLINED_VERIFICATION_REQUIRED[detail:Square\Models\Error:private] => Authorization error: ‘CARD_DECLINED_VERIFICATION_REQUIRED’[field:Square\Models\Error:private] =>))”

“[errors:Square\Http\ApiResponse:private] => Array([0] => Square\Models\Error Object([category:Square\Models\Error:private] => INVALID_REQUEST_ERROR[code:Square\Models\Error:private] => INVALID_CARD_DATA[detail:Square\Models\Error:private] => Invalid card data.[field:Square\Models\Error:private] => source_id))”

Do you have Webhook subscriptions, check your webhook logs in your developer account.

Your error says that card was declined, because verification is required. Which probably would cascade to Invalid Card data

Looks like this has been answered in other post

The CARD_DECLINED_VERIFICATION_REQUIRED error typically occurs when the card issuer requires additional verification through Strong Customer Authentication (SCA). Even though you’ve passed the verification token, the card issuer might still decline the payment due to their own risk policies or other reasons.