• Resolved demo7up

    (@demo7up)


    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!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @demo7up

    I understand your concern regarding the CashApp payments failing while Stripe credit cards are working.

    From the error message you shared, it appears there might be an issue with the request URL for the payment intent confirmation. The error message “Unrecognized request URL (GET: /v1/payment_intents/pi_3PnN***8HtaR/confirm)” suggests that the URL used to confirm the payment intent might not be recognized by Stripe.

    Here are a few things you can try:

    1. Make sure you are using the correct API keys for your live environment. Test keys and live keys are not interchangeable. If you use the latest version, ensure you’ve re-authenticated your account.
    2. Ensure that CashApp is enabled as a payment method in your Stripe dashboard.
    3. Since the error message is coming from Stripe, you might need to reach out to Stripe support for further assistance. They can provide more details about the error and possible solutions.

    Please try the above steps and let us know if the issue persists. We’re here to help!

    Thread Starter demo7up

    (@demo7up)

    Hello,

    Stripe is enabled and active on the Stripe dashboard, Test and Live keys are setup properly and I am also using the latest version which is authenticated properly also as I mentioned My stripe credit card transactions are working just fine just not cashapp which also tells me my keys are configured properly.

    I have reached out to stripe and they said it wasn’t on their side because looking at the logs it show the error occurs confirming the incoming payment intent on my side.

    • This reply was modified 3 months, 1 week ago by demo7up.

    I’m experiencing the same issue as @demo7up . With more customers opting to use Cash App instead of manually entering credit card details, it’s becoming increasingly important to have this payment method available.

    Plugin Support Brad P. a11n

    (@snaacks)

    Hi @demo7up

    Thank you for following up and sharing that information, we appreciate it. We’d like to take a closer look at what may be going wrong and would like to gather some more details from the site and payment attempts, as such I’m going to ask you to please open up a ticket over at https://woocommerce.com/my-account/contact-support/ and when doing so please reference this thread.

    @jcdonis If you’re experiencing the same behavior we do ask that you open up your own thread or ticket so we can ensure we’re troubleshooting your site and issue directly. Thank you!

    I’m experiencing the same. Stripe CC payments work fine. CashApp payments fail with error similar to above.

    Hey, @remotetohome!

    Per WordPress forum guidelines, would you mind opening up a new thread for this so that we can keep things organized and offer more personalized support for you? We’ll be happy to help you out with this over there!

    Have a wonderful day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.