#hitesh1995_code
1 messages ¡ Page 1 of 1 (latest)
đ 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.
- hitesh1995_error, 17 hours ago, 39 messages
- hitesh1995_api, 5 days ago, 11 messages
Did you specify the same stripeAccount when initializing your iOS app?
I tried to set stripeAccount after creating payment intent but that is also not working.
How did you set it, can you share me the code?
STPAPIClient.shared.stripeAccount = "acct_xxxxx"
Ok, did you set it because present the payment sheet?
yes
and you are creating a direct charge on the connected account?
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
Ok, it sounds similar to this issue https://github.com/stripe/stripe-ios/issues/4195
The iOS engineer already fixed it in https://github.com/stripe/stripe-ios/pull/3972 , and released in https://github.com/stripe/stripe-ios/blob/master/CHANGELOG.md#2400-2024-11-04
Can you update the SDK to the latest version and try again?
ok, let me try the same