jQuery.payment.cambodia
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
- Run
$ cake build
to build the source - Run the tests
$ cake test
- Update the version number in both
package.json
andbower.json
- Commit new changes
- Tag the new version with (include the 'v')
git tag vX.X.X
- Push to github with
git push origin master --tags
- Build a new version of the gem at https://rails-assets.org