epayco / epayco-ruby Goto Github PK
View Code? Open in Web Editor NEWRuby wrapper for Epayco API
Home Page: https://epayco.co/docs/api/
Ruby wrapper for Epayco API
Home Page: https://epayco.co/docs/api/
Is it possible to install the gem in a rails project:
Return error:
In Gemfile:
json (~> 2.0.0)
rails (= 4.2.0) was resolved to 4.2.0, which depends on
activesupport (= 4.2.0) was resolved to 4.2.0, which depends on
json (>= 1.7.7, ~> 1.7)
epayco-ruby was resolved to 0.0.5, which depends on
json (~> 2.0)```
I started using the gem and first asked me for two other gems 'rest-client', '~> 1.7'
and 'mime-types', '~>2.0'
, this three gem in my gemfile.
Then I put the "usage section" in my application.rb
require 'epayco-ruby'
Epayco.apiKey = 'PUBLIC_KEY'
Epayco.privateKey = 'PRIVATE_KEY'
Epayco.lang = 'ES'
Epayco.test = true
But when I call "plans = Epayco::Plan.list" I get the error of "key not found: :ciphers", I don't know what could be wrong, searching the internet, I found that it could be due to the 'rest-client', '~> 1.7'
gem is a obsolete version. Any idea what might be happening?
Hi, Epayco gave me a 32 bytes private key, but the cipher is using this mode AES-128-CBC
, when the gem tries to execute the encryption process the cipher raises an error with key must be 16 bytes. OpenSSL since may 2016 is rejecting too long values in key/IV assignment...
curious thing is that the tests are also using a 32 bytes key, but I couldn't run the tests neither
what should I do, should I use AES-256-CBC
mode or perhaps another codification for the key
any help is really appreciated
It is possible to associate a Credit card token to an existing customer?
I want to give to the user the option to have multiple credit cards and choose one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.