Help & Support

How to Switch from Test (Sandbox) to Live (Production) Environment when using the Fapshi API

When you're ready to go live — i.e. start processing real payments via Fapshi instead of just testing — you need to make a few changes. These are the steps:

What you must doDetails
1. Replace your API credentialsUse the Live apiuser and apikey instead of the sandbox/test ones. You can find these on the developers tab when you create a service.
2. Switch your base URLChange the base URL in your code/config from https://sandbox.fapshi.com to https://live.fapshi.com.
3. Double-check everything elseMake sure your configuration (webhooks, callback URLs, etc.) and options are correct for production; make sure you’re using real credentials and that your account is activated.

Once those changes are made, your integration should be running in “live mode” — real transactions, real money, etc.