Capability Manager is Crashing

I am using below dependencies :slight_smile:

compile ‘co.poynt.api:android-api-model:1.2.94@jar’
compile ‘co.poynt.android.sdk:poynt-sdk:1.2.24@aar’

Whenever I try to make the payment, I get a dialog with “Unfortunately Capability Manager has stopped”.

Payment function which I am using:

private void launchPoyntPayment(String paymentValue) {
    String currencyCode = NumberFormat.getCurrencyInstance().getCurrency().getCurrencyCode();
    Payment payment = new Payment();
    String referenceId = UUID.randomUUID().toString();
    payment.setReferenceId(referenceId);
    payment.setAmount(Math.round(Double.parseDouble(paymentValue)*100));
    payment.setCurrency(currencyCode);
    payment.setOrderId(UUID.randomUUID().toString());
    // start Payment activity for result
    try {
        Intent collectPaymentIntent = new Intent(Intents.ACTION_COLLECT_MULTI_TENDER_PAYMENT);
        collectPaymentIntent.putExtra(Intents.INTENT_EXTRAS_PAYMENT, payment);
        startActivityForResult(collectPaymentIntent, COLLECT_PAYMENT_REQUEST);
    } catch (ActivityNotFoundException ex) {
        Log.e(TAG, "Poynt Payment Activity not found - did you install PoyntServices?", ex);
    }
}

@sandeep_agrawal

Happy to help. Could you please share all the dependencies from your gradle file?