[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/admin/ -> paypal_ipn_order.php (source)

   1  <?php
   2  /*

   3  $Id: paypal_ipn_order.php 3 2006-05-27 04:59:07Z user $

   4  

   5    osCMax Power E-Commerce

   6    http://oscdox.com

   7  

   8    Copyright 2006 osCMax

   9  

  10    Released under the GNU General Public License

  11  */
  12  
  13    include(DIR_WS_LANGUAGES.$language.'/paypal_ipn.php');
  14    include (DIR_WS_CLASSES . 'paypal_ipn.php');
  15    $ipn = new paypal_ipn($order->info['paypal_ipn_id'],$languages_id);
  16  ?>
  17          <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
  18            <tr>
  19              <td class="main"><b><?php echo HEADING_DEATILS_CUSTOMER_REGISTRATION_TITLE;?></b></td>
  20            </tr>
  21            <tr>
  22              <td class="main">
  23                <table border="0" width="100%" cellspacing="0" cellpadding="2">
  24                <tr valign="top">
  25                  <td>
  26                        <table border="0" cellspacing="0" cellpadding="2">
  27                        <tr>
  28                          <td class="main"><b><?php echo ENTRY_FIRST_NAME; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['first_name'];?></td>
  29                        </tr>
  30                        <tr>
  31                          <td class="main"><b><?php echo ENTRY_LAST_NAME; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['last_name'];?></td>
  32                        </tr>
  33                        <tr>
  34                          <td class="main"><b><?php echo ENTRY_BUSINESS_NAME; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['payer_business_name'];?></td>
  35                        </tr>
  36                        <tr>
  37                          <td class="main"><b><?php echo ENTRY_ADDRESS_NAME; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['address_name'];?></td>
  38                        </tr>
  39                        </table>
  40                  </td>
  41  
  42                  <td>
  43                        <table border="0" cellspacing="0" cellpadding="2">
  44                        <tr>
  45                          <td class="main"><b><?php echo ENTRY_ADDRESS_STREET; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['address_street'];?></td>
  46                        </tr>
  47                        <tr>
  48                          <td class="main"><b><?php echo ENTRY_ADDRESS_CITY; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['address_city'];?></td>
  49                        </tr>
  50                        <tr>
  51                          <td class="main"><b><?php echo ENTRY_ADDRESS_STATE; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['address_state'];?></td>
  52                        </tr>
  53                        <tr>
  54                          <td class="main"><b><?php echo ENTRY_ADDRESS_ZIP; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['address_zip'];?></td>
  55                        </tr>
  56                        <tr>
  57                          <td class="main"><b><?php echo ENTRY_ADDRESS_COUNTRY; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['address_country'];?></td>
  58                        </tr>
  59                        </table>
  60                  </td>
  61  
  62                  <td>
  63                        <table border="0" cellspacing="0" cellpadding="2">
  64                        <tr>
  65                          <td class="main"><b><?php echo ENTRY_EMAIL_ADDRESS; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['payer_email'];?></td>
  66                        </tr>
  67                        <tr>
  68                          <td class="main"><b><?php echo ENTRY_EBAY_ID; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['ebay_address_id'];?></td>
  69                        </tr>
  70                        <tr>
  71                          <td class="main"><b><?php echo ENTRY_PAYER_ID; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['payer_id'];?></td>
  72                        </tr>
  73                        <tr>
  74                          <td class="main"><b><?php echo ENTRY_PAYER_STATUS; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['payer_status'];?></td>
  75                        </tr>
  76                        <tr>
  77                          <td class="main"><b><?php echo ENTRY_ADDRESS_STATUS; ?></b></td><td class="main">&nbsp;<?php echo $ipn->customer['address_status'];?></td>
  78                        </tr>
  79                        </table>
  80                  </td>
  81                </tr>
  82                </table>
  83             </td>
  84            </tr>
  85            <tr>
  86              <td class="main"><b><?php echo HEADING_DETAILS_REGISTRATION_TITLE;?></b> #<?php echo $ipn->info['txn_id'];?></td>
  87            </tr>
  88            <tr>
  89              <td class="main">
  90                <table border="0" width="100%" cellspacing="0" cellpadding="2">
  91                <tr valign="top">
  92                  <td>
  93                        <table border="0" cellspacing="0" cellpadding="2">
  94                        <tr>
  95                          <td class="main"><b><?php echo ENTRY_PAYMENT_TYPE; ?></b></td><td class="main">&nbsp;<?php echo $ipn->info['payment_type'];?></td>
  96                        </tr>
  97                        <tr>
  98                          <td class="main"><b><?php echo ENTRY_PAYMENT_STATUS; ?></b></td><td class="main">&nbsp;<?php echo $ipn->info['payment_status'];?></td>
  99                        </tr>
 100                        <tr>
 101                          <td class="main"><b><?php echo ENTRY_PENDING_REASON; ?></b></td><td class="main">&nbsp;<?php echo $ipn->info['pending_reason'];?></td>
 102                        </tr>
 103                        <tr>
 104                          <td class="main"><b><?php echo ENTRY_INVOICE; ?></b></td><td class="main">&nbsp;<?php echo $ipn->info['invoice'];?></td>
 105                        </tr>
 106                        <tr>
 107                          <td class="main"><b><?php echo ENTRY_PAYMENT_DATE; ?></b></td><td class="main">&nbsp;<?php echo $ipn->info['payment_date'];?></td>
 108                        </tr>
 109                        </table>
 110                  </td>
 111  
 112                  <td>
 113                        <table border="0" cellspacing="0" cellpadding="2">
 114                        <tr>
 115                          <td class="main"><b><?php echo ENTRY_CURRENCY; ?></b></td><td class="main">&nbsp;<?php echo $ipn->info['mc_currency'];?></td>
 116                        </tr>
 117                        <tr>
 118                          <td class="main"><b><?php echo ENTRY_GROSS_AMOUNT; ?></b></td><td class="main">&nbsp;<?php echo $ipn->txn['mc_gross'];?></td>
 119                        </tr>
 120                        <tr>
 121                          <td class="main"><b><?php echo ENTRY_PAYMENT_FEE; ?></b></td><td class="main">&nbsp;<?php echo $ipn->txn['mc_fee'];?></td>
 122                        </tr>
 123                        <tr>
 124                          <td class="main"><b><?php echo ENTRY_EXCHANGE_RATE; ?></b></td><td class="main">&nbsp;<?php echo $ipn->txn['exchange_rate'];?></td>
 125                        </tr>
 126                        <tr>
 127                          <td class="main"><b><?php echo ENTRY_CART_ITEMS; ?></b></td><td class="main">&nbsp;<?php echo $ipn->txn['num_cart_items'];?></td>
 128                        </tr>
 129                        </table>
 130                  </td>
 131                  <td>
 132                        <table border="0" cellspacing="0" cellpadding="2">
 133                        <tr>
 134                          <td class="main">&nbsp;<b><?php echo ENTRY_CUSTOMER_COMMENTS; ?></b></td>
 135                        </tr>
 136                        <tr>
 137                          <td class="main">&nbsp;<?php echo nl2br(tep_db_output($ipn->customer['memo']));?></td>
 138                        </tr>
 139                        </table>
 140                  </td>
 141                </tr>
 142                </table>
 143             </td>
 144            </tr>


Generated: Fri Jan 1 13:43:16 2010 Cross-referenced by PHPXref 0.7