• Resolved Daniel Chan

    (@danielchan23)


    Hi there,

    Just checking with you guys, recently I’ve noticed a few failed payments : payment_intent.payment_failed on my website.

    Not sure whether the customers did not follow through with the payment or it is pure error. I have two occasions where transaction is more than RM3000 and the payment failed.

    Here’s an example error log, I’ve hidden the sensitive info with *hide* :

    {
      "id": "*hide*",
      "object": "payment_intent",
      "last_payment_error": {
        "code": "payment_intent_authentication_failure",
        "doc_url": "https://stripe.com/docs/error-codes/payment-intent-authentication-failure",
        "message": "The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again.",
        "payment_method": {
          "id": "*hide*",
          "object": "payment_method",
          "billing_details": {
            "address": {
              "city": "*hide*",
              "country": "*hide*",
              "line1": "*hide*, ",
              "line2": "*hide*",
              "postal_code": "*hide*",
              "state": "*hide*"
            },
            "email": "*hide*",
            "name": "*hide*",
            "phone": "*hide*"
          },
          "created": 1632362820,
          "customer": null,
          "fpx": {
            "account_holder_type": "individual",
            "bank": "cimb"
          },
          "livemode": true,
          "metadata": {
          },
          "type": "fpx"
        },
        "type": "invalid_request_error"
      },
      "livemode": true,
      "next_action": null,
      "status": "requires_payment_method",
      "amount": 389600,
      "amount_capturable": 0,
      "amount_received": 0,
      "application": "ca_Gp4vLOJiqHJLZGxakHW7JdbBlcgWK8Up",
      "application_fee_amount": null,
      "canceled_at": null,
      "cancellation_reason": null,
      "capture_method": "automatic",
      "charges": {
        "object": "list",
        "data": [
        ],
        "has_more": false,
        "total_count": 0,
        "url": "*hide*"
      },
      "client_secret": "*hide*",
      "confirmation_method": "automatic",
      "created": 1632362813,
      "currency": "myr",
      "customer": null,
      "description": "Order 13806 from Sutra Silk",
      "invoice": null,
      "metadata": {
        "gateway_id": "stripe_fpx",
        "order_id": "13806",
        "user_id": "0",
        "ip_address": "60.48.197.131",
        "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 206.0.0.30.118 (iPhone13,4; iOS 14_7_1; en_MY; en-MY; scale=3.00; 1284x2778; 318760365)",
        "partner": "PaymentPlugins",
        "created": "1632362812",
        "product_13715": "Silk Full Bedding Set x 1",
        "product_2899": "Silk Pillowcases Bundle of Two x 1"
      },
      "on_behalf_of": null,
      "payment_method": null,
      "payment_method_options": {
      },
      "payment_method_types": [
        "fpx"
      ],
      "receipt_email": null,
      "review": null,
      "setup_future_usage": null,
      "shipping": {
        "address": {
          "city": "*hide*",
          "country": "*hide*",
          "line1": "*hide*",
          "line2": "*hide*",
          "postal_code": "*hide*",
          "state": "*hide*"
        },
        "carrier": null,
        "name": "*hide*",
        "phone": null,
        "tracking_number": null
      },
      "source": null,
      "statement_descriptor": null,
      "statement_descriptor_suffix": null,
      "transfer_data": null,
      "transfer_group": null
    }

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

Viewing 1 replies (of 1 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @danielchan23,

    The error message states The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again.

    So it looks like your customer provided the wrong authentication info for their FPX account then they didn’t proceed with another payment method.

    That’s not anything uncommon.

    Kind Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Payment Failed’ is closed to new replies.