#Anumula Ashok
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
.setConfirm(true)```
these are redudant
you are actually confirming the PaymentIntent
since you're passing confirm: true
if i want to create a payment intent and confirm later then how can i do that
you need to remove confirm: true
and
.setConfirm(true) this line
PaymentIntentConfirmParams params = PaymentIntentConfirmParams.builder()
.setPaymentMethod(paymentId)
.build();
PaymentIntent paymentIntent = PaymentIntent.retrieve(paymentIntentId);
String status = paymentIntent.getStatus();
log.info("Payment intent details [{}]", paymentIntent);
in this i can't make it confirm then how to confirm it
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.