#Sandip

1 messages ยท Page 1 of 1 (latest)

bronze hollowBOT
hybrid hill
#

๐Ÿ‘‹ happy to help

lyric escarp
#

Can you help me? for this?

hybrid hill
#

Google Pay is not supported in India

#

I'm not able to show already used card into stripe payment sheet android.
that's expected, we don't offer to show already saved cards in any of our Payment integrations

#

sorry I stand corrected

lyric escarp
#

Yes

verbal hill
#

Hey! Taking over for my colleague. Can you share a PaymentIntent Id ?

lyric escarp
#

wait a minute

#

pi_3MomwaSJCAsyx4130DBGglVL

#

This is payment intent id

verbal hill
lyric escarp
#

Ok

#

I have another one question

verbal hill
#

Yes of course, what is it ?

lyric escarp
#

I'm able to payment succesfully using payment sheet

#

But after that how i will get paymentmethod.

#

And how i will set destination and paymentmethod

#

For capture-intent

verbal hill
verbal hill
#

So in your backend just capture the funds following this step ๐Ÿ‘†

lyric escarp
#

destination means where i need to transfer the amount from purchaser

verbal hill
#

Are you using Stripe Connect?

lyric escarp
verbal hill
lyric escarp
#

Wait i share another

verbal hill
#

The PaymentIntent you shared previously pi_3MomwaSJCAsyx4130DBGglVL has this PaymentMethod pm_1Momx9SJCAsyx413Rk08DRcP

lyric escarp
#

Look :

1.] i create ephemeral key

{"id":"ephkey_1MonAVSJCAsyx41337Ujzp1u","object":"ephemeral_key","associated_objects":[{"id":"cus_LKDgQWGFscG74r","type":"customer"}],"created":1679574179,"expires":1679577779,"livemode":false,"secret":"ek_test_YWNjdF8xS1FzaXBTSkNBc3l4NDEzLEE2QTZycnlraVl2RXNtYWlwbWoybjFnVkFvSDA0WkI_00Q4XB0sHL"}

2.] Create payment intent

{"id":"pi_3MonAWSJCAsyx4130ZpdVU53","object":"payment_intent","amount":15000,"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_3MonAWSJCAsyx4130ZpdVU53"},"client_secret":"pi_3MonAWSJCAsyx4130ZpdVU53_secret_SF83fz2p2QCUoJzXtvQqgK8r9","confirmation_method":"automatic","created":1679574180,"currency":"inr","customer":null,"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":null,"transfer_group":null}

Check this "id":"pi_3MonAWSJCAsyx4130ZpdVU53"

#

Now i will use the "client_secret" and pay using payment sheet.

lyric escarp
verbal hill
lyric escarp
#

Check this "id":"pi_3MonAWSJCAsyx4130ZpdVU53"

I have complete the payment

#

Now Can you tell me what is the flow after this...

verbal hill
lyric escarp
#

So we required to add destination(Admin stripe account id). For where we need to transfer this amount

#

Because in our case we have multiple admin

verbal hill
lyric escarp
#

Ok