#Pravin - PaymentMethod

1 messages · Page 1 of 1 (latest)

waxen peak
#

Hi there!

#

Do you already have a Payment Method saved, or you need to create one?

echo imp
#

no, i have just created it against my connect accoount

waxen peak
#

And how are you integrating Stripe? With Checkout Session, PaymentIntent, something else?

echo imp
#

PaymentIntent

waxen peak
echo imp
#

no no

#

what i want

#

While creating Customer I can use code like below

#

CustomerCreateParams params = stripeMapper.getCreateCustomerParam(paymentRequest.getEmail(),
paymentRequest.getPhoneNumber(),
paymentRequest.getPaymentMethodId());

#

here i am creating params and passing payment Method to Customer object while creating Customer

#

======

#

if i want to add one more payment method to same custome. How can update that customer object

#

@waxen peak hope you get my question

waxen peak
echo imp
#

let me check

#

hope this will help me

#

thank you