ruby - Stripe Custom Recurring Donations -
ruby - Stripe Custom Recurring Donations -
let me tell first stripe working me sinatra.
the thing is, recurring payments, have create plans on stripe. have requirement on donations page. works fixed amounts created plans.
my question should when user enters amount $54 don't have plans in stripe? create plans on fly each new donation amount? seems little stretched me. there other way around this?
the recommended way stripe people have subscription base of operations amount, , hear via webhooks "invoice created" event. can create invoice item adjust amount depending on user's preferred cost.
the invoice send client hr after creation have window in can add together invoice items adjust total.
it's explained here...
https://support.stripe.com/questions/metered-subscription-billing
this not ideal nicer have "set , forget" solution, , seems "creating plans on fly" easier way go.
ruby sinatra stripe-payments recurring-billing
Comments
Post a Comment