From 1246a3577178a8b936536358535ab8892f280966 Mon Sep 17 00:00:00 2001 From: Amir Mousavi Date: Mon, 8 Jun 2026 10:43:11 +0330 Subject: [PATCH] Feat(Core): Pass payment result data to WebView Update the `onPaymentResult` JavaScript callback to include the serialized `PaymentResultEntity`. --- core/src/main/java/com/example/core/data/PaymentResultImpl.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/com/example/core/data/PaymentResultImpl.kt b/core/src/main/java/com/example/core/data/PaymentResultImpl.kt index 8c3e2d9..0b7e43b 100644 --- a/core/src/main/java/com/example/core/data/PaymentResultImpl.kt +++ b/core/src/main/java/com/example/core/data/PaymentResultImpl.kt @@ -10,8 +10,7 @@ class PaymentResultImpl @Inject constructor( ) : PaymentResult { override fun post(paymentResultEntity: PaymentResultEntity?): String { - return "window.WebV.onPaymentResult();" -// return "window.WebV.onPaymentResult(${gson.toJson(paymentResultEntity)});" + return "window.WebV.onPaymentResult(${gson.toJson(paymentResultEntity)});" } } \ No newline at end of file