#alecpope
1 messages · Page 1 of 1 (latest)
That would create a new payment right? I have existing payments and I want to complete them to receive webhook events etc.
Yes, 'Manual payment' will create a new ad-hoc Payment Intent
Okay, but I already have a payment intent and want to complete it, so that I receive a payment_intent.succeeded for example
Oh, sorry misunderstood
No problem :D
Depends on the status of the existing payment? What's the ID?
If you're just looking to test webhooks/events, might I recommend just using the CLI: https://stripe.com/docs/stripe-cli/overview
It was just a test payment intent. The problem is that I create the payment intents with specific metadata etc. With the Stripe CLI I could just trigger a "generic" payment_intent.succeeded event right?
No, you can set parameters via the --add flag: https://stripe.com/docs/cli/trigger#trigger-add
Something like:
stripe trigger payment_intent.succeeded --add payment_intent:metdata[foo]=bar`
Oh okay, that will help, thanks! But there is no easy way to just "complete" the payment intent from the dashboard? Because it already contains all the metadata etc.
As I said, depends on the actual status of it. If you share the ID
For example: pi_3NffALCGHYWsrZq509PqoCkB
Ok, that's in a requires_payment_method status. So no, can't be completed via the Dashboard
You need to attach actual payment method information to it and confirm it
Okay, so when the customer has a default payment method, it would be used, right?
No not for one-time payments. That is only for recurring payments