#_iapp_technologies_llp
1 messages · Page 1 of 1 (latest)
What is the issue you're facing? Can you share the request ID (req_xxx) with the error? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I actually wanted to know how to capture the payment intents in case of Direct charges.
The payment intents are being created under the sub account and I am not able to capture that payment intent directly.
I have tried to capture it from the backend and feed to frontend but it doesn't seems to work.
Here is a code snipped attached with the mail for your reference.
Following is the error that I get while trying to capture the intent:
"No such payment intent found"
Checking at the dashboard I can see that it is created in the connected/sub account.
Please let me know how to sort this out.
When you capture the payment intent, the capture request should also include Stripe-Account header with the connected account ID: https://stripe.com/docs/connect/authentication#stripe-account-header
If Stripe-Account header is not included, it will look for the Payment Intent created on the platform instead of connected account
Ok I will check
HI
I have checked this docs and we are doing the same but still facing the same issue
Here is the code in :
STPAPIClient.shared.stripeAccount = UserDefaults.standard.value(forKey: userDefaultKeys.stripeId) as? String
The Stripe account id for connected account which I have get is -- acct_1OOZpk4KoI9LVzqM
we are also trying to create payment intent with stripe-account
Can you share the code which you attempt to capture the Payment Intent? I don't see the code of capturing a Payment Intent in the screenshot
The screenshot is only Payment Intent creation, which is correct
Sure please allow me a few minutes.
Here is the code
In the below SS we are capture the payment intent using the Terminal method
-->> Terminal.shared.retrievePaymentIntent(clientSecret: "clientSecret") { retrieveResult, retrieveError in
Can you share the request ID (req_xxx) of the error which the payment intent capture failed? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
None of the above code is related to capturing a payment intent. Capturing a payment intent should be done at server, not a iOS SDK: https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=ios#capture-payment
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Okay I will check
Further need to confirm How to retrieve payment intent with sub account id in iOS,
we are using this code, in this code it retrievePaymentIntent does not allow me to send connected/sub account id in parameter
and when I retrieve payment intent using this code it give me error :-
No such payment intent found, when I check payment intent on dashboard of stripe It is created in connected/sub account
It sounds like the "No such payment intent found" issue is on retrieval instead of capture. Am I right to understand you would like to find out how to retrieve Payment Intent on Direct Charges from iOS SDK?
Yes
I'd recommend referring to the guide here to initiate the Stripe-Account request from iOS SDK: https://stripe.com/docs/connect/authentication?client=create-client-ios
Checking this
I have checked this docs we are doing the same as we shared the SS of code but still facing issue in retrieve payment intent at iOS side
Please guide me ho to overcome this'
Can you share the request ID (req_xxx) of the "No Payment Intent found" error, so that I can check if you're making the request to the correct connected account ID? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
It's also possible that you create the payment intent on connected account A, but trying to retrieve it from connected account B
Thanks for sharing! In https://dashboard.stripe.com/logs/req_Qd8QbzhQDnArSI, the Stripe-Account header is not included in the request.
When connecting to a reader with connection token, it should be created with Stripe-Account header, so that the subsequent requests made by terminal will then include Stripe-Account header: https://stripe.com/docs/terminal/payments/setup-integration?terminal-sdk-platform=ios#connection-token-server-side
ok checking this