stripe-archive / shop Goto Github PK
View Code? Open in Web Editor NEWSingle-page shop
Home Page: https://shop-demo.parseapp.com/
License: MIT License
Single-page shop
Home Page: https://shop-demo.parseapp.com/
License: MIT License
Would be coolio!
We are trying to configure to have 2 items with different prices, they add and total in the cart correctly but the description price stays the same.
SKU 1 is correct at $14/each
SKU 2 should be shown as $18/each
How can we modify the code to achieve this?
I also noticed that the total that is passed thru to stripe is also incorrect...
There is too trigger-happy onblur(?)
events that cause unwanted closing of the modal and worse, resetting the form (requiring re-entering address data, ugh!). In general this modal is basically unusable on mobile safari and somewhat unusable on chrome mac osx (where I had to go after failing 3 times on iPhone).
One caveat is I used the modal with a free "gift" shirt and looking at the demo, https://shop-demo.parseapp.com/, I'm not seeing the same onblur
issues.
In /cloud/model.js
line 22 states the field should be longer than max_length
, rather than shorter.
Line 21 - 23:
if (spec.max_length && value.length > spec.max_length) {
return name + ' must be at least ' + value.length + ' characters long.';
}
I want to use Sourcegraph for shop code search, browsing, and usage examples. Can an admin enable Sourcegraph for this repository? Just go to https://sourcegraph.com/github.com/stripe/shop. (It should only take 30 seconds.)
Thank you!
When a payment request is made, you'll get error message "Oops... address must be at least 0 characters long."
Try it for yourself, https://shop-demo.parseapp.com/
Would love to see the the non Parse version of the application.
https://shop-demo.parseapp.com/ is responding with
This site can’t be reached
shop-demo.parseapp.com’s server IP address could not be found.
This repo hasn't been modified in 5 years. If it's deprecated - it might help potential stripe users if you mark it clearly as such.
After changing cloud/views/index.ejs
file to use non minified shop.js
<script src="/assets/js/shop.min.js?1377809478"></script>
to
<script src="/assets/js/shop.js"></script>
Getting Uncaught ReferenceError on below line
var itemTemplate = _.template($('#item-template').html());
in here
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.