#Jane_Zhong
1 messages · Page 1 of 1 (latest)
Hi 👋 you can't, once it has been used it is prevented from being deleted.
oh no .. Hmm ,one more question . I realized ,when I use webhook, I always get a payment intent which always charge me 20 dollars.which I have no idea where it comes from .Here is the ID:pi_3Mo5N8Em6oZta2po0PbV06D0
Once I turn on webhook,it charges automatically
Taking a look, but that doesn't sound like it makes much sense. Webhook events are not related to the creation of Payment Intents.
Oohh, are you using the Stripe CLI to test your webhook endpoint?
yes !!
That's expected then. The CLI will take actions necessary to trigger the Event that you tell it to, which may involve creating objects and progressing them through parts of their lifecycle.
This guy also met the same problem like me ,could you please take a look ?https://github.com/stripe/stripe-java/issues/919
I am not sure if I am using Stripe's default secrect key ?
There is no such thing as a default secret key. Are you forwarding Events to your endpoint from the CLI, or did you register a webhook endpoint (either in the Stripe dashboard or API)?
Then you use the signing secret that is provided in the console after running the stripe listen command.
Yes,I am following these steps:
So , I have no idea ,why I always get this event ... I am searching all of my code ,I don't have such an event at all .. ID: pi_3Mo5N8Em6oZta2po0PbV06D0
That ID is the ID of a Payment Intent (indicated by the pi_ prefix) Events will have a prefix of evt_.
Can you clearly articulate the troubling behavior that you're encountering? I'm having trouble understanding whether it is the generation of events by the stripe trigger command, or if the concern is with performing signature verification in your Event handling code.
Ok,give me a sec , let me collect them good and I will send to you .
Please take a look
I have clarified all the steps I have
Please let me know if you need more infos
So what's the problem there? Are you referring to that message shown in your last screenshot?
There problem here is ,I never create a payment which costs 2000 amount . And this payment always active once I finished all the steps I show in the pdf
You do, that's what stripe trigger payment_intent.created will do.
I would need to know where dose this payment come from
In order to trigger a payment_intent.created Event, the CLI creates a Payment Intent.
It means ... stripe trigger is not use for detect if the payment has already create or not ,it is using for create a payment ?
I got it now .thank you so much for your time !
Correct, stripe trigger is used to execute the steps necessary to trigger the creation of the type of Event you specified.