Public Member Functions | |
| ipn_query ($paypal_ipn_id) | |
| query ($paypal_ipn_id) | |
Public Attributes | |
| $info | |
| $txn | |
| $customer | |
Definition at line 16 of file ipn_query.class.php.
|
|
Definition at line 19 of file ipn_query.class.php. References query(). 00019 { 00020 $this->info = array(); 00021 $this->txn = array(); 00022 $this->customer = array(); 00023 $this->query($paypal_ipn_id); 00024 }
|
|
|
Definition at line 26 of file ipn_query.class.php. References $ipn, $ipn_query, date_added, last_modified, tep_db_fetch_array(), and tep_db_query(). Referenced by ipn_query(). 00026 { 00027 $ipn_query = tep_db_query("select * from " . TABLE_PAYPAL . " where paypal_ipn_id = '" . (int)$paypal_ipn_id . "'"); 00028 $ipn = tep_db_fetch_array($ipn_query); 00029 $this->info = array( 00030 'txn_type' => $ipn['txn_type'], 00031 'reason_code' => $ipn['reason_code'], 00032 'payment_type' => $ipn['payment_type'], 00033 'payment_status' => $ipn['payment_status'], 00034 'pending_reason' => $ipn['pending_reason'], 00035 'invoice' => $ipn['invoice'], 00036 'mc_currency' => $ipn['mc_currency'], 00037 'payment_date' => $ipn['payment_date'], 00038 'business' => $ipn['business'], 00039 'receiver_email' => $ipn['receiver_email'], 00040 'receiver_id' => $ipn['receiver_id'], 00041 'paypal_address_id' => $ipn['papal_address_id'], 00042 'txn_id' => $ipn['txn_id'], 00043 'parent_txn_id' => $ipn['parent_txn_id'], 00044 'notify_version' => $ipn['notify_version'], 00045 'verify_sign' => $ipn['verify_sign'], 00046 'last_modified' => $ipn['last_modified'], 00047 'date_added' => $ipn['date_added']); 00048 00049 $this->txn = array( 00050 'num_cart_items' => $ipn['num_cart_items'], 00051 'mc_gross' => $ipn['mc_gross'], 00052 'mc_fee' => $ipn['mc_fee'], 00053 'payment_gross' => $ipn['payment_gross'], 00054 'payment_fee' => $ipn['payment_fee'], 00055 'settle_amount' => $ipn['settle_amount'], 00056 'settle_currency' => $ipn['settle_currency'], 00057 'exchange_rate' => $ipn['exchange_rate']); 00058 00059 $this->customer = array( 00060 'first_name' => $ipn['first_name'], 00061 'last_name' => $ipn['last_name'], 00062 'payer_business_name' => $ipn['payer_business_name'], 00063 'address_name' => $ipn['address_name'], 00064 'address_street' => $ipn['address_street'], 00065 'address_city' => $ipn['address_city'], 00066 'address_state' => $ipn['address_state'], 00067 'address_zip' => $ipn['address_zip'], 00068 'address_country' => $ipn['address_country'], 00069 'address_status' => $ipn['address_status'], 00070 'address_owner' => $ipn['address_owner'], 00071 'payer_email' => $ipn['payer_email'], 00072 'payer_id' => $ipn['payer_id'], 00073 'payer_status' => $ipn['payer_status'], 00074 'memo' => $ipn['memo']); 00075 }
|
|
|
Definition at line 17 of file ipn_query.class.php. |
|
|
Definition at line 17 of file ipn_query.class.php. |
|
|
Definition at line 17 of file ipn_query.class.php. |
1.4.4