#Sandip

1 messages · Page 1 of 1 (latest)

halcyon oreBOT
cinder zephyr
#

Hi,
You are using Stripe Element here right ?

woeful umbra
#

I'm Using Stripe PaymentFlow

cinder zephyr
#

Can you share the link you are following?

cinder zephyr
#

You are using PaymentSheet (Elements for web) actual

#

You need to pass the customerId when creating the PaymentIntent and pass the customer config when initializing the PaymentSheet

woeful umbra
#

I'm not able to see this added card.

cinder zephyr
#

Theses aren't added card, these are other Payment Methods

woeful umbra
# cinder zephyr You need to pass the customerId when creating the PaymentIntent and pass the cus...

I have already sended that .

Request :

{"amount":"106","user_id":"63ea203bdb9ab67681284d85","destination":"acct_1KgrSTSFpAcqmc6D","setup_future_usage":"on_session","currency":"INR","customer":"cus_NLhiVPsvtgmpsr"}

Response :

{"id":"pi_3Mt7sJSJCAsyx4130SVW4V2T","object":"payment_intent","amount":106,"amount_capturable":0,"amount_details":{"tip":{}},"amount_received":0,"application":null,"application_fee_amount":null,"automatic_payment_methods":{"enabled":true},"canceled_at":null,"cancellation_reason":null,"capture_method":"manual","charges":{"object":"list","data":[],"has_more":false,"total_count":0,"url":"/v1/charges?payment_intent=pi_3Mt7sJSJCAsyx4130SVW4V2T"},"client_secret":"pi_3Mt7sJSJCAsyx4130SVW4V2T_secret_j8vGEGn5AsAWNzDakaflzUqRY","confirmation_method":"automatic","created":1680607087,"currency":"inr","customer":"cus_NLhiVPsvtgmpsr","description":null,"invoice":null,"last_payment_error":null,"latest_charge":null,"livemode":false,"metadata":{},"next_action":null,"on_behalf_of":null,"payment_method":null,"payment_method_options":{"card":{"installments":null,"mandate_options":null,"network":null,"request_three_d_secure":"automatic"}},"payment_method_types":["card"],"processing":null,"receipt_email":null,"review":null,"setup_future_usage":"on_session","shipping":null,"source":null,"statement_descriptor":null,"statement_descriptor_suffix":null,"status":"requires_payment_method","transfer_data":{"destination":"acct_1KgrSTSFpAcqmc6D"},"transfer_group":null}

#

Can you tell me what I'm missing in this create payment intent API?

woeful umbra
cinder zephyr
#

Let me check...

woeful umbra
#

Ok

halcyon oreBOT
cinder zephyr
#

still doing some tests...

cinder zephyr
#

I think you should remove setup_future_usage .

woeful umbra
#

Ok let me try..

#

I have try with the same

#

But still i can't able to see already added card.

cinder zephyr
#

I'll try to find you a sample app...

#

Can you try to follow/test that activity and see if you manage to solve your issue ? without having the complete project (front/back) it's complicated to narrow...