#k3davis
1 messages · Page 1 of 1 (latest)
I'm not sure what you mean by "the chain is broken" here
i only have a payment intent ID, but I can't get the payment intent itself (to obtain the charge id) without the client secret, which is already disposed of by this point.
on the other end, I can't get the charge id from the client to save that instead of the payment intent id
does that make sense?
You can absolutely get the Payment Intent if you have the Payment Intent id (pi_)
sweet, I must be overlooking how to do so
The client_secret is only required if you are accessing it with the Publishable Key (i.e. on the client side using Stripe.js)
Otherwise this should work just fine
var service = new PaymentIntentService();
service.Get("pi_id");
OK! I was trying to fill in the "get options" which only offers client_secret as an option, i guess i was getting the first param wrong. sorry about that