...
Testing the payment feature requires an app that uses a Gini SDK which can create payment requests. Gini Health SDK is one such SDK. You can use it to create payment requests and to forward them to your banking app to view and resolve those payment requests.
An example health app, which uses Gini Health SDK, is available under the link. In order to test using our example health app, you need to use development client credentials. This will make sure ensures that Gini Health SDK uses a payment provider which will open opens your development banking app. To inject your Gini Bank API credentials into the health example app you need to fill in your credentials.
You also need to replace the ginipay-bank
URL scheme in the example health app’s LSApplicationQueriesSchemes
in the Info.plist
with the Gini Pay URL scheme we provided for your banking app.
End-to-end testing
After you’ve you set the client credentials in the example health app and installed it on your device, you can start the payment flow with a document import or by taking a photo. After following the integration steps above, your banking app will be is launched and you’ll be you’re able to fetch the payment request, show the payment information and resolve the payment after the transaction has been is confirmed. At this point, you may redirect back to the health app.
With these steps completed, you have verified verify that your app, Gini Bank API, Gini Health SDK, and Gini Bank SDK work together correctly.
...
The steps are the same, but instead of the development client credentials, you will need to use production client credentials. This will make sure ensures that Gini Health SDK receives real payment providers including the one which opens your production banking app.
For testing the flow using the example health app you will need to add your banking app’s production Gini Pay URL scheme to LSApplicationQueriesSchemes
in the example health app’s Info.plist
. Also, make sure that production client credentials are used before installing it. You can also test with a real health app. Contact us in case you don’t know which health app(s) to install for starting the payment flow.