aloveless / angularjs-cart

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:Apache License 2.0


Languages

Language:JavaScript 91.7%Language:C# 7.2%Language:CSS 1.0%