Skip to content
Irio edited this page Apr 30, 2013 · 4 revisions

According to MoIP terms, you must show to your end-user that the payment was processed by MoIP (with its url), tell him to contact MoIP in case of problems and provide him his payment code, available through the payment_request.code method.

To get your production keys - which will make real transactions, send an e-mail with the following information to integracao@moip.com.br. It should be enough.

* Testing *
<Staging URL, ready to be tested by MoIP team>

- Instructions
Login with the following user attributes:
  e-mail: <bla@foo.com>
  password: <"123123">
<fill with more info about how to get to the payment process>

* Accounts details *
Sandbox login: <login>
Production login: <login>, with e-mail <e-mail>

With production keys in your hands, lets get into some coding.

MyMoip.environment = 'production'
MyMoip.production_token = 'your_moip_production_token'
MyMoip.production_key   = 'your_moip_production_key'

Remember: your production token/key is different from the sandbox ones, so you should maintain your testing keys if you plan to keep playing in the sandbox.

Clone this wiki locally