#touheed,khan.stripe
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
Thanks for reply
Yes, you can list Checkout Sessions by PaymentIntent ID: https://stripe.com/docs/api/checkout/sessions/list#list_checkout_sessions-payment_intent
Stripe.apiKey = "sk_test_51MbLOfSCT1PGrpTGpunormRJfhvtzufx0xoJ7FjLjDx2mutrwldaDLFxUiNccgBh5KehI0cQOd3jnrmnsl5BGS0w00bKB3y6Lv";
Map<String, Object> params = new HashMap<>();
params.put("limit", 3);
SessionCollection sessions = Session.list(params);
In the above link this is the code.
Where should I pass Pyamentintent ID there is no code for th same