/angularjs-cart

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

Primary LanguageJavaScriptApache License 2.0Apache-2.0

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.