Skip to end of banner
Go to start of banner

Testing

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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 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 ensures that Gini Health SDK uses a payment provider which 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 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 is launched and you’re able to fetch the payment request, show the payment information and resolve the payment after the transaction is confirmed. At this point, you may redirect back to the health app.

With these steps completed, you verify that your app, Gini Bank API, Gini Health SDK, and Gini Bank SDK work together correctly.

Testing in production

The steps are the same, but instead of the development client credentials, you need to use production client credentials. This 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 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.

  • No labels