update
This commit is contained in:
@@ -157,8 +157,9 @@ class IapPosService @Inject constructor(
|
||||
): PaymentResultEntity {
|
||||
val result = activityResult.data?.getStringExtra("Result")
|
||||
|
||||
|
||||
if (result.isNullOrEmpty()) {
|
||||
throw Exception("POS app returned no result.")
|
||||
throw Exception("پرداخت کنسل شد")
|
||||
}
|
||||
return try {
|
||||
val type = object : TypeToken<Map<String, Any>>() {}.type
|
||||
|
||||
Reference in New Issue
Block a user