WordPress.org

Plugin Directory


Ignore:
Timestamp:
07/17/12 17:15:13 (6 years ago)
Author:
waisir
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • alipay/trunk/includes/api_alipay/inc.alipayto.php

    r570762 r573668  
    8989} 
    9090     
     91if($alipay_service=='create_partner_trade_by_buyer' || $alipay_service=='trade_create_by_buyer') 
     92{ 
     93    $receive_name       = $orderInfo['ordname'];            //收货人姓名,如:张三 
     94    $receive_address    = $orderInfo['address'];            //收货人地址,如:XX省XXX市XXX区XXX路XXX小区XXX栋XXX单元XXX号 
     95    $receive_zip        = $orderInfo['postcode'];               //收货人邮编,如:123456 
     96    $receive_phone      = "0571-88888888";      //收货人电话号码,如:0571-81234567 
     97    $receive_mobile     = $orderInfo['phone'];      //收货人手机号码,如:13312341234 
     98     
     99     
     100    //$parameter['service']='trade_create_by_buyer'; 
     101    $parameter['logistics_fee'] = $orderInfo['freight']; 
     102    $parameter['logistics_type'] = 'EXPRESS'; 
     103    $parameter['logistics_payment'] = $orderInfo['logistics_payment']; 
     104    $parameter['receive_name'] = $receive_name; 
     105    $parameter['receive_address'] = $receive_address; 
     106    $parameter['receive_zip'] = $receive_zip; 
     107    $parameter['receive_phone'] = $receive_phone; 
     108    $parameter['receive_mobile'] = $receive_mobile; 
    91109 
    92 $receive_name       = $orderInfo['ordname'];            //收货人姓名,如:张三 
    93 $receive_address    = $orderInfo['address'];            //收货人地址,如:XX省XXX市XXX区XXX路XXX小区XXX栋XXX单元XXX号 
    94 $receive_zip        = $orderInfo['postcode'];               //收货人邮编,如:123456 
    95 $receive_phone      = "0571-88888888";      //收货人电话号码,如:0571-81234567 
    96 $receive_mobile     = $orderInfo['phone'];      //收货人手机号码,如:13312341234 
    97  
    98  
    99 $parameter['service']='trade_create_by_buyer'; 
    100 $parameter['logistics_fee'] = $orderInfo['freight']; 
    101 $parameter['logistics_type'] = 'EXPRESS'; 
    102 $parameter['logistics_payment'] = $orderInfo['logistics_payment']; 
    103 $parameter['receive_name'] = $receive_name; 
    104 $parameter['receive_address'] = $receive_address; 
    105 $parameter['receive_zip'] = $receive_zip; 
    106 $parameter['receive_phone'] = $receive_phone; 
    107 $parameter['receive_mobile'] = $receive_mobile; 
    108  
    109  
     110} 
    110111//print_r($parameter); 
    111112//die(); 
Note: See TracChangeset for help on using the changeset viewer.