#Empress Brosephine

1 messages · Page 1 of 1 (latest)

crimson hillBOT
keen badger
#

thanks two-shoes

#

similary is it possible to generate a Payment Link via an API by sending in a price and product?

obtuse plank
#

The answer is complicated but it boils down to: sort of, but it's probably better to use one-off Invoices instead of any of Stripe's Subscriptions

keen badger
#

oooo didn't even think of Invoice

obtuse plank
#

Can you give a bit more information about how the variable amount is decided?

keen badger
#

basically total / months

#

so if we have a computer at $100 with a 10 month payment plan of $10/mo

obtuse plank
#

So each payment would be exactly $10?

keen badger
#

yep

#

but I think we can kinda fanagle it via setupIntent -> charges?

obtuse plank
#

I mean, you would probably want to use Subscriptions in this case, since the amount is the same. You would just create a Subscription that cancels itself after 10 successful payments

keen badger
#

yeah true

#

sweeet, thanks two-shoes

crimson hillBOT
keen badger
#

quick question as to your point two-shoes, if the $10 month was variable per month, could you still do that via subscriptions or would you wnat to pivot to charges then?

#

subscription schedules

solar bronze
#

Hi there. Taking over for two-shoes

#

What will the amount be variable on?

#

You could rely on invoice items to achieve this

keen badger
#

so the agent would be allowed to "override" the monthly amount, basically

agent would select a product
agent would select 6 months
react makes 6 fields
agent can overwrite the field with a amount

#

and side question - can invoices charge SetupIntents?

solar bronze
#

That doesn't make sense

#

SetupIntents aren't charges

#

They just set up payment methods for future usage. That's all they do

keen badger
#

sorry - can you charge based on a card saved from a SetUpIntent

solar bronze
#

Yes you can