Feat(Core): Pass payment result data to WebView

Update the `onPaymentResult` JavaScript callback to include the serialized `PaymentResultEntity`.
This commit is contained in:
Amir Mousavi
2026-06-08 10:43:11 +03:30
parent 08060001e1
commit 1246a35771
@@ -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)});"
}
}