#alecpope

1 messages · Page 1 of 1 (latest)

final shardBOT
dusky fog
ancient pecan
#

That would create a new payment right? I have existing payments and I want to complete them to receive webhook events etc.

dusky fog
#

Yes, 'Manual payment' will create a new ad-hoc Payment Intent

ancient pecan
#

Okay, but I already have a payment intent and want to complete it, so that I receive a payment_intent.succeeded for example

dusky fog
#

Oh, sorry misunderstood

ancient pecan
#

No problem :D

dusky fog
#

Depends on the status of the existing payment? What's the ID?

ancient pecan
#

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?

dusky fog
#

Something like:

stripe trigger payment_intent.succeeded --add payment_intent:metdata[foo]=bar`
ancient pecan
#

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.

dusky fog
#

As I said, depends on the actual status of it. If you share the ID

ancient pecan
#

For example: pi_3NffALCGHYWsrZq509PqoCkB

dusky fog
#

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

ancient pecan
#

Okay, so when the customer has a default payment method, it would be used, right?

dusky fog
#

No not for one-time payments. That is only for recurring payments