All Projects → MobileFirstInc → Mfcard

MobileFirstInc / Mfcard

Licence: mit
Easily integrate Credit Card payments module in iOS App. Swift 4.0

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Mfcard

credit-card-prompt
Credit card prompt with validation and address lookup
Stars: ✭ 13 (-96.35%)
Mutual labels:  card, payment, credit-card
frames-android
Checkout API Client, Payment Form UI and Utilities
Stars: ✭ 26 (-92.7%)
Mutual labels:  validation, payment, credit-card
terms-dictionary
Simple definitions of terms, acronyms, abbreviations, companies, and projects related to financial services and Moov.
Stars: ✭ 48 (-86.52%)
Mutual labels:  payment, credit-card
PCard
Demo project to showcase adding payment card details using JetPack Compose
Stars: ✭ 61 (-82.87%)
Mutual labels:  payment, credit-card
react-credit-cards
Beautiful credit cards for your payment forms
Stars: ✭ 2,386 (+570.22%)
Mutual labels:  payment, credit-card
Credit Card
Credit Card Validation
Stars: ✭ 150 (-57.87%)
Mutual labels:  validation, credit-card
Swiftvalidators
String (and more) validation for iOS
Stars: ✭ 226 (-36.52%)
Mutual labels:  validation, cocoapods
ccashcow
💰 Accept cards & crypto. Payments so easy a cow could do it.
Stars: ✭ 40 (-88.76%)
Mutual labels:  payment, credit-card
svelte-stripe-js
Everything you need to add Stripe Elements to your Svelte project
Stars: ✭ 139 (-60.96%)
Mutual labels:  payment, credit-card
ex pesa
Payment Library For Most Public Payment API's in Kenya and hopefully Africa. Let us get this moneybag
Stars: ✭ 19 (-94.66%)
Mutual labels:  card, payment
Credit card validations
💳 ruby gem for validating credit card numbers, generating valid numbers, luhn checks
Stars: ✭ 140 (-60.67%)
Mutual labels:  validation, credit-card
Creditcard.js
A simple credit cards validation library in JavaScript
Stars: ✭ 259 (-27.25%)
Mutual labels:  validation, credit-card
Pycard
A simple credit card validation Python library with no dependencies
Stars: ✭ 40 (-88.76%)
Mutual labels:  validation, credit-card
ng-payment-card
💳 Responsive credit card component for Angular.
Stars: ✭ 27 (-92.42%)
Mutual labels:  payment, credit-card
Quiver
Validation, searching and filtering made easy for swift.
Stars: ✭ 27 (-92.42%)
Mutual labels:  validation, cocoapods
Validatedpropertykit
Easily validate your Properties with Property Wrappers 👮
Stars: ✭ 701 (+96.91%)
Mutual labels:  validation, cocoapods
React Credit Cards
Beautiful credit cards for your payment forms
Stars: ✭ 2,239 (+528.93%)
Mutual labels:  payment, credit-card
Yalfield
Custom Field component with validation for creating easier form-like UI from interface builder.
Stars: ✭ 476 (+33.71%)
Mutual labels:  validation, cocoapods
PaymentCardView
Custom Credit/Debit card view
Stars: ✭ 62 (-82.58%)
Mutual labels:  payment, credit-card
card-validator
Card validation helpers for payment forms.
Stars: ✭ 22 (-93.82%)
Mutual labels:  card, credit-card
 text

MFCard

Platform iOS Swift 4 compatible Swift 5 compatible License MIT CocoaPods compatible

Buy me a coffeeBuy me a coffee

MFCard is an awesome looking Credit Card input & validation control. Written in Swift 3.

YOoo, Now MFCard is on Swift 5.

  • Swift 5.0 (Xcode 11.0)*
pod 'MFCard'

Or you can choose version for Swift 4

pod 'MFCard', '1.2.6'
 text

MobileFirst Applications

We are a mobile development agency working on Swift for iOS, Java for Android. We are available for new projects.

Demo

 text

Usage

First Step - @import MFCard to your project

Second Step - Add a delegate MFCardDelegate to your class & add two delegate methods

Third Step - Present a Card

var myCard : MFCardView
myCard  = MFCardView(withViewController: self)
myCard.delegate = self
myCard.autoDismiss = true
myCard.toast = true
myCard.showCard()

Handle Done button(delegate method) clicked

func cardDoneButtonClicked(_ card: Card?, error: String?) {
if error == nil{
print(card!)
}else{
print(error!)
}
}

Show Card with Details

var myCard : MFCardView
myCard  = MFCardView(withViewController: self)
myCard.delegate = self
myCard.autoDismiss = true
myCard.toast = true
let demoCard :Card? = Card(holderName: "Rahul Chandnani", number: "6552552665526625", month: Month.Dec, year: "2019", cvc: "234", paymentType: Card.PaymentType.bank, cardType: CardType.Discover, userId: 0)
myCard.showCardWithCardDetails(card: demoCard!)

CocoaPods Install

Add this to your Podfile.

pod 'MFCard'

Supported Cards

  • MasterCard
  • Visa
  • JCB
  • Diners
  • Discover
  • Amex
  • Maestro
  • UnionPay
  • Electron
  • Dankort
  • RuPay

Customisation Options

  • Card Image
  • Background colour
  • Front Chrome colour (Front Card colour)
  • Back Chrome colour (Back Card colour)
  • Front Chrome Alpha
  • Back Chrome Alpha
  • Back Card Magnetic Tap colour
  • All Label colour
  • TextField Customisation
  • Control Buttons
  • Corner Radius
  • Placeholders
  • Auto Dismiss
  • Flip on Done
  • Animation on CardType Change
  • MFCard show - BlurStyle

Screenshots

 text  text  text

Features

  • Card Validation Support
  • Present Card like alert
  • Swipe Gesture To Swipe Card front & back
  • Error Handing
  • Toast Messages for error handling
  • All Properties editable using IBDesignable
  • Animations
  • Easy to use

Collaboration

Feel free to collaborate with ideas, issues and/or pull requests.

Further Plans

  • Provide More Classic card views
  • Mutiple Card Collection Viewer
  • Stripe Integration
  • Language Support (French, Spanish)
  • More Animations :-P

Thanks

Contact

License

MFCard is released under the MIT License.

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].