• Resolved devildad

    (@devildad)


    Username can make payment using Stripe check out. Showing this message “” No such customer: ‘cus_M7Eh5fFtUbE8v5’ “”

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter devildad

    (@devildad)

    Username can’t make payment using Stripe check out. Showing this message “” No such customer: ‘cus_M7Eh5fFtUbE8v5’

    Plugin Author WebToffee

    (@webtoffee)

    Hi @devildad,

    Greetings from WebToffee!

    We would like to view the Stripe log of this order to get a better understanding of the issue.

    If you have any privacy concerns, you may share the log via this link.

    Thread Starter devildad

    (@devildad)

    POST /v1/checkout/sessions
    Status
    400 ERR
    ID
    req_QROEPRO3SoG9UT
    Time
    7/27/22, 6:54:46 PM
    API version
    2020-08-27
    Latest
    Source
    Stripe/v1 PhpBindings/7.37.1 WordPress Stripe Payment Gateway for WooCommerce/3.7.3 (https://www.webtoffee.com/product/woocommerce-stripe-payment-gateway/)
    Idempotency
    Key — ef0382f3-e0d4-4cf9-bb11-ae4e72d54649

    resource_missing – customer
    The id provided in the customer field is not tied to an existing Customer. Be sure to first create a Customer before setting this field.

    For further information see our documentation on handling existing

    Thread Starter devildad

    (@devildad)

    {
    “payment_method_types”: {
    “0”: “card”
    },
    “payment_intent_data”: {
    “description”: “TopUpGhorBD LTD Order #11256”,
    “capture_method”: “automatic”,
    “setup_future_usage”: “off_session”
    },
    “success_url”: “https://topupghorbd.com/?wc-ajax=eh_spg_stripe_checkout_order&sessionid={CHECKOUT_SESSION_ID}&order_id=11256&_wpnonce=2e843c9d02”,
    “cancel_url”: “https://topupghorbd.com/?wc-ajax=eh_spg_stripe_cancel_order&_wpnonce=2e843c9d02&order_id=11256”,
    “line_items”: {
    “0”: {
    “name”: “Total”,
    “amount”: “241”,
    “currency”: “usd”,
    “quantity”: “1”
    }
    },
    “customer”: “cus_M7Eh5fFtUbE8v5”,
    “locale”: “auto”
    }

    Plugin Author WebToffee

    (@webtoffee)

    Hello @devildad,

    The log you shared is not enough to understand your issue. Please share your Stripe log by following the below steps:

    1. Go to your Stripe dashboard.
    2. Enter the ID “cus_M7Eh5fFtUbE8v5” on the search tab.
    3. Copy all logs from the search result including the request and response sections of the log.
    4. Share the data through this link. Please do not share the log on the forum as it contains sensitive data.

    Plugin Author WebToffee

    (@webtoffee)

    Hi @devildad,

    This thread has been inactive for a bit, so we are going to mark it as Resolved for now. Feel free to open a new thread or follow up on this thread if you have any further questions or still need help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No such customer: ‘cus_M7Eh5fFtUbE8v5’’ is closed to new replies.