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.

//Implementing
public class ActDemoPay extends AppCompatActivity implements FPayListener {

    @Override
    public void onTransactionSuccess(String transactionId, String responseCode) {
        // Success Callback
    }

    @Override
    public void onTransactionFailure(String error, String transactionId, String responseCode) {
        // Failure Callback.
    }

    @Override
    public void onTransactionCancelled(String responseCode) {
        // Transaction Cancelled by User
    }

}

Foloosi Log

You can enable / disable the SDK logs by using the line of code below. It will be disabled by default.

FoloosiLog.setLogVisible(true or false);

List of properties available,

Support

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

Developed by

Foloosi Technologies Pvt Ltd.

License

Copyrights (c) 2024 Foloosi

Last updated