#N0xB0DY - connect - asp.net

1 messages ยท Page 1 of 1 (latest)

past oar
gritty glacier
#

Hey there ๐Ÿ‘‹ apologies for the delay.

#

Let's start with the first part of your question.

tender gate
#

It's okay, glad someone's here to help.

gritty glacier
#

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

past oar
#

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

tender gate
#

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);
past oar
#

Direct charges are recommended for Standard account, while Destination charges are recommended for custom & Express account. Which are you using?

tender gate
#

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.

past oar
#

Yep, perfect, direct charges make sense then, and you can set your application fee and not worry about the stripe fees

tender gate
#

great. can we move to the second question?

past oar
#

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

#

This goes back to you needing to calculate that amount

tender gate
#

Is there any kind of formula that would help?

past oar
#

There is one shown on the page i linked ๐Ÿ™‚

tender gate
#

Yea, just opened the link

#

thanks

#

Thank you a lot, this helps a lot.

past oar
#

Perfect! ๐ŸŽ‰

#

quite welcome ๐Ÿ™‚