<%temp_customer_manage_account_fill_out_handle=site.object_p%>
<!-- object[<%=site.object_p%>]::temp_customer_manage_account_fill_out_handle -->
<%
if request("payment")="" then
site.Error.info="请选择支付方式！"
site.Error.location="back"
site.Error.err()
end if

site.temp.interface.defray.DefrayAmountCheck()
site.temp.customer.order.order_money=replace(site.temp.interface.defray.defray_amount,",","")
site.temp.customer.order.order_kind="在线充值"
site.temp.customer.order.goods_price=1
site.temp.customer.order.goods_num=site.temp.customer.order.order_money
site.temp.customer.order.order_temp=0
site.temp.customer.order.goods_id=0
'site.temp.customer.order.order_payment=payment_id(0)
'site.temp.customer.order.order_payment_description=payment_id(1)

if not site.temp.customer.order.MakeOrder(1) then
site.Error.info="系统错误"&site.Error.info
site.Error.location="back"
site.Error.err()
end if
'/////////////////////////////////////////////////////////////////////////////////////////////////////
site.temp.customer.account.consume_sum=replace(site.temp.interface.defray.defray_amount,",","")
site.temp.customer.account.consume_kind="在线充值"
site.temp.customer.account.consume_out="入帐"
site.temp.customer.account.order_mark=site.temp.customer.order.order_mark
site.temp.customer.account.consume_temp=0

if not site.temp.customer.account.MakeConsume() then
site.Error.info="系统错误"&site.Error.info
site.Error.location="back"
site.Error.err()
end if
'/////////////////////////////////////////////////////////////////////////////////////////////////////
response.redirect "do.asp?tr=interface|defray|in&order_mark="&site.temp.customer.order.order_mark&"&consume_id="&site.temp.customer.account.consume_id  
%>
