Feat(Core): Pass payment result data to WebView
Update the `onPaymentResult` JavaScript callback to include the serialized `PaymentResultEntity`.
This commit is contained in:
@@ -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)});"
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user