[ 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/ -> paypal.php (sommaire)

paypal.php payment module class for Paypal IPN payment method

Copyright: Copyright 2003-2007 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: paypal.php 6528 2007-06-25 23:25:27Z drbyte $
Poids: 490 lignes (30 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

paypal:: (17 méthodes):
  paypal()
  update_status()
  javascript_validation()
  selection()
  pre_confirmation_check()
  confirmation()
  process_button()
  before_process()
  check_referrer()
  admin_notification()
  after_process()
  output_error()
  check()
  install()
  remove()
  keys()
  _getPDTresults()


Classe: paypal  - X-Ref

paypal IPN payment method class

paypal($paypal_ipn_id = '')   X-Ref
constructor

param: int $paypal_ipn_id
return: paypal

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
Displays Credit Card Information Submission Fields on the Checkout Payment Page
In the case of paypal, this only displays the paypal title

return: array

pre_confirmation_check()   X-Ref
Normally evaluates the Credit Card Type for acceptance and the validity of the Credit Card Number & Expiration Date
Since paypal module is not collecting info, it simply skips this step.

return: boolean

confirmation()   X-Ref
Display Credit Card Information on the Checkout Confirmation Page
Since none is collected for paypal before forwarding to paypal site, this is skipped

return: boolean

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 transaction info to the order and process any results that come back from the payment gateway


check_referrer($zf_domain)   X-Ref
Checks referrer

param: string $zf_domain
return: boolean

admin_notification($zf_order_id)   X-Ref
Build admin-page components

param: int $zf_order_id
return: string

after_process()   X-Ref
Post-processing activities

return: boolean

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

return: boolean

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

_getPDTresults($orderAmount, $my_currency)   X-Ref
Pas de description



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