Payment method abstract model
Located in /Payment/Model/Method/Abstract.php (line 32)
Varien_Object | --Mage_Payment_Model_Method_Abstract
Class | Description |
---|---|
Mage_Paypal_Model_Express | PayPal Express Module |
Mage_Paypal_Model_Standard | PayPal Standard Checkout Module |
Mage_Payment_Model_Method_Purchaseorder | Magento |
Mage_Payment_Model_Method_Free | Free payment method |
Mage_Payment_Model_Method_Cc | Magento |
Mage_Payment_Model_Method_Checkmo | Magento |
Mage_Sales_Model_Payment_Method_Billing_AgreementAbstract | Sales Billing Agreement Payment Method Abstract model |
Mage_GoogleCheckout_Model_Payment | Magento |
TODO: whether a captured transaction may be voided by this gateway
This may happen when amount is captured, but not settled
Fields that should be replaced in debug with '***'
Payment Method features
Attempt to accept a payment that us under review
Assign data to info model instance
Authorize
Check authorise availability
Check capture availability
Check partial capture availability
Cancel payment (GoogleCheckout)
Check whether payment method instance can create billing agreements
Can be edit order (renew order)
Check fetch transaction info availability
Check manage billing agreements availability
Whether can manage recurring profiles
Check order availability
Check refund availability
Check partial refund availability for invoice
Whether this method can accept or deny payment
Can be used in regular checkout
To check billing country is allowed for the payment method
Check method for processing with base currency
Using for multiple shipping address
Using internal pages for input payment data Can be used in admin
Check void availability
Capture payment
Used to call debug method from not Paymant Method context
Attempt to deny a payment that us under review
Fetch transaction info
Retrieve payment method code
Retrieve information from payment configuration
Get config peyment action url Used to universalize payment actions when processing payment place
Define if debugging is enabled
Retrieve block type for method form generation
Retrieve block type for display method information
Retrieve payment iformation model object
Retrieve payment method title
Method that will be executed instead of authorize or capture if flag isInitilizeNeeded set to true
Check whether payment method can be used
TODO: payment method instance is not supposed to know about quote
Retrieve payment system relation flag
flag if we need to run payment initialize while order place
Order
Parepare info instance for save
Set refund transaction id to payment object for informational purposes Candidate to be deprecated: there can be multiple refunds per payment, thus payment.refund_transaction_id doesn't make big sense
Set transaction ID into creditmemo for informational purposes
Set capture transaction ID to invoice for informational purposes
Refund money
Validate payment method information object
Void payment
Log debug data to file
Documentation generated on Fri, 11 Feb 2011 16:55:17 +0200 by phpDocumentor 1.4.3