#nirav_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/1319598981571018773
๐ 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.
- nirav-rathod_code, 3 days ago, 49 messages
Hi
Could you please share the PaymentIntent Id ?
This is not a Direct Charge.
this is a nomal charge
Between, are you testing in live mode ?
{ stripeAccount: shopkeeper.stripeAccountId }
This seems to no be taken into accountreq_WBr1bo0AXMPXQv
The above payment is for tap-to-pay and in live mode
OK but it's not a Direct Charge, you are not specifying any related data to a Connected Account.
I am facing the issue that the payment made by tap-to-pay is displayed on admin account but not in the stripe connected account dashboard
What should be the steps to make it from connected account
If you want to create a Direct Charge, you'll need to specify Stripe header auth .
In both your backend and frontend.
Can you please explain the steps in detail.
Should I have to call payementIntent.create api?
Here is a detailed guide, I invite you to follow it step by step:
https://docs.stripe.com/connect/direct-charges
I am asking about tap-to-pay integration with connected accounts
Yes, that guide is the nearest one.
First you need to create a PaymentIntent
const paymentIntent = await stripe.paymentIntents.create({
amount: 1099,
currency: 'eur',
customer: customer.id,
// In the latest version of the API, specifying the `automatic_payment_methods` parameter
// is optional because Stripe enables its functionality by default.
automatic_payment_methods: {
enabled: true,
},
application_fee_amount: 123,
}, {
stripeAccount: '{{CONNECTED_ACCOUNT_ID}}',
});
And then in your mobile app you need to use the Account header for all your Call.;
In the payment intent I am taking card details from user and for that I have my own UI to take card details from client side
I am using tap-to-pay functionality in connected account but getting problem that the transaction is not displayed in connected account dashboard but it is displayed in admin dashboard.
like this one you shared previously? pi_3QWrEQKPCXHNvxWx0W1xujhu
this PaymentIntent was created on the platform (acct_1PmxIFKPCXHNvxWx), not on a connected account.
you need to use the Stripe-Account header, as mentioned above: stripeAccount: '{{CONNECTED_ACCOUNT_ID}}'
Can you please provide demo what should I change at the time of initialing payment_intent at the time of using tap-to-pay.?
can you share your code that is creating the PaymentIntent?
can you console.log the value of shopkeeper.stripeAccountId?
On the mobile side they are using this "mek stripe terminal" package.
I'm not sure I understand. can you answer my above question?
I am saying that frontend developer hasn't use this creatingNewPaymentIntent api at the time of tap-to-pay functionality. They are just using "mek stripe terminal" package.
but can you answer my question?
can you console.log the value of shopkeeper.stripeAccountId?
Okay just a min
Mobile dev are not using my creatingNewPaymentIntent so I cannot get stripeAccountId. So I can't provide stripe connected account id.
then I'm not sure how to help. the first step is to create a PaymentIntent on a connected account with the Stripe-Account header.
Mobile dev are using the "mek stripe terminal" package for tap-to-pay functionality. How can mobile dev will set this?
I still don't undrestand your question. what do you mean by "How can mobile dev will set this"?
I am trying to say is there any api or something instead of the "mek stripe terminal" package in which mobile dev can pass stripe account id in header
when implementing Stripe, you have to write code on both the backend and the frontend.
if you want to create/confirm a PaymentIntent on a connected account, you have to create the PaymentIntent on the backend with the Stripe-Account header, and also confirm the PaymentIntent on the frontent with the Stripe-Account header.
Can you provide some docs or reference fot that?
here's the doc on the Stripe-Account header: https://docs.stripe.com/connect/authentication
What are the integrations I have to add from backend part can you please guide?
Everything is explained in the details in the article above. You can select the programming language you're comfortable with for the examples.