Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/enrol/authorize/const.php File Reference

Go to the source code of this file.

Enumerations

enum  AN_METHOD_CC
enum  AN_METHOD_ECHECK
enum  AN_STATUS_NONE
enum  AN_STATUS_AUTH
enum  AN_STATUS_CAPTURE
enum  AN_STATUS_AUTHCAPTURE
enum  AN_STATUS_CREDIT
enum  AN_STATUS_VOID
enum  AN_STATUS_EXPIRE
enum  AN_STATUS_UNDERREVIEW
enum  AN_STATUS_APPROVEDREVIEW
enum  AN_STATUS_REVIEWFAILED
enum  AN_STATUS_TEST
enum  AN_ACTION_NONE
enum  AN_ACTION_AUTH_ONLY
enum  AN_ACTION_CAPTURE_ONLY
enum  AN_ACTION_AUTH_CAPTURE
enum  AN_ACTION_PRIOR_AUTH_CAPTURE
enum  AN_ACTION_CREDIT
enum  AN_ACTION_VOID
enum  AN_RETURNZERO
enum  AN_APPROVED
enum  AN_DECLINED
enum  AN_ERROR
enum  AN_REVIEW

Enumeration Type Documentation

Definition at line 71 of file const.php.

Definition at line 69 of file const.php.

Definition at line 70 of file const.php.

Definition at line 73 of file const.php.

#@- #@+ Actions used in AuthorizeNet::process() method.

NONE: No action. Function always returns false. AUTH_ONLY: Used to authorize only, don't capture. CAPTURE_ONLY: Authorization code was received from a bank over the phone. AUTH_CAPTURE: Used to authorize and capture (default action). PRIOR_AUTH_CAPTURE: Used to capture, it was authorized before. CREDIT: Used to return funds to a customer's credit card. VOID: Used to cancel an exiting pending transaction.

Credit rules: 1. It can be credited within 120 days after the original authorization was obtained. 2. Amount can be any amount up to the original amount charged. 3. Captured/pending settlement transactions cannot be credited, instead a void must be issued to cancel the settlement. NOTE: It assigns a new transactionID to the original transaction. We should save it, so admin can cancel new transaction if it is a mistake return.

Void rules: 1. These requests effectively cancel the Capture request that would start the funds transfer process. 2. It mustn't be settled. Please set up settlement date correctly. 3. These transactions can be voided: authorized/pending capture, captured/pending settlement, credited/pending settlement

Definition at line 68 of file const.php.

Definition at line 72 of file const.php.

Definition at line 74 of file const.php.

Definition at line 86 of file const.php.

Definition at line 87 of file const.php.

enum AN_ERROR

Definition at line 88 of file const.php.

#@+ Authorize.net payment methods.

Credit Card (cc) eCheck (echeck)

Definition at line 9 of file const.php.

Definition at line 10 of file const.php.

#@- #@+ Return codes for AuthorizeNet::process() method.

AN_RETURNZERO: No connection was made on authorize.net. AN_APPROVED: The transaction was accepted. AN_DECLINED: The transaction was declined. AN_REVIEW: The transaction was held for review.

Definition at line 85 of file const.php.

enum AN_REVIEW

Definition at line 89 of file const.php.

Definition at line 38 of file const.php.

Definition at line 31 of file const.php.

Definition at line 33 of file const.php.

Definition at line 32 of file const.php.

Definition at line 34 of file const.php.

Definition at line 36 of file const.php.

#@- #@+ Order status used in enrol_authorize table.

NONE: New order or order is in progress. TransactionID hasn't received yet. AUTH: Authorized/Pending Capture. CAPTURE: Captured. AUTHCAPTURE: Authorized/Captured CREDIT: Refunded. VOID: Cancelled. EXPIRE: Expired. Orders be expired unless be accepted within 30 days.

These are valid only for ECHECK: UNDERREVIEW: Hold for review. APPROVEDREVIEW: Approved review. REVIEWFAILED: Review failed. TEST: Tested (dummy status). Created in TEST mode and TransactionID is 0.

Definition at line 30 of file const.php.

Definition at line 39 of file const.php.

Definition at line 40 of file const.php.

Definition at line 37 of file const.php.

Definition at line 35 of file const.php.

 All Data Structures Namespaces Files Functions Variables Enumerations