[ Index ]
 

Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/includes/modules/payment/ -> authorizenet.php (sommaire)

authorize.net SIM payment method class

Copyright: Copyright 2003-2006 Zen Cart Development Team
Copyright: Portions Copyright 2003 osCommerce
License: http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
Version: $Id: authorizenet.php 4960 2006-11-20 01:46:46Z drbyte $
Poids: 411 lignes (20 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

authorizenet:: (17 méthodes):
  authorizenet()
  hmac()
  CalculateFP()
  InsertFP()
  update_status()
  javascript_validation()
  selection()
  pre_confirmation_check()
  confirmation()
  process_button()
  before_process()
  after_process()
  get_error()
  check()
  install()
  remove()
  keys()


Classe: authorizenet  - X-Ref

Enter description here...

authorizenet()   X-Ref

return: authorizenet

hmac($key, $data)   X-Ref
compute HMAC-MD5

param: string $key
param: string $data
return: string

CalculateFP($loginid, $txnkey, $amount, $sequence, $tstamp, $currency = "")   X-Ref
Pas de description

InsertFP($loginid, $txnkey, $amount, $sequence, $currency = "")   X-Ref
Inserts the hidden variables in the HTML FORM required for SIM
Invokes hmac function to calculate fingerprint.

param: string $loginid
param: string $txnkey
param: float $amount
param: string $sequence
param: float $currency
return: string

update_status()   X-Ref
calculate zone matches and flag settings to determine whether this module should display to customers or not


javascript_validation()   X-Ref
JS validation which does error-checking of data-entry if this module is selected for use
(Number, Owner, and CVV Lengths)

return: string

selection()   X-Ref
Display Credit Card Information Submission Fields on the Checkout Payment Page

return: array

pre_confirmation_check()   X-Ref
Evaluates the Credit Card Type for acceptance and the validity of the Credit Card Number & Expiration Date


confirmation()   X-Ref
Display Credit Card Information on the Checkout Confirmation Page

return: array

process_button()   X-Ref
Build the data and actions to process when the "Submit" button is pressed on the order-confirmation screen.
This sends the data to the payment gateway for processing.
(These are hidden fields on the checkout confirmation page)

return: string

before_process()   X-Ref
Store the CC info to the order and process any results that come back from the payment gateway


after_process()   X-Ref
Post-processing activities

return: boolean

get_error()   X-Ref
Used to display error message details

return: array

check()   X-Ref
Check to see whether module is installed

return: boolean

install()   X-Ref
Install the payment module and its configuration settings


remove()   X-Ref
Remove the module and all its settings


keys()   X-Ref
Internal list of configuration keys used for configuration of the module

return: array



Généré le : Mon Nov 26 16:45:43 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics