After testing your implementation in your sandbox environment, the next step
is to set up your production environment and go live.
- Change the
environment parameter to production.
- Create a production API key
<form action='/' id='payment-form'>
<Embed
gr4vyId='example'
environment='production',
...
/>
<input type="submit" />
</form>
setup({
gr4vyId: "example",
environment: "production"
...
});
gr4vy.setup({
gr4vyId: "example",
environment "production",
...
});
The instance ID is the unique identifier for the deployment of the system and is included in every API call.
Together with the environment (sandbox or production) it is used to connect to the right APIs, as well as dashboard.
After completion, your transactions should appear in production environment.
Summary