Greetings,
I’m trying to use Payment Fragments. I’ve updated my SDK version to 1.2.10 and models version to 1.2.36. When we call it, the modal just don’t finish. (It works just fine in versions 1.2.8 & 1.2.32).
This is the call we do:
String currencyCode = NumberFormat.getCurrencyInstance().getCurrency().getCurrencyCode();
Payment payment = new Payment();
String referenceId = UUID.randomUUID().toString();
payment.setReferenceId(referenceId);
payment.setAmount(totalValue);
payment.setCurrency(currencyCode);
try {
Intent collectPaymentIntent = new Intent(Intents.ACTION_COLLECT_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);
}
Please take a look at: https://www.youtube.com/watch?v=YvbmPDg8W7Y
Thanks!