Skip to content

Instantly share code, notes, and snippets.

@joaomilho
Created April 16, 2013 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joaomilho/5398703 to your computer and use it in GitHub Desktop.
Save joaomilho/5398703 to your computer and use it in GitHub Desktop.
# Creation of a payment
client = Pagosonline::Client.new(merchant_id: 123, account_id: 123, login: 'foo', key: 'foo')
client.payment reference: '...', description: '50COP Donation', amount: 1000, currency: "COP", response_url: 'http...', confirmation_url: 'http:...', language: 'es'
@joaomilho
Copy link
Author

You can pass also test: true to client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment