#Anumula Ashok

1 messages ยท Page 1 of 1 (latest)

lost jettyBOT
crisp cobalt
#

๐Ÿ‘‹ happy to help

#
.setConfirm(true)```
these are redudant
#

you are actually confirming the PaymentIntent

#

since you're passing confirm: true

minor condor
#

if i want to create a payment intent and confirm later then how can i do that

crisp cobalt
#

you need to remove confirm: true

minor condor
#

and

crisp cobalt
#

.setConfirm(true) this line

minor condor
#

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

crisp cobalt