Class Mage_XmlConnect_Model_Paypal_Mep_Checkout

Description

Wrapper that performs Paypal MEP and Checkout communication

Located in /XmlConnect/Model/Paypal/Mep/Checkout.php (line 31)


	
			
Class Constant Summary
PAYMENT_INFO_PAYER_EMAIL = 'paypal_payer_email'
PAYMENT_INFO_TRANSACTION_ID = 'paypal_mep_checkout_transaction_id'
Variable Summary
Method Summary
void __construct ([array $params = array()])
string getLastOrderId ()
string initCheckout ()
array saveOrder ()
array savePayment (array $data)
array saveShipping (array $data)
array saveShippingMethod (string $shippingMethod)
Variables
Mage_Checkout_Model_Session $_checkoutSession (line 56)
  • access: protected
Mage_XmlConnect_Helper_Data $_helper (line 61)
  • access: protected
string $_methodType = Mage_XmlConnect_Model_Payment_Method_Paypal_Mep::MEP_METHOD_CODE (line 46)

Payment method type

  • access: protected
Mage_Sales_Model_Quote $_quote = null (line 51)
  • access: protected
Methods
Constructor __construct (line 70)

Set quote instances

  • throws: Mage_Core_Exception
  • access: public
void __construct ([array $params = array()])
  • array $params
getLastOrderId (line 261)

Get last order increment id by order id

  • access: public
string getLastOrderId ()
initCheckout (line 85)

Prepare quote, reserve order ID for specified quote

  • access: public
string initCheckout ()
saveOrder (line 228)

Place the order when customer returned from paypal Until this moment all quote data must be valid

  • access: public
array saveOrder ()
savePayment (line 200)

Specify quote payment method

  • access: public
array savePayment (array $data)
  • array $data
saveShipping (line 119)

Save shipping and billing address information to quote

  • access: public
array saveShipping (array $data)
  • array $data
saveShippingMethod (line 172)

Specify quote shipping method

  • access: public
array saveShippingMethod (string $shippingMethod)
  • string $shippingMethod
_getCheckoutSession (line 291)

Get frontend checkout session object

  • access: protected
Mage_Checkout_Model_Session _getCheckoutSession ()
_ignoreAddressValidation (line 278)

Make sure addresses will be saved without validation errors

  • access: protected
void _ignoreAddressValidation ()
_prepareGuestQuote (line 301)

Prepare quote for guest checkout order submit

  • access: protected
Class Constants
PAYMENT_INFO_PAYER_EMAIL = 'paypal_payer_email' (line 38)

Keys for passthrough variables in sales/quote_payment and sales/order_payment

Uses additional_information as storage

PAYMENT_INFO_TRANSACTION_ID = 'paypal_mep_checkout_transaction_id' (line 39)

Documentation generated on Fri, 11 Feb 2011 16:57:44 +0200 by phpDocumentor 1.4.3