#hitesh1995_code

1 messages ¡ Page 1 of 1 (latest)

untold muralBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1303226410407694387

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

tacit pelican
#

Did you specify the same stripeAccount when initializing your iOS app?

chilly surge
#

I tried to set stripeAccount after creating payment intent but that is also not working.

tacit pelican
#

How did you set it, can you share me the code?

chilly surge
#

STPAPIClient.shared.stripeAccount = "acct_xxxxx"

tacit pelican
#

Ok, did you set it because present the payment sheet?

chilly surge
#

yes

tacit pelican
#

and you are creating a direct charge on the connected account?

obtuse prawn
#

Hi @tacit pelican Good Morning

I am the backend developer and working with @chilly surge

#

Yes you can say that we are creating direct charge on the connected account

As we wanted to handle payment under that connect account not in the main account

#

@tacit pelican Here is our case

We wanted to make payment from customer to operator(Connect Account) .. without using transfer method that means we had to handle all payment details under the connect account

This is not big problem.. But we faced problem when a customer wants to use same card in different operator(Connect account)

So in previous stripe version it was working and what we do is.. We first open payment sheet using empheral key in main platform so that customer can choose/add cards from platform

After that we clone the main platform payment method to connect account which will generate new payment method and can be use under connect payments

Then we create payment intent using new payment method which was cloned under connect and then process the next payment steps

Now in new stripe update we have to use different method in IOS SDK and when we perform those steps we get No Such Payment intent error

tacit pelican
#

Can you update the SDK to the latest version and try again?

chilly surge
#

ok, let me try the same

untold muralBOT