How to enable log from SDK using code ?

There is an initiation method that need to be execute.
Please follow below code to make it happen.

Here is what look like in code :

................................

SdkUIFlowBuilder.init(CONTEXT, BuildConfig.CLIENT_KEY, BuildConfig.BASE_URL, new TransactionFinishedCallback()
{
@Override
public void onTransactionFinished(TransactionResult result) {
// Handle finished transaction here.
}
})
.enableLog(true)
.buildSDK();

................................

NOTE : this can be used only if you integrate with Android.

 

 

 

Was this article helpful?
3 out of 4 found this helpful
Can't find your answer? How about looking at our Tech Docs?

Tech docs

Our API and plug-ins play well with platforms from PHP, Shopify, Woo Commerce to Android and many more.

Learn more