#Ansel

1 messages ยท Page 1 of 1 (latest)

weak beaconBOT
glad swift
#

๐Ÿ‘‹ Hello! Give me a few mi nutes and I'd be happy to help

#

Quick question - are you already using metered prices to create your Subscriptions?

burnt zealot
#

metered prices? I'm not familiar with that

#

Think of it like an AWS type service. People can add something, use it for a period of time, and then stop using it.
We do have a per-minute charge

glad swift
burnt zealot
#

but it depends on the service

#

so is there a way to do this without setting all that up in Stripe ahead of time?
We really just want to have an API to run the card, and I'm not too keen on reproducing everything from our system into Stripe's...

#

I don't want to put the invoice details into stripe, effectively, I just want to reference "invoice xxxxx" and then run the card

#

KISS and all that

glad swift
#

If all you need to do is collect payment method details then yes, this is something you can do with react

burnt zealot
#

awesome! thanks.

#

this is probably what I want. (goes to read)

#

in the docs, is there an easy way to connect the dots from the default ruby code its showing into JS? curiously JS isn't even listed as one of the valid languages. Let alone React...

#

oh :face-palm: Node?

glad swift
#

Yeah you'll want Node for the server-side code

burnt zealot
#

we have Elixir on the server side, but either way, I hope the stripey stripe lib can handle it (I'll dig into that later)

glad swift
#

๐Ÿ‘

burnt zealot
#

cool adding client=react to the url is a good hint. I wasn't seeing it in the listed options.

weak beaconBOT
burnt zealot
glad swift
#

I need to head out now, but if you have any other questions synthrider is around to answer them