All Projects â†’ Bartosz-D3V â†’ ng-payment-card

Bartosz-D3V / ng-payment-card

Licence: MIT license
💳 Responsive credit card component for Angular.

Programming Languages

typescript
32286 projects
CSS
56736 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ng-payment-card

Vue Interactive Paycard
Credit card form with smooth and sweet micro-interactions
Stars: ✭ 5,451 (+20088.89%)
Mutual labels:  payment, credit-card, creditcard
PaymentCardView
Custom Credit/Debit card view
Stars: ✭ 62 (+129.63%)
Mutual labels:  payment, credit-card, debit-card
magento2
Mollie Payments for Magento 2
Stars: ✭ 70 (+159.26%)
Mutual labels:  checkout, payment, creditcard
frames-android
Checkout API Client, Payment Form UI and Utilities
Stars: ✭ 26 (-3.7%)
Mutual labels:  checkout, payment, credit-card
credit-card-prompt
Credit card prompt with validation and address lookup
Stars: ✭ 13 (-51.85%)
Mutual labels:  payment, credit-card, debit-card
awesome-ecommerce
Collect and develop Open Source or Free Projects for building ecommerce platform easy and fast and free
Stars: ✭ 39 (+44.44%)
Mutual labels:  checkout, payment
Mfcard
Easily integrate Credit Card payments module in iOS App. Swift 4.0
Stars: ✭ 356 (+1218.52%)
Mutual labels:  payment, credit-card
Payment
💰 A jQuery-free general purpose library for building credit card forms, validating inputs and formatting numbers.
Stars: ✭ 467 (+1629.63%)
Mutual labels:  payment, credit-card
Moyasar Php
Moyasar PHP client library
Stars: ✭ 5 (-81.48%)
Mutual labels:  payment, credit-card
Omise Ios
Omise iOS SDK
Stars: ✭ 63 (+133.33%)
Mutual labels:  payment, credit-card
bolt-magento2
Bolt plugin for magento2
Stars: ✭ 17 (-37.04%)
Mutual labels:  checkout, payment
FinanceKit
FinanceKit is a Framework for iOS and Mac to build apps working with financial data, like money, currencies, stocks, portfolio, transactions and other concepts.
Stars: ✭ 15 (-44.44%)
Mutual labels:  payment, creditcard
stripe-update-card
💳 Expose a page that let your customers update their payment information on Stripe.
Stars: ✭ 16 (-40.74%)
Mutual labels:  payment, creditcard
svelte-stripe-js
Everything you need to add Stripe Elements to your Svelte project
Stars: ✭ 139 (+414.81%)
Mutual labels:  payment, credit-card
React Interactive Paycard
Interactive React Paycard
Stars: ✭ 2,129 (+7785.19%)
Mutual labels:  payment, credit-card
Go Payment
Payment Connector for Midtrans and Xendit. Sample site that is using this payment proxy is https://imrenagi.com/donate
Stars: ✭ 136 (+403.7%)
Mutual labels:  payment, credit-card
Yrpayment
Better payment user experience library with cool animation in Swift
Stars: ✭ 176 (+551.85%)
Mutual labels:  payment, credit-card
PCard
Demo project to showcase adding payment card details using JetPack Compose
Stars: ✭ 61 (+125.93%)
Mutual labels:  payment, credit-card
react-credit-cards
Beautiful credit cards for your payment forms
Stars: ✭ 2,386 (+8737.04%)
Mutual labels:  payment, credit-card
React Native Credit Card Input
Easy, cross-platform credit-card input for your React Native Project! Start accepting payment 💰 in your app today!
Stars: ✭ 1,244 (+4507.41%)
Mutual labels:  payment, credit-card

Responsive, Angular payment card component

Customizable component with zero external dependencies.

GitHub GitHub Build Status Build status codecov David David code style: prettier Renovate enabled PRs Welcome

Install

yarn add ng-payment-card //or
npm install --save ng-payment-card

Version 0.0.8 is no longer compatible with Angular 2 - 4 due to TypeScript upgrade

For Angular 2 - 4, please use version 0.0.7

Features

  • Neat design
  • Validation of all fields (including Luhn validation) - that can be switched off
  • Displaying appropriate card provider's name based on card number
  • Fully responsive
  • No dependencies (apart from Angular itself)
  • Angular 2 - 7 compatible
  • Built with BEM methodology and SCSS
  • Fully customizable
  • 100% test coverage level
  • Built with statical code analysis tools

Usage

After installing the component as a dependency, import it into you Angular module.

import { NgPaymentCardModule } from 'ng-payment-card';

Afterwards, you can use the component within your templates.

<ng-payment-card></ng-payment-card>

// Setting custom validation messages
<ng-payment-card
  [ccNumMissingTxt]='Please provide card number'
  [cardExpiredTxt]='Payment card has expired'>
</ng-payment-card>

// Handling event emitter
<ng-payment-card
  (formSaved)="processPayment(cc)">
</ng-payment-card>

Upon submitting the form, component will emit object in the following format:

cardNumber: string;
cardHolder: string;
expirationMonth: string;
expirationYear: string;
ccv: number;

Full list of available inputs

Supported card types

  • American Express
  • Diners
  • Diners Carte Blanche
  • Discover Club
  • China UnionPay
  • JCB
  • Laser
  • MAESTRO
  • Mastercard
  • Visa Electron
  • Visa

Development

Installation

yarn // or
npm install

Running

yarn start // or
npm start

Testing

npm test

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].