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 do | Details |
---|---|
1. Replace your API credentials | Use 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 URL | Change the base URL in your code/config from https://sandbox.fapshi.com to https://live.fapshi.com. |
3. Double-check everything else | Make 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.