[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 554 lignes (30 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
datetime_to_sql_format($paypalDateTime) X-Ref |
functions used by payment module class for Paypal IPN payment method |
ipn_debug_email($message, $email_address = '', $always_send = false, $subjecttext = 'IPN DEBUG message') X-Ref |
Pas de description |
ipn_get_stored_session($session_stuff) X-Ref |
Pas de description |
ipn_lookup_transaction($postArray) X-Ref |
look up parent/original transaction record data and return matching order info if found, along with txn_type |
ipn_validate_transaction($info, $postArray, $mode='IPN') X-Ref |
IPN Validation - match email addresses - ensure that "VERIFIED" has been returned (otherwise somebody is trying to spoof) |
select_pp_currency() X-Ref |
Pas de description |
valid_payment($amount, $currency, $mode = 'IPN') X-Ref |
Pas de description |
ipn_determine_txn_type($postArray, $txn_type = 'unknown') X-Ref |
is this an existing transaction? (1) we find a matching record in the "paypal" table (2) we check for valid txn_types or payment_status such as Denied, Refunded, Partially-Refunded, Reversed, Voided, Expired |
ipn_create_order_array($new_order_id, $txn_type) X-Ref |
Create order record from IPN data |
ipn_create_order_history_array($insert_id) X-Ref |
Create order-history record from IPN data |
ipn_create_order_update_array($txn_type) X-Ref |
Create order-update from IPN data |
ipn_simulate_ipn_handler($count) X-Ref |
simulator |
ipn_add_error_log($message, $paypal_instance_id = '') X-Ref |
Debug logging |
ipn_fopen($filename) X-Ref |
Debug to file |
getRequestBodyContents(&$handle) X-Ref |
Pas de description |
ipn_postback($mode = 'IPN') X-Ref |
Verify IPN by sending it back to PayPal for confirmation |
ipn_update_orders_status_and_history($ordersID, $new_status = 1, $txn_type) X-Ref |
Write order-history update to ZC tables denoting the update supplied by the IPN |
replace_accents($s) X-Ref |
strip out accented characters to reasonable approximations of english equivalents |
Généré le : Mon Nov 26 16:45:43 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |