[英]CCavenue Web View Integration
我是 ccavenue 支付網關與 php 和 xamarin 集成的新手。 我有我所有的憑據,並嘗試了很多整合它,但我未能整合它。 我在此處附上代碼,請有人幫助我使用 php 在 xamarin 中集成 ccavenue web 視圖集成。
這是我的 xamarin forms 支付網關 class 文件:
public PaymentGatewayWebView()
{
var url = new WebView();
url.Source = PaymentGatewayModel.GetInstance().GetUrl().URL;
Content = url;
}
上述代碼用於在 xamarin 中創建 webview。
我如何在 xamarin 中使用 webview 以及如何從后面的代碼中綁定 html 中的值
在此處輸入代碼
var url = new HtmlWebViewSource() { //Source = PaymentGatewayModel.GetInstance().GetUrl().URL
Html = @"<html><body><form method='post' name='redirect' action=PaymentGatewayModel.GetInstance().GetUrl().URL> <input type=hidden name=encRequest value=PaymentGatewayModel.GetInstance().GetUrl().EncryptedData> <input type=hidden name=access_code value=PaymentGatewayModel.GetInstance().GetUrl().AccessCode> </ form ></body></html>" };
`
CCAvenue 支付網關與 PHP 的集成非常簡單易行。 但是,我不知道 Xamarin 是一個開源移動平台,並希望通過 PHP 集成它。 請用合適的例子和描述來問這個問題。
這是CCAvenue付款的逐步集成鏈接API: https://phppot.com/php/ccavenue-payment-gateway-integration-in-php-website-with-step-by-step-example/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.