This app is an example of how to create an OXXO payment using Ruby on Rails with Conekta API 1.0.0 and configure an endpoint to receive webhook notifications.
To run you need:
git clone [email protected]:conekta-examples/hello-conekta-oxxo-ruby-rails.git
- run
rake secrets
and copy toconfig/secrets.yml.example
and save removing.example
extension. - Then you need to create a Conekta Developer account and copy and paste the keys to
config/secrets.yml
To run webhooks in sandbox mode you'll need a third app/script to make a tunnel to your localhost or rails local server app.
You can use whatever you like to make a tunnel, in this case we gonna make an example using ngrok