GithubHelp home page GithubHelp logo

Single unit purchases about dj-stripe HOT 7 CLOSED

dj-stripe avatar dj-stripe commented on July 19, 2024
Single unit purchases

from dj-stripe.

Comments (7)

pydanny avatar pydanny commented on July 19, 2024

According to @buddylindsey, "To make a one off payment you need to call the charge method on a customer object."

Woot!

from dj-stripe.

kronok avatar kronok commented on July 19, 2024

I'm a little confused on whether or not the project supports single unit purchases. I see it's listed as "forthcoming" right now in the docs, but this issue seems to suggest that it can work, even though it's a bit old.

I'm more interested in the single unit purchases rather than the subscriptions, so I'm curious if this is the project for people like me right now (or very soon?).

Basically, how well do single unit purchases work if at all?

from dj-stripe.

buddylindsey avatar buddylindsey commented on July 19, 2024

@kronok call this method on customer object: https://github.com/pydanny/dj-stripe/blob/master/djstripe/models.py#L561-L580

from dj-stripe.

kavdev avatar kavdev commented on July 19, 2024

Hi @kronok, can we close this issue?

from dj-stripe.

stepmr avatar stepmr commented on July 19, 2024

For reference, I believe single unit purchases are covered in the docs here: http://dj-stripe.readthedocs.org/en/latest/cookbook.html#making-individual-purchases

from dj-stripe.

kronok avatar kronok commented on July 19, 2024

@kavdev Yep, I did something similar to what @stepmr posted to accomplish it.

from dj-stripe.

kavdev avatar kavdev commented on July 19, 2024

Perfect. Glad you were able to work it out!

from dj-stripe.

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.