本文整理匯總了PHP中AlipaySubmit::buildForm方法的典型用法代碼示例。如果您正苦於以下問題:PHP AlipaySubmit::buildForm方法的具體用法?PHP AlipaySubmit::buildForm怎麽用?PHP AlipaySubmit::buildForm使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類AlipaySubmit
的用法示例。
在下文中一共展示了AlipaySubmit::buildForm方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: AlipaySubmit
function build_link($para_temp)
{
$button_name = "確認";
$alipaySubmit = new AlipaySubmit();
$html_text = $alipaySubmit->buildForm($para_temp, $this->alipay_gateway_new, "get", $button_name, $this->alipay_config);
return $html_text;
}
示例2: AlipaySubmit
function trade_create_by_buyer($para_temp)
{
$button_name = "確認";
$alipaySubmit = new AlipaySubmit();
$html_text = $alipaySubmit->buildForm($para_temp, $this->alipay_gateway_new, "get", $button_name, $this->aliapy_config);
return $html_text;
}
示例3: AlipaySubmit
/**
* 構造快捷登錄用戶物流地址查詢接口
* @param $para_temp 請求參數數組
* @return 表單提交HTML信息
*/
function user_logistics_address_query($para_temp)
{
//設置按鈕名稱
$button_name = "確認";
//生成表單提交HTML文本信息
$alipaySubmit = new AlipaySubmit();
$html_text = $alipaySubmit->buildForm($para_temp, $this->alipay_gateway_new, "get", $button_name, $this->aliapy_config);
return $html_text;
}
示例4: AlipaySubmit
/**
* 構造即時到帳接口
* @param $para_temp 請求參數數組
* @return 表單提交HTML信息
*/
function create_direct_pay_by_user($para_temp)
{
//設置按鈕名稱
$button_name = "確認";
//生成表單提交HTML文本信息
$alipaySubmit = new AlipaySubmit();
$html_text = $alipaySubmit->buildForm($para_temp, $this->alipay_gateway_new, "get", $button_name, $this->aliapy_config);
return $html_text;
}
示例5: AlipaySubmit
/**
* 構造快捷登錄接口
* @param $para_temp 請求參數數組
* @return 表單提交HTML信息
*/
function alipay_auth_authorize($para_temp)
{
//設置按鈕名稱
$button_name = "";
//生成表單提交HTML文本信息
$alipaySubmit = new AlipaySubmit();
$html_text = $alipaySubmit->buildForm($para_temp, $this->alipay_gateway_new, "get", $button_name, $this->aliapy_config);
return $html_text;
}
示例6: trim
/**
* 構造快捷登錄接口
* @param $para_temp 請求參數數組
* @return 表單提交HTML信息
*/
function alipay_auth_authorize($para_temp)
{
//增加基本配置參數
$para_temp['service'] = 'alipay.auth.authorize';
$para_temp['target_service'] = 'user.auth.quick.login';
$para_temp['partner'] = trim($this->aliapy_config['partner']);
$para_temp['return_url'] = trim($this->aliapy_config['return_url']);
$para_temp['_input_charset'] = trim(strtolower($this->aliapy_config['input_charset']));
$button_name = "支付寶快捷登錄";
//生成表單提交HTML文本信息
$alipaySubmit = new AlipaySubmit();
$html_text = $alipaySubmit->buildForm($para_temp, $this->alipay_gateway_new, "get", $button_name, $this->aliapy_config);
return $html_text;
}