Comments (7)
According to @buddylindsey, "To make a one off payment you need to call the charge method on a customer object."
Woot!
from dj-stripe.
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.
@kronok call this method on customer object: https://github.com/pydanny/dj-stripe/blob/master/djstripe/models.py#L561-L580
from dj-stripe.
Hi @kronok, can we close this issue?
from dj-stripe.
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.
@kavdev Yep, I did something similar to what @stepmr posted to accomplish it.
from dj-stripe.
Perfect. Glad you were able to work it out!
from dj-stripe.
Related Issues (20)
- 🔥 Django Admin URLs found many Internal Server Errors (500) while testing using django-smoke-tests
- djstripe.exceptions.InvalidStripeAPIKey: Invalid API key: '' when attaching a payment method HOT 2
- value too long for type character varying(9) when processing checkout.session.completed webhook (possible stripe API version 2024-04-10 issue) HOT 17
- When installing for the first time and running migrate: AttributeError: module 'stripe' has no attribute 'Order' HOT 6
- ProgrammingError: column djstripe_product.default_price_id does not exist HOT 7
- Use case for multiple API Keys? HOT 9
- Plugin 'mkdocstrings' option 'watch' is breaking the docs HOT 2
- Failing webhook events in dj-stripe regarding Plan and Price HOT 2
- Having multiple projects breaks the webhook HOT 1
- The stripe api key placement is very confusing HOT 15
- Use AbstractModels HOT 1
- Webhook doesn't work if API keys removed from .env HOT 4
- Current state of the projects Documentation/Website
- v2.9 Release Checklist HOT 2
- Sync only Subscriptions with specific status HOT 2
- Initial Sync Fails to Import Charge data from Connect Express Accounts
- Re-enable Migration Check in Linter Action for Release 3.0
- Support an upgrade from 2.X HOT 4
- Webhooks for some users are failing after library update from 2.5 to 2.8 HOT 4
- Errors when manually running djstripe_sync_models
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dj-stripe.