GithubHelp home page GithubHelp logo

dkatzzz / ionic-angular-shopping-cartref Goto Github PK

View Code? Open in Web Editor NEW

This project forked from edocbuhtig/ionic-angular-shopping-cart-stripe

0.0 0.0 0.0 5.89 MB

Ionic 5 Angular 12 Shopping Cart with Stripe payment gateway integration

License: MIT License

JavaScript 6.99% TypeScript 52.37% HTML 15.34% SCSS 25.30%

ionic-angular-shopping-cartref's Introduction

Ionic 5 Angular Shopping Cart with Stripe payment

Clone and run npm install, If you wish to update to the latest Ionic delete the node_modules and run below,

ng update @angular/core @angular/cli
npm install @ionic/angular-toolkit@latest

Install the Stripe (cordova) plugin not for Capacitor

ionic cordova plugin add cordova-plugin-stripe
npm install --save @ionic-native/stripe

Ionic Native (peer dependency issue fix)

npm WARN @ionic-native/[email protected] requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself.

You need to install manually as below

npm i @ionic-native/core

Install Stripe for Capacitor

Make sure your Ionic project is integrated with Capacitor and not Cordova

npm install cordova-plugin-stripe
npm install @ionic-native/stripe
ionic cap sync

Stripe (Test) Key

/src/payments/payments.page.ts

  this.stripe.setPublishableKey('pk_test_xxxxxxxxxxx');

Preview

Ionic 5 Angular Shopping Cart with Stripe payment

ionic-angular-shopping-cartref's People

Contributors

edocbuhtig avatar

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.