Abraham Rodriguez

Readme

Showing 1 changed file with 2 additions and 13 deletions
......@@ -22,11 +22,11 @@ Or install it yourself as:
You need to install the configuration for paypal if you intend to use it in your application:
$ rails g paypal:sdk:install
$ rails g paypal:sdk:install
It will create a configuration file(`config/paypal.yml`)
You also need to configure conekta if you intend to use it in your application:
You also need to configure conekta if you intend to use it in your application,
Create a configuration file(`config/initializers/conekta.rb`)
```ruby
......@@ -40,17 +40,6 @@ Conekta.config do |c|
c.api_key = '1tv5yJp3xnVZ7eK67m4h'
c.api_version = '1.0.0'
end
Conekta.locale = :es
Conekta.api_key = '1tv5yJp3xnVZ7eK67m4h'
# Or via an initializer in config/initializers/conekta.rb
Conekta.config do |c|
c.locale = :es
c.api_key = '1tv5yJp3xnVZ7eK67m4h'
c.api_version = '1.0.0'
end
```
## Usage
......