/jquery.payment.cambodia

Extends jQuery.payment with cards from Cambodia

Primary LanguageCoffeeScriptMIT LicenseMIT

jQuery.payment.cambodia

Build Status

Extends jquery.payment with cards from Cambodia.

Usage

Please refer to jQuery.payment for detailed usage instructions.

Supported Cards

In addition to cards supported natively by jQuery.payment, jQuery.payment.cambodia also supports:

  • Wing
  • ACLEDA

Installation inside a Rails application

Add the following lines to your Gemfile:

source 'https://rails-assets.org'
gem 'rails-assets-jquery.payment.cambodia' # note: this will automatically install jquery.payment

Then run:

bundle install

Then add the following to your manifest file, e.g. application.js:

//= require jquery.payment
//= require jquery.payment.cambodia

Development

Install dependencies

$ npm install

Building

$ cake build

Testing

$ cake test

Releasing a new version

  1. Run $ cake build to build the source
  2. Run the tests $ cake test
  3. Update the version number in both package.json and bower.json
  4. Commit new changes
  5. Tag the new version with (include the 'v') git tag vX.X.X
  6. Push to github with git push origin master --tags
  7. Build a new version of the gem at https://rails-assets.org