|
|
@@ -1,42 +1,29 @@
|
|
|
-[Unoffical] Paratika Ruby Gem for Payments
|
|
|
+[Unoffical] Payment Ruby Gem for Payments
|
|
|
|
|
|
-Visitor Count: 
|
|
|
+Visitor Count: 
|
|
|
|
|
|
-[Visit the gem at RubyGems.org](https://rubygems.org/gems/paratika)
|
|
|
+[Visit the gem at RubyGems.org](https://rubygems.org/gems/payment)
|
|
|
|
|
|
-[See Paratika webpage](http://paratika.com.tr/)
|
|
|
+[See Payment webpage](https://git.akillibulut.net/akillibulut/payment-gem)
|
|
|
|
|
|
### Getting started
|
|
|
|
|
|
Add the following line to your Gemfile:
|
|
|
|
|
|
```ruby
|
|
|
-gem 'paratika'
|
|
|
+gem 'payment'
|
|
|
```
|
|
|
|
|
|
or
|
|
|
```cmd
|
|
|
-gem install paratika
|
|
|
-require 'paratika'
|
|
|
+gem install payment
|
|
|
+require 'payment'
|
|
|
```
|
|
|
|
|
|
-Here is a possible configuration for development `config/environments/development.rb`:
|
|
|
-
|
|
|
-```ruby
|
|
|
-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
|
|
|
+# Check test/test_payment.rb
|
|
|
```
|
|
|
|
|
|
### Testing
|