Foloosi
Search…
⌃K
Links

Payment Response Handling

Implement Payment Listener

Set and Implement our payment listener to receive payment results. Use the code below to obtain the payment result.
1
extension ViewController: FoloosiDelegate{
2
func onPaymentError(descriptionOfError: String, transactionId: String, responseCode: String) {
3
// Failure Callback.
4
}
5
6
func onPaymentSuccess(transactionId: String, responseCode: String) {
7
// Success Callback
8
}
9
}

Foloosi Log

You can enable / disable the SDK logs by using the line of code below. It will be disabled by default.
FLog.setLogVisible(debug: true or false)

Sample Payment Reference.

Please check this link for sample payment with above steps.
NOTE
Supports 170 World Currencies.

Support

Visit https://www.foloosi.com for support requests or email [email protected]

Developed by

Foloosi Technologies Pvt Ltd.

License

Copyrights (c) 2022 Foloosi