README.md 1.3 KB

[Unoffical] Paratika Ruby Gem for Payments

Visitor Count: Visitor Count

Visit the gem at RubyGems.org

See Paratika webpage

Getting started

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.

Example Usages

# Check test/test_paratika.rb

Testing

rake test

Contributors

AKILLI BULUT

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Paratika project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.