#zeke_error
1 messages · Page 1 of 1 (latest)
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.
- zeke_ios-paymentsheet, 5 minutes ago, 85 messages
- zeke_best-practices, 10 hours ago, 28 messages
- zeke_best-practices, 22 hours ago, 16 messages
- zeke_best-practices, 1 day ago, 30 messages
- zeke_api, 1 day ago, 97 messages
- zeke_webhooks, 1 day ago, 16 messages
👋 Welcome to your new thread!
⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1260447007668179004
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
The error means you need to set a Connected Account to that parameter, not your own Platform account
Yes!
so do i need to make a new account on with a diffrent email?
and then send it the connect link?
like how can I test it?!
Almost, that you need to make a Connected Account to your Platform. Because this transfer_data.destination parameter expects a Connected Account Id
Why are you using this parameter btw?
Im trying to make and application fee
You think I could just get rid of the transfer data and keep only the StripeAcount:"" that it would be fine?
because I have the transfer data set like this:
const stripeSession = await stripe.checkout.sessions.create(
{
success_url: ${process.env.NEXT_PUBLIC_SERVER_URL}/thank-you?orderId=${order.id},
cancel_url: ${process.env.NEXT_PUBLIC_SERVER_URL}/cart,
payment_method_types: ["card"],
mode: "payment",
metadata: {
userId: user.id,
orderId: order.id,
},
line_items,
payment_intent_data: {
application_fee_amount: applicationFeeAmount,
transfer_data: {
destination: "acct_1PareWK75Cw2zDdK", // Replace with the actual connected account ID
},
},
},
{
stripeAccount: "acct_1PareWK75Cw2zDdK", // Replace with the actual connected account ID
}
);
No you can't have both
stripeAccount is for Direct Charge, when you have Standard Connected Account
destination is for Destination Charges, when you have Express or Custom Account
Start here for creating Express Account: https://docs.stripe.com/connect/express-accounts
And then Destination Charge https://docs.stripe.com/connect/destination-charges
What if I want standard
Thats what I really want is standard connect accounts and Direct charges
Okie then https://docs.stripe.com/connect/standard-accounts and https://docs.stripe.com/connect/direct-charges
Also is there any way to test out the connected accounts? I just want to test our the fee and I cant because im in test mode😂
Why can't? You can create Test mode transaction and inspect the Balance Transaction object
It will contains the fee breakdown
Because I cant create the transaction
See in my checkout page on my server side It should send me to the stripe checkoutpage but it cant because it does not have '{{CONNECTED_ACCOUNT_ID}}'
But i cant make a connected account because I am in test mode
am I not understanding something?!
You should be able to create a Connected Account in Test mode
Yeah im trying to get one of the account IDS but its not loading🤔
Have you followed the flow here?
Sorry can't open the file. Could you elaborate here instead?
pretty much I clicked on a on of my connected seller IDs and pasted into my project here:
const stripeSession = await stripe.checkout.sessions.create(
{
success_url: ${process.env.NEXT_PUBLIC_SERVER_URL}/thank-you?orderId=${order.id},
cancel_url: ${process.env.NEXT_PUBLIC_SERVER_URL}/cart,
payment_method_types: ["card"],
mode: "payment",
metadata: {
userId: user.id,
orderId: order.id,
},
line_items,
payment_intent_data: {
application_fee_amount: 123,
},
},
{
stripeAccount: "{{acct_1PajOI09PDa209NJ}}", // Replace with the actual connected account ID
}
);
It comes back with and err:
message: "The provided key 'sk_test_***********************************************************************************************L2Kc' does not have access to account '{{acct_1PajOI09PDa209NJ}}' (or that account does not exist). Application access may have been revoked.",
Yes so I mentioned that you would need to create a Standard Account first
Use this guide: https://docs.stripe.com/connect/standard-accounts
Sir I’m going to be completely honest with you in this file under Use the /v1/accounts API to create a new account and get the account ID. You can prefill information on the account object for the user before you generate the account link. You must pass the following parameter:
The create api link I have no idea we’re to put that code
What do you mean? It's an API call
So this right here is an api
/v1/accounts
Or could I just paste this into my code and get an outcome
const stripe = require('stripe')('sk_test_');
const account = await stripe.accounts.create({
country: 'US',
email: 'jenny.rosen@example.com',
controller: {
fees: {
payer: 'application',
},
losses: {
payments: 'application',
},
stripe_dashboard: {
type: 'express',
},
},
});
It’s so confusing to me I guess
There