For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

extension ViewController: FoloosiDelegate{
    func onPaymentError(descriptionOfError: String, transactionId: String, responseCode: String) {
        // Failure Callback.
    }

    func onPaymentSuccess(transactionId: String, responseCode: String) {
         // Success Callback
    }
}

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) 2025 Foloosi

Last updated

Was this helpful?