#khemprakash_code

1 messages Β· Page 1 of 1 (latest)

solemn tendonBOT
#

πŸ‘‹ 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/1432549449414082632

πŸ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

dry lintel
#

We currently use your stripe connected accounts.
When we process a payment for a customer, we are forced at the moment to use the "on_behalf_of" feature because in conjunction with the fees that Stripe has, we have 2 fees we need to satisfy:

  1. Chaty's payment fee (0.25 USD)
  2. Twilio's payment fee (0.15 USD)
  3. Stripes fees.
    We have attempted to use the API for the payment whereby we provide the connected account ID so that the money goes straight to their account. However, the fees that we have configured in our stripe account does not take away the fees from the payment.
    For example, if the total cost of the product is: $100
    We would add Stripes fees (1.7% ($1.70) + .30 USD)
  • Twilio
  • Chaty
    For a total of $102.30.
    When I attempt to use the API by providing the stripe connected account ID (our clients ID), our fees are not added. Noting we have configured the fees in the stripe system.
    This is why we're forced to use the on_behalf_of tool, add the fees manually and then we're in control of the payment and as we've discovered responsible for negative charges.
    To that end, our preference would be that all fees are taken from the payment via the configuration in stripe and the money is provided directly to the customer.
    Is this possible to do? Have we misconfigured something? What could the issue be?
candid merlin
#

hi there πŸ‘‹ give me a moment to take a look

#

I have a few questions...

#

via the configuration in stripe
Could you share with me which configuration on Stripe this is referring to?

Would you be able to share with me an example of a connected account you created? As well as a payment ID as an example where on_behalf_of is used?

#

A connected account ID should be prefixed with acct_ and the payment ID should be pi_

dry lintel
#

Sure give me few moments to generate that.

dry lintel
#

acct_1RvSuNEOHik6fpap

#

account id: acct_1RvSuNEOHik6fpap
Payment Id: py_1SGowEEOHik6fpapFOFivznO

candid merlin
#

thank you, let me take a look

#

Can I confirm your intention is to add additional fees on-top of Stripe fees for a single payment?

#

With the given objects, there are a few things I want to clarify:

  • acct_1RvSuNEOHik6fpap: this is a Standard connected account. For Standard connected accounts, because they have access to the full Stripe Dahboard, we recommend using Direct Charges https://docs.stripe.com/connect/direct-charges?platform=web&ui=elements β€” which means the collected payments should go to your connected account directly where they will be able to manage refunds and disputes.

  • I'm saying this because this payment (py_1SGowEEOHik6fpapFOFivznO) seems to be associated to pi_3SGowACv4MmLUnr40nTiNKes which is a Destination Charge, and using Destination Charges with Standard connected account is not a recommended setup.

  • If the intention is to add additional fees, you can create Direct Charges and add application_fee_amount unto the PaymentIntents you create: https://docs.stripe.com/api/payment_intents/object#payment_intent_object-application_fee_amount β€”the amount stated in application_fee_amount will be transferred to the application owner of the Stripe account. The application owner is your Platform (acct_1QyPwyCv4MmLUnr4)

#

Using Direct Charges does not require the use of on_behalf_of .

For example, lets say the connected account recieve a $10 payment β€” if you enter .40 USD into application_fee_amount, and let's say the Stripe fee is .59 USD, the connected account will receives $9.01 net. The Stripe fee is paid by the connected account (10 - .40 - .59 = $9.01)

We also have a scenario example here: https://docs.stripe.com/connect/charges#direct

dry lintel
#

So, in that case the fee configuration we have in the platform pricing tool isn't relevant and instead we just use the application_fee_amount?

That's fine, we can do that. The original intention was to use direct charges ideally with the platform pricing tool, but I couldn't get it to work. <-- Is this even possible?

With the application_fee_amount, we're providing our charges and as you've laid out would be appended to your fees.

candid merlin
#

The Platform Pricing Tool [0] is only applicable when the Platform is paying the Stripe fees. But with Direct Charges, the Stripe fees is charged to the connected account, not the Platform. You cannot use Platform Pricing Tool with Direct Charges.

[0] https://docs.stripe.com/connect/platform-pricing-tools