#deamoner_api
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/1298038677804679260
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there
Just to confirm, does this mean you're already using application fees? Also, could you share which charge type you're using?
We're not live so we're not using anything yet
I have the setup running:
{
customer: member.stripeCustomerId,
items: [
{
price_data: {
currency: tier.currency || "usd",
product: tier.stripeProductId!,
recurring: {
interval: tier.interval ? tier.interval : "month",
},
unit_amount: totalPrice,
},
},
],
metadata: {
creatorId: creatorConfig.id!,
tierId: subscription.tierid!,
userId: subscription.userid!,
convenienceFee: calculatedFees.convenienceFee,
surchargeFee: calculatedFees.surchargeFee,
platformFee: calculatedFees.platformFee,
},
application_fee_percent: Number(applicationFeePercent),
},
{
stripeAccount: creatorConfig.stripeConnectedAccountId!,
}
);```
Okay, so this will yield a direct charge on the stripeAccount
Would you rather not add the convenience fee to the application fee?
Well I tried to add it as a straight fee, and it said it only accepted a perfcentage on this. So I calculate the application fee inclusive of that convience fee. But I would rather it be a seperate line item, and be more specific with that.
So just to be clear, application fees are taken from the total amount; this flow chart might help: https://docs.stripe.com/connect/direct-charges?platform=web&ui=stripe-hosted#flow-of-funds-with-fees
Is the "platform convience fee" something you want to take from the total amount or something you want to add on top of the subscription fee and charge to the customer?
I add it on top of the subscription fee and charge to the customer
Atleast that is how I have it structured now. I could also do a seperate convience fee charge directly on our stripe account, and just a small percentage in the application fee.
Is this a one-time convenience fee or a recurring convenience fee?
reoccuring
I see, okay. Why not add it as an additional line item on the Subscription?
Yes, I do want to do that. I had tried that before and it wasn't making sense. Let me try that again. It'll be cleaner.
so this way the fee we get has theoretically no cc fees, and no .30 charge for the application fees right?
We're not pricing experts but if your goal is to charge the customer for this fee vs. taking this fee from the funds that go to the connected account, then the way to do this is to add another line item to the Subscription
do I need two product id for that?
{
price_data: {
currency: tier.currency || "usd",
product: tier.stripeProductId!,
recurring: {
interval: tier.interval ? tier.interval : "month",
},
unit_amount: tier.price,
},
},
{
price_data: {
currency: tier.currency || "usd",
product: tier.stripeProductId!,
recurring: {
interval: tier.interval ? tier.interval : "month",
},
unit_amount: calculatedFees.convenienceFee,
},
},```
Not necessarily. A Product can have many Prices