Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the product amount updated? #41

Closed
davejm opened this issue Dec 24, 2016 · 1 comment
Closed

Is the product amount updated? #41

davejm opened this issue Dec 24, 2016 · 1 comment

Comments

@davejm
Copy link

davejm commented Dec 24, 2016

I want to use this project for potentially one-off products. I understand the whole concept is serverless but is there a way to decrement the product amount after a purchase?
edit: Maybe using firebase.io for product details instead of static hosting?

@davejm davejm changed the title Is the amount updated? Is the product amount updated? Dec 24, 2016
@christophercliff
Copy link
Owner

No, that's the big limitation of this approach. If you have high-demand low-inventory products you'll probably be better off with a traditional e-commerce backend.

Depending on your use case, you might consider using Flatmarket with auth and capture enabled (see capture in the spec). This splits a sale into two steps where the seller must manually accept the payment from the Stripe admin. That way if you receive orders you can't fulfill, you can resolve them with the customer without charging them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants