#deamoner_api

1 messages ¡ Page 1 of 1 (latest)

elfin knollBOT
#

👋 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.

radiant jay
#

Hi there

#

Just to confirm, does this mean you're already using application fees? Also, could you share which charge type you're using?

jaunty lichen
#

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!,
    }
  );```
radiant jay
#

Okay, so this will yield a direct charge on the stripeAccount

#

Would you rather not add the convenience fee to the application fee?

jaunty lichen
#

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.

radiant jay
jaunty lichen
#

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.

radiant jay
#

Is this a one-time convenience fee or a recurring convenience fee?

jaunty lichen
#

reoccuring

radiant jay
#

I see, okay. Why not add it as an additional line item on the Subscription?

jaunty lichen
#

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?

radiant jay
#

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

jaunty lichen
#

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,
          },
        },```
radiant jay
#

Not necessarily. A Product can have many Prices