CashApp Payments Failing While Stripe Credit Cards Work
-
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!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.