CashApp Payments Failing While Stripe Credit Cards Work

[ad_1]

Error message

“message”: “The payment failed.”

“type”: “invalid_request_error”

These are the request parameters:

{
"client_secret": "************************************************************",
"expected_payment_method_type": "cashapp",
"key": "pk_live_*********************************************************************************************zvhkOv",
"mandate_data": {
"customer_acceptance": {
"online": {
"infer_from_client": "true"
},
"type": "online"
}
},
"return_url": "https://***.com/checkout/order-received/2173/?key=wc_order_2qntCMdxN3FCR"
}

This is the response:

{
"error": {
"code": "payment_intent_payment_attempt_failed",
"doc_url": "https://stripe.com/docs/error-codes/payment-intent-payment-attempt-failed",
"message": "The payment failed.",
"payment_intent": {
"id": "pi_3PnNx**********HtaR",
"object": "payment_intent",
"allowed_source_types": [
"cashapp"
],
"amount": 153,
"amount_details": {
"tip": {
}
},
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"client_secret": "pi_3P**********************_******_*********************hYqC",
"confirmation_method": "automatic",
"created": 1723567966,
"currency": "usd",
"description": "*** - Order 2173",
"last_payment_error": null,
"livemode": true,
"next_action": null,
"next_source_action": null,
"payment_method": "pm_1Pn***********hOHp",
"payment_method_configuration_details": null,
"payment_method_types": [
"cashapp"
],
"processing": null,
"receipt_email": null,
"return_url": "https://***.com/checkout/order-received/2173/?key=wc_order_2qntCMdxN3FCR",
"setup_future_usage": null,
"shipping": null,
"source": null,
"status": "requires_confirmation"
},
"request_log_url": "https://dashboard.stripe.com/acct_1O*************W/logs/req_jyrO********8?t=17******8",
"type": "invalid_request_error"
}
}

When I inspect my checkout I get this

{ “error”: { “message”: “Unrecognized request URL (GET: /v1/payment_intents/pi_3PnN***********8HtaR/confirm). Please see https://stripe.com/docs or we can help at https://support.stripe.com/.”, “type”: “invalid_request_error” } }

In the stripe dashboard the payment_intent.requires_action looks successful and POST /v1/payment_intents returns 200 OK

Im at a complete loss here, please help!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer