#N0xB0DY - connect - asp.net
1 messages ยท Page 1 of 1 (latest)
Hey there ๐ apologies for the delay.
Let's start with the first part of your question.
It's okay, glad someone's here to help.
So the code that you currently have written performs what we call a Destination Charge. In this case your platform is handling the charge and then sends a portion of the funds to the connected account (the destination).
The scenario that it sounds like you want, is to create what we call a Direct Charge. Your platform still makes the API call for this, but everything is handled on the connected account.
Before pivoting your coding I'd recommend you review this doc to ensure direct charges are what you actually want, as it helps explain the differences between direct and destination charges:
https://stripe.com/docs/connect/charges
If you do decide on direct charges, then this doc will help walk you through how to structure your code for those:
https://stripe.com/docs/connect/direct-charges
@tender gate As @gritty glacier says you should use a charge type appropriate for your business and the type of accounts you're using. But you must calculate the amount of your application fee to cover any Stripe fees you expect on the payment. This varies by region & payment method so you'll need to manage this, or set your application fee high enough to cover all cofigurations.
alright, so now I know I must use direct charge, and my code becomes something like this.
var requestOptions = new RequestOptions();
requestOptions.StripeAccount = receiverAccount.Id;
var intent = await _stripePaymentIntent.CreatePaymentIntentAsync(
requestingIntent, requestOptions);
Direct charges are recommended for Standard account, while Destination charges are recommended for custom & Express account. Which are you using?
We're using standard account, and won't use the express any time soon most likely. That's why I'm asking about direct charge.
Yep, perfect, direct charges make sense then, and you can set your application fee and not worry about the stripe fees
great. can we move to the second question?
If you wanted to do that, and it is allowed for your business, then you'd need to adjust the amount you charge: https://support.stripe.com/questions/passing-the-stripe-fee-on-to-customers
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
This goes back to you needing to calculate that amount
Is there any kind of formula that would help?
There is one shown on the page i linked ๐