Showing this error when a user is not registered or verified in simpl.
Expected an error call back.
//TO check either user is approved or not
SimplSdk.isApproved(response.sdk_config.client_id, response.sdk_config.phone, response.sdk_config.email, false,/*To test in sandbox mode*/
(result) => console.log("User approved: "+result),
(approvalError) => console.log("User approval error: "+approvalError));
//Authorise the transaction
SimplSdk.authorizeTransaction(10000/*amount_in_paise*/,"abcd1234"/*order_id*/, (transactionToken) => console.log("Transaction Token: "+transactionToken),
(authError) => console.log("Authentication error: "+authError));
}
Current user not allowed to use Simpl
Showing this error when a user is not registered or verified in simpl.
Expected an error call back.