Good practices
To search in the page use Ctrl+F on your keyboard
In order to optimize the use of the platform and the response times, here are some good practices.
Use of the Sogenactif wallet
When querying Sogenactif for the contents of a wallet, we recommend caching the wallet contents to avoid using the getWalletData method for each payment or wallet management operation.
Use of getTransactionData in the absence of a response from Sogenactif
If you do not receive a response from Sogenactif for a transaction, you can use the getTransactionData method to find out the status of the transaction. However, wait a few minutes between your calls so as not to overwhelm Sogenactif with requests if the platform is already in difficulty.
Use of the initialization with Sogenactif In-App
When you use several methods in a row requiring the same initialization method (e.g. getWalletData then addCard which both use the walletInitialize method), you don’t need to do an initialization between the two methods. Use the two methods in a row:
walletInitialize then getWalletData then addCard and not walletInitialize and getWalletData then walletInitialize and addCard.