#MasterJiMm-test-webhook-livemode
1 messages · Page 1 of 1 (latest)
Hi again! You can trigger events using the CLI
Ah actually one sec.
I don't recall if we let you trigger events in livemode
Ah yeah we don't support that for Stripe Trigger
Mostly, we don't recommend testing in livemode at all.
If it works in testmode it will work in livemode
Livemode testing of actual transactions is against card network regulations.
but the webhook signing secret is diff in live mode right?
just wanted to verify that
Yes it is. If you just want to verify that then you can trigger an event via an API request which is unrelated to attempting an actual transaction. Like just creating a Customer and then ensuring your Webhook can properly handle customer.created
great, how can i do this request?
You can do a cURL request: https://stripe.com/docs/api/customers/create?lang=curl
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
nothing is triggered actually
Hello! I'm taking over and catching up...
good and the request doesn't even show up in the logs
When you say nothing is triggered what do you mean exactly?
Which request? Can you give me the request ID? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Is it possible you're viewing the wrong account in the Dashboard, or viewing test instead of live?
im in live mode and im simulating a curl request to create a customer, then i navigate to the dashboard -> logs in live mode and i see nothing
Okay, can you give me the request ID for that request so I can take a look?
it doesnt appear to the logs how can i find it
It should be in the response headers that come back from Stripe. If you use -v with curl you can see them. It's the ID starting with req_
not sure if it's something wrong here
{
"object": "list",
"data": [],
"has_more": false,
"url": "/v1/customers"
* Connection #0 to host api.stripe.com left intact
}
That's a request to list Customers.
That won't show up in the logs in the Dashboard by default because it's a GET request that didn't change anything.
You're trying to create a Customer, correct?
Okay, what curl command are you using?
wdym
You said you're trying to create a Customer with curl, but you're listing Customers instead of creating one, so I'm wondering what curl command you're running so I can help you modify it to create a Customer.