#dilkw-Android
1 messages · Page 1 of 1 (latest)
Refer to this document but still can not be achieved
Can you tell me at which step is the realization of user and card association?
The original is by passing in the parameters paymentMethodId and customerid when creating paymentIntent, after the payment is successful, the user can be associated with the card, and then the card can be seen in the card list, but now the process has been changed, I am creating paymentIntent I can’t get the paymentMethodId first, so how should I implement it?
Hey, we are looking at this but we are in MTGs this day, replies can be slow, sorry!
@pastel cloud you can create the payment intent with setup_future_usage=true [0] and without a payment method id first.
[0] https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage
The document shows that the parameter setup_future_usage has only two values to choose from
oh whoops
sorry about that, i got mixed up, but yes, it should be setup_future_usage=off_session
Wait a minute, i'll try