alipay_form.php

来自「用 php + mysql 驱动的在线商城系统」· PHP 代码 · 共 31 行

PHP
31
字号
<?php

/*
	[ShoopD] modules/payment/alipay_form.php

	Version: 1.5
	Author: soolan (soolan@qq.com)
	Copyright: soolan (www.shoopd.com)
	Last Modified: 2006/3/11 10:00

*/

$form_info[ac]	= 'cmd0001subject'.$settings['store_name'].'order_no'.$timestamp.'_'.$orders_id.'_1price'.$pay_total.'type1number1transport3seller'.$cache_payment[$order_data['payment_method']]['pa']['account']['value'].$cache_payment[$order_data['payment_method']]['pa']['safenum']['value'];

$form_info[form_action]	=	'https://www.alipay.com/payto:'.$cache_payment[$order_data['payment_method']]['pa']['account']['value'];

$form_info[hidden]		=	
	'<input name="cmd" value="0001" type="hidden">'. 
	'<input name="subject" value="'.$settings['store_name'].'" type="hidden">'. 
	'<input name="order_no" value="'.$timestamp.'_'.$orders_id.'_1" type="hidden">'. 
	'<input name="price" value="'.$pay_total.'" type="hidden">'.   
	'<input name="type" value="1" type="hidden">'.
	'<input name="number" value="1" type="hidden">'.
	'<input name="transport" value="3" type="hidden">'.
	//'<input name="readonly" value="true" type="hidden">'.  
	//'<input name="buyer" value="'.$customer_email.'" type="hidden">'.
	'<input name="ac" value="'.md5($form_info['ac']).'" type="hidden">';
											

?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?