#cdubs44-coupon-connect

1 messages · Page 1 of 1 (latest)

queen nova
#

Hello!

quiet igloo
#

Hi!

queen nova
#

Just to make sure I'm understanding this correctly - is they problem that you have coupons that a customer can use, but you want the amount transferred to your connect accounts to stay the same (as in not be discounted at all)?

quiet igloo
#

yes!

#

I want the customer to have the discounted price but the connected accounts to stay the same (not discounted at all) and then I will cover the difference

queen nova
#

Got it! And how are you generating these transfers to the connect accounts? Using transfer_data?

quiet igloo
#

Yes!
TransferData = new PaymentIntentTransferDataOptions
{
Destination = 'Stripe ID of connected account',
},

queen nova
#

Do you transfer the full amount to the connected accounts (as in you don't specify and amount or percentage in transfer_data)? And what APIs are you working with? Are you using Invoices? Checkout? Subscriptions?

quiet igloo
#

I am using a payment intent

#

PaymentIntentCreateOptions.

#

And all I do is set the Amount

queen nova
#

Gotcha - so you're not using Stripe's concept of coupons, you're applying the discount yourself and just creating a Payment Intent, right?

quiet igloo
#

but no we do not transfer the full amount. We set the ApplicationFeeAmount to 10%

#

yeah

#

We do use coupons for subscriptions but we already have that covered

#

the coupons for our subscriptions aren't included in this use-case

queen nova
#

Ah you're using application_fee_amount! That makes sense, but also potentially makes this a bit more complicated. Are the coupons large enough that the amount the customer is charge may not be enough to cover their full cost? Or would simple adjusting the application_fee_amount be enough to cover the difference?

quiet igloo
#

I thought of that same thing. Right now we have the application fee amount set to 10%

Yet we have the coupons based on 6 different to test how well each one works
$5 off -
$7 off -
$10 off -
5% off -
7% off -
10% off -

#

So for the percents it would be easy cause we just do the difference.

For the $5, $7, and $10, they may be more than application fee amount

queen nova
#

Yeah that'll be a problem that you'd need to change your integration to get around - for those dollar amount coupons (basically any coupon where the application fee amount cannot cover the coupon) you'd need to do separate charges + transfer instead. So you'd unset transfer_data and would create the charge normally. Then you'd create the Transfer yourself with the full amount you'd like to send

quiet igloo
#

got it. I will try that! Thank you so much!

queen nova
#

👍 I need to head out, but we'll leave the thread open just a bit longer and @royal imp can answer any followups