#smtlaissezfaire

1 messages · Page 1 of 1 (latest)

ancient wadiBOT
wicked island
#

Basically I've got a few different things that subscribers can subscribe to, but I'm trying to pass along any stripe fees to them, and so I'm adding an extra line item with the stripe fees

soft grove
wicked island
#

Will those get charged with every reucrrence of the subscription?

soft grove
wicked island
#

Hmm, here's what I'm passing: ``` opts[:items] << {
price_data: {
currency: plan.currency.downcase,
recurring: {
interval: "year"
},
unit_amount: payment_method.calculate_fees(plan.amount).cents,
product_data: {
name: payment_method.short_fee_description,
description: payment_method.long_fee_description,
},
},
quantity: 1,
}

soft grove
wicked island
#

I see, so I could use a different price for the same plan

soft grove
#

Yes!

#

We are closing this channel for the weekend in a few minutes. Are you all set here?

wicked island
#

All set. Thanks!

#

Have a good weekend!