Code Monkey home page Code Monkey logo

Comments (4)

amacneil avatar amacneil commented on July 19, 2024

We have https://coinbase.com/api/doc/1.0/recurring_payments.html - just need to implement in the ruby client

from coinbase-ruby.

aianus avatar aianus commented on July 19, 2024

I think he's talking about generating a subscription email invoice which it doesn't seem we support through the API yet

from coinbase-ruby.

rceee avatar rceee commented on July 19, 2024

Really just any subscription support at all. Eg, creating a subscription, checking that it's paid (or better, a webhook to say subscription.paid etc); cancel subscription. That's about all one would need.

The site seems to generate subscription code snippets. It's just tough to really do much with them without an API that can, for example, track the blockchain status of a subscription payment, then one way or another, mark it paid (then handle it so in the Ruby/Rails app layer).

The app itself could actually handle invoices, receipts, etc. For example, in a fully built out app with a billing system, it would be very simple to drop in this portion of the CoinBase API, then just use what you've already got, billing-wise, and tweak it a bit. It's just a matter of tracking those subscription payments and getting access to that data via API/webhooks.

from coinbase-ruby.

ajbraus avatar ajbraus commented on July 19, 2024

What about a variable subscription? Like based on usage. Say someone signs up for a service that charges by the hour used at $20/hour. The user uses it for 10 hours the first month and 2 hours the next. Once the user signs up for the service once and authorizes charges, can I initiate a charge of $200 the first month and $40 the second without the customer's action?

I only ask because stripe, Paypal, and Amazon payments can do this and I want to put bitcoin onto my platform.

from coinbase-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.