GithubHelp home page GithubHelp logo

kenyee / angularjs-cart Goto Github PK

View Code? Open in Web Editor NEW
280.0 40.0 206.0 80 KB

AngularJS Shopping Cart modified to support Stripe.js (includes Google Wallet and Paypal already) support

License: Apache License 2.0

C# 7.33% JavaScript 92.67%

angularjs-cart's Introduction

angularjs-cart

AngularJS Shopping Cart forked from Bernado Castilho's sample on Code Project so I could add Stripe.js support to it.

Changes

  • Switched to Visual Studio 2012
  • Added support for Stripe.js

Blogged about the changes needed for Stripe support.

Usage

Update app.js with your Paypal/Google/Stripe tokens/IDs to use this in your application.

For Stripe.js, change the chargeurl parameter so it points to a form processing handler on your web site that commits the charge. Stripe is different than Paypal/Google in that it's a two-step process that's similar to an OAuth login.

angularjs-cart's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angularjs-cart's Issues

storing data in a mysql database

This application is good for a small online store. But would be great if we can also manage items, order and such in a database.

Of course, a cloud such as Heraku would also an advantage.

Regards

Documentation

Thanks for the awesome library!

This project would be more awesome if the documentation was better. A link to a demo, installation instructions and a bower package would make a big difference!

Thanks

chargeurl

Hi
sorry i m not understanding what i need to write in this part

chargeurl

Stripe form submitting twice

Hi,

Stripe form seems to be making duplicate requests to Stripe. In addition the success message ("thanks for your order") fires twice. Is this peculiar to my set-up or is anyone else getting this? I have made some adjustments, including using a single route.

Thanks,

Will

Security of price

Hi,

I have a little question about security. What about unsure user ?
For all process executed on the client side, we can't trust the user. The user can change executed Javascript with the help of greasemonkey script or manually. So if all the process is made by the client, this one can change price before sending it to paypal.

How this case can be resolving without calling paypal from the server side ?

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.