ӭʹ֧׼˫ӿڼɷ񣬴Ŀ¼ṩPHPӿڴʾֱӰѸôŵPHP£ֱӷindex.php.
 1ļб
   
    alipay_config.php    ҳ棬д̼ҵ֧ȫУ룬id,֧ʺŵݣ
    index.php            ṩ̼ҵĽҳ棬ϢƷϢݣ
    return_url.php       תҳ棬֧ɹתҳ棬֧ɹתһΡ
    notify_url.php       첽֪ͨµɹ֧֪̻ͨ񣬲ʶ״̬֪̻̻ͨݷصʶ״̬޸վ״̬ȴҸ״̬Ѿȴҷ.....


    alipay_service.php    ֧ļ鲻Ҫ޸ģ
    alipay_notify.php     غļ鲻Ҫ޸ģ
 
 2ļ˵ 
   alipay_config.php ļ 
     	-- show_url     = ""                     '̻վַ
	-- seller_email	= ""	                 'дǩԼ֧˺ţ
	-- partner	= ""	         'дǩԼ֧˺ŶӦpartnerID
	-- key		= ""	 'дǩԼ˺ŶӦİȫУ
     λȡ֧ʺţȫУpartner 
      '½ www.alipay.com , ̼ҷ,Կ֧ȫУͺid, 
    notify_url                   ׹з֪ͨҳ Ҫ http://ʽ·     http://www.alipay.com/alipay/notify_url.php  עļλдȷ
    return_url                   תҳ Ҫ http://ʽ·,            http://www.alipay.com/alipay/return_url.php  עļλдȷ

       index.php ļ
        alipay_config.phpļãȻ޸ƷƣƷⲿ̼Ҷŵ
       logistics_fee             ͷ
       logistics_payment         ͷøʽSELLER_PAY(֧)BUYER_PAY(֧)                                 BUYER_PAY_AFTER_RECEIVE()
       logistics_type            ͷʽPOST(ƽ)EMS(EMS)EXPRESS()

 3return_url  notify_url 
    Ҹɹ,ӿָreturn_url ,Ҹ return_urlڵҳ,ҳչʾͻ,ҳֻиɹŻת.

  notify_url: ̨֪ͨ,ҳǳ̨е(ҺҶ),Ҹ,֧notify_urlҳڵҳ沢ӦĲݵҳ,ҳ֧ݹĲ޸վ״̬,궩Ҫҳϴӡһsuccess ֧,֧Ĳsuccess,֧ҳ. 
 
   :  Ҹ(trade_status=WAIT_SELLER_SEND_GOODS)--->֧֪ͨnotify_url--->֧success(ʾɹ,״̬²ٷ,Ǽ֪ͨ,һһηͺ͵ڶη͵ʱ3)
 ʣµĹ,ҷ,ȷջ,׳ɹ
 