This commit is contained in:
2026-05-17 11:08:53 +03:30
parent 9ec64fc179
commit 6aaa648128
7 changed files with 82 additions and 28 deletions
@@ -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