Comment on page
Payment Response Handling
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
}
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)
NOTE
Supports 170 World Currencies.
Foloosi Technologies Pvt Ltd.
Copyrights (c) 2022 Foloosi
Last modified 1yr ago