|
|
2 năm trước cách đây | |
|---|---|---|
| .github | 3 năm trước cách đây | |
| bin | 3 năm trước cách đây | |
| lib | 2 năm trước cách đây | |
| sig | 3 năm trước cách đây | |
| test | 2 năm trước cách đây | |
| .gitignore | 3 năm trước cách đây | |
| .rubocop.yml | 2 năm trước cách đây | |
| CHANGELOG.md | 3 năm trước cách đây | |
| CODE_OF_CONDUCT.md | 3 năm trước cách đây | |
| Gemfile | 2 năm trước cách đây | |
| Gemfile.lock | 2 năm trước cách đây | |
| LICENSE.txt | 3 năm trước cách đây | |
| README.md | 3 năm trước cách đây | |
| Rakefile | 2 năm trước cách đây | |
| appmap.yml | 3 năm trước cách đây | |
| paratika.gemspec | 3 năm trước cách đây |
[Unoffical] Paratika Ruby Gem for Payments
Add the following line to your Gemfile:
gem 'paratika'
or
gem install paratika
require 'paratika'
Here is a possible configuration for development config/environments/development.rb:
paratika.configure do |config|
config.merchant_id = YOUR_MERCHANT_ID
config.merchant_user = YOUR_MERCHANT_USER
config.merchant_password = YOUR_MERCHANT_PASSWORD
end
This parameters are default but you can change it while using on the fly.
Note: You must send the signed CSR file to Paratika BANK, otherwise you will get, certificate error.
# Check test/test_paratika.rb
rake test
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Paratika project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.