CLS_Paypal_Credit_Card_Tokenization - Version 1.1.0

Version Notes

Backward compatibility through Magento Community 1.5 and Enterprise 1.10

Download this release

Release Info

Developer Classy Llama
Extension CLS_Paypal_Credit_Card_Tokenization
Version 1.1.0
Comparing to
See all releases


Code changes from version 1.0.9 to 1.1.0

Files changed (24) hide show
  1. app/code/community/CLS/Paypal/Block/Customer/Storedcard.php +1 -1
  2. app/code/community/CLS/Paypal/Block/Paypal/Payment/Form/Orderstored.php +1 -0
  3. app/code/community/CLS/Paypal/CHANGELOG.txt +4 -0
  4. app/code/community/CLS/Paypal/Helper/Data.php +22 -1
  5. app/code/community/CLS/Paypal/Model/Adminhtml/Sales/Order/Create.php +79 -0
  6. app/code/community/CLS/Paypal/Model/Customerstored.php +7 -2
  7. app/code/community/CLS/Paypal/Model/Observer.php +4 -4
  8. app/code/community/CLS/Paypal/Model/Paypal/Payflowadvanced.php +13 -1
  9. app/code/community/CLS/Paypal/Model/Paypal/Payflowlink.php +1 -1
  10. app/code/community/CLS/Paypal/Model/Paypal/Stored/Customerstored/Payflowadvanced.php +10 -0
  11. app/code/community/CLS/Paypal/Model/Paypal/Stored/Orderstored.php +1 -0
  12. app/code/community/CLS/Paypal/Model/Paypal/Stored/Orderstored/Payflowadvanced.php +10 -0
  13. app/code/community/CLS/Paypal/Model/Paypaluk/Method/Agreement.php +1 -1
  14. app/code/community/CLS/Paypal/Model/Resource/Customerstored.php +1 -1
  15. app/code/community/CLS/Paypal/Model/Resource/Customerstored/Collection.php +2 -2
  16. app/code/community/CLS/Paypal/Model/System/Config/Backend/Payflowbaenabled.php +46 -0
  17. app/code/community/CLS/Paypal/README.md +4 -2
  18. app/code/community/CLS/Paypal/etc/config.xml +9 -3
  19. app/code/community/CLS/Paypal/etc/system.xml +1152 -1
  20. app/code/community/CLS/Paypal/sql/cls_paypal_setup/install-0.0.1.php +0 -76
  21. app/code/community/CLS/Paypal/sql/cls_paypal_setup/mysql4-install-0.0.1.php +53 -0
  22. app/code/community/CLS/Paypal/sql/cls_paypal_setup/{upgrade-0.3.0-0.3.1.php → mysql4-upgrade-0.3.0-0.3.1.php} +1 -3
  23. app/design/frontend/base/default/template/cls_paypal/payment/form/cc.phtml +1 -1
  24. package.xml +9 -7
app/code/community/CLS/Paypal/Block/Customer/Storedcard.php CHANGED
@@ -60,7 +60,7 @@ class CLS_Paypal_Block_Customer_Storedcard extends Mage_Core_Block_Template
60
  {
61
  return Mage::app()->getLocale()->storeDate(
62
  $this->getCustomer()->getStoreId(),
63
- Varien_Date::toTimestamp($date)
64
  );
65
  }
66
 
60
  {
61
  return Mage::app()->getLocale()->storeDate(
62
  $this->getCustomer()->getStoreId(),
63
+ strtotime($date)
64
  );
65
  }
66
 
app/code/community/CLS/Paypal/Block/Paypal/Payment/Form/Orderstored.php CHANGED
@@ -57,6 +57,7 @@ class CLS_Paypal_Block_Paypal_Payment_Form_Orderstored extends Mage_Payment_Bloc
57
 
58
  if (
59
  ($originalOrderId = $session->getPreviousOrderId())
 
60
  || ($originalOrderId = $session->getOrderId())
61
  ) {
62
  // Get original order data
57
 
58
  if (
59
  ($originalOrderId = $session->getPreviousOrderId())
60
+ || ($originalOrderId = $session->getReordered())
61
  || ($originalOrderId = $session->getOrderId())
62
  ) {
63
  // Get original order data
app/code/community/CLS/Paypal/CHANGELOG.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  CLS_Paypal 1.0.9 (3/25/2014)
2
  =======================================
3
  [FIXED] Fixed API inheritance issue introduced with Magento 1.8.1.0/1.13.1.0, which broke PayFlow billing agreements
1
+ CLS_Paypal 1.1.0 (09/11/2013)
2
+ =======================================
3
+ Backward compatibility through Magento 1.5/1.10
4
+
5
  CLS_Paypal 1.0.9 (3/25/2014)
6
  =======================================
7
  [FIXED] Fixed API inheritance issue introduced with Magento 1.8.1.0/1.13.1.0, which broke PayFlow billing agreements
app/code/community/CLS/Paypal/Helper/Data.php CHANGED
@@ -37,7 +37,6 @@ class CLS_Paypal_Helper_Data extends Mage_Core_Helper_Abstract
37
  * @var array
38
  */
39
  public static $supportedPaymentMethods = array(
40
- CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWADVANCED,
41
  CLS_Paypal_Model_Paypal_Config::METHOD_WPP_DIRECT,
42
  CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWLINK,
43
  CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWPRO
@@ -82,6 +81,28 @@ class CLS_Paypal_Helper_Data extends Mage_Core_Helper_Abstract
82
  'orderstored_transaction_id'
83
  );
84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  /**
86
  * Return parameters for the "New Order from this Payment" button (admin)
87
  *
37
  * @var array
38
  */
39
  public static $supportedPaymentMethods = array(
 
40
  CLS_Paypal_Model_Paypal_Config::METHOD_WPP_DIRECT,
41
  CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWLINK,
42
  CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWPRO
81
  'orderstored_transaction_id'
82
  );
83
 
84
+ /**
85
+ * Helper constructor
86
+ *
87
+ * @return void
88
+ */
89
+ public function __construct() {
90
+ //Include Payments Advanced if supported
91
+ if ($this->isPaymentsAdvancedSupported()) {
92
+ self::$supportedPaymentMethods[] = CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWADVANCED;
93
+ }
94
+ }
95
+
96
+ /**
97
+ * Checks if Paypal Payments Advanced is supported
98
+ *
99
+ * @return bool
100
+ */
101
+ public function isPaymentsAdvancedSupported()
102
+ {
103
+ return @class_exists('Mage_Paypal_Model_Payflowadvanced');
104
+ }
105
+
106
  /**
107
  * Return parameters for the "New Order from this Payment" button (admin)
108
  *
app/code/community/CLS/Paypal/Model/Adminhtml/Sales/Order/Create.php ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Create.php
4
+ *
5
+ * @category CLS
6
+ * @package Paypal
7
+ * @author Jonathan Hodges <jonathan@classyllama.com>
8
+ * @copyright Copyright (c) 2013 Classy Llama Studios, LLC
9
+ */
10
+
11
+ class CLS_Paypal_Model_Adminhtml_Sales_Order_Create extends Mage_Adminhtml_Model_Sales_Order_Create
12
+ {
13
+ /**
14
+ * Create new order
15
+ *
16
+ * @return Mage_Sales_Model_Order
17
+ * @see Mage_Adminhtml_Model_Sales_Order_Create
18
+ */
19
+ public function createOrder()
20
+ {
21
+ if ((version_compare('1.12.0.2', Mage::getVersion(), '>=') &&
22
+ method_exists('Mage', 'getEdition') &&
23
+ Mage::getEdition() == Mage::EDITION_ENTERPRISE) ||
24
+ (version_compare('1.7.0.2', Mage::getVersion(), '>=') &&
25
+ method_exists('Mage', 'getEdition') &&
26
+ Mage::getEdition() == Mage::EDITION_COMMUNITY)) {
27
+ return parent::createOrder();
28
+ }
29
+
30
+ $this->_prepareCustomer();
31
+ $this->_validate();
32
+ $quote = $this->getQuote();
33
+ $this->_prepareQuoteItems();
34
+
35
+ $service = Mage::getModel('sales/service_quote', $quote);
36
+ if ($this->getSession()->getOrder()->getId()) {
37
+ $oldOrder = $this->getSession()->getOrder();
38
+ $originalId = $oldOrder->getOriginalIncrementId();
39
+ if (!$originalId) {
40
+ $originalId = $oldOrder->getIncrementId();
41
+ }
42
+ $orderData = array(
43
+ 'original_increment_id' => $originalId,
44
+ 'relation_parent_id' => $oldOrder->getId(),
45
+ 'relation_parent_real_id' => $oldOrder->getIncrementId(),
46
+ 'edit_increment' => $oldOrder->getEditIncrement()+1,
47
+ 'increment_id' => $originalId.'-'.($oldOrder->getEditIncrement()+1)
48
+ );
49
+ $quote->setReservedOrderId($orderData['increment_id']);
50
+ $service->setOrderData($orderData);
51
+ }
52
+
53
+ $order = $service->submit();
54
+ if ((!$quote->getCustomer()->getId() || !$quote->getCustomer()->isInStore($this->getSession()->getStore()))
55
+ && !$quote->getCustomerIsGuest()
56
+ ) {
57
+ $quote->getCustomer()->setCreatedAt($order->getCreatedAt());
58
+ $quote->getCustomer()
59
+ ->save()
60
+ ->sendNewAccountEmail('registered', '', $quote->getStoreId());;
61
+ }
62
+ if ($this->getSession()->getOrder()->getId()) {
63
+ $oldOrder = $this->getSession()->getOrder();
64
+
65
+ $this->getSession()->getOrder()->setRelationChildId($order->getId());
66
+ $this->getSession()->getOrder()->setRelationChildRealId($order->getIncrementId());
67
+ $this->getSession()->getOrder()->cancel()
68
+ ->save();
69
+ $order->save();
70
+ }
71
+ if ($this->getSendConfirmation()) {
72
+ $order->sendNewOrderEmail();
73
+ }
74
+
75
+ Mage::dispatchEvent('checkout_submit_all_after', array('order' => $order, 'quote' => $quote));
76
+
77
+ return $order;
78
+ }
79
+ }
app/code/community/CLS/Paypal/Model/Customerstored.php CHANGED
@@ -63,7 +63,9 @@ class CLS_Paypal_Model_Customerstored extends Mage_Core_Model_Abstract
63
  }
64
  else {
65
  // Payflow methods
66
- $paymentMethodFilter[] = CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWADVANCED;
 
 
67
  $paymentMethodFilter[] = CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWLINK;
68
  $paymentMethodFilter[] = CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWPRO;
69
  }
@@ -91,11 +93,14 @@ class CLS_Paypal_Model_Customerstored extends Mage_Core_Model_Abstract
91
  CLS_Paypal_Model_Paypal_Config::METHOD_WPP_DIRECT,
92
  ),
93
  array(
94
- CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWADVANCED,
95
  CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWLINK,
96
  CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWPRO,
97
  )
98
  );
 
 
 
 
99
 
100
  foreach ($compatibleGroups as $group) {
101
  if (in_array($this->getPaymentMethod(), $group)) {
63
  }
64
  else {
65
  // Payflow methods
66
+ if (Mage::helper('cls_paypal')->isPaymentsAdvancedSupported()) {
67
+ $paymentMethodFilter[] = CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWADVANCED;
68
+ }
69
  $paymentMethodFilter[] = CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWLINK;
70
  $paymentMethodFilter[] = CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWPRO;
71
  }
93
  CLS_Paypal_Model_Paypal_Config::METHOD_WPP_DIRECT,
94
  ),
95
  array(
 
96
  CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWLINK,
97
  CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWPRO,
98
  )
99
  );
100
+
101
+ if (Mage::helper('cls_paypal')->isPaymentsAdvancedSupported()) {
102
+ array_unshift($compatibleGroups[1], CLS_Paypal_Model_Paypal_Config::METHOD_PAYFLOWADVANCED);
103
+ }
104
 
105
  foreach ($compatibleGroups as $group) {
106
  if (in_array($this->getPaymentMethod(), $group)) {
app/code/community/CLS/Paypal/Model/Observer.php CHANGED
@@ -38,10 +38,10 @@ class CLS_Paypal_Model_Observer
38
  public function adminCheckGuestOrder(Varien_Event_Observer $observer)
39
  {
40
  /* @var $request Mage_Core_Controller_Request_Http */
41
- $request = $observer->getRequestModel();
42
 
43
  /** @var $session Mage_Adminhtml_Model_Session_Quote */
44
- $session = $observer->getSession();
45
 
46
  if ($request->getParam('is_guest_order')) {
47
  // In case of guest order mark the quote appropriately
@@ -211,7 +211,7 @@ class CLS_Paypal_Model_Observer
211
  'cc_last4' => $payment->getData('cc_last4'),
212
  'cc_exp_month' => $payment->getData('cc_exp_month'),
213
  'cc_exp_year' => $payment->getData('cc_exp_year'),
214
- 'date' => Varien_Date::formatDate(true, true),
215
  'payment_method' => $paymentMethod
216
  ));
217
  $customerstoredModel->save();
@@ -231,7 +231,7 @@ class CLS_Paypal_Model_Observer
231
  // Update stored card record with a new transaction ID
232
  $customerstoredModel
233
  ->setData('transaction_id', $payment->getData('transaction_id'))
234
- ->setData('date', Varien_Date::formatDate(true, false));
235
  $customerstoredModel->save();
236
  }
237
  }
38
  public function adminCheckGuestOrder(Varien_Event_Observer $observer)
39
  {
40
  /* @var $request Mage_Core_Controller_Request_Http */
41
+ $request = Mage::app()->getRequest();
42
 
43
  /** @var $session Mage_Adminhtml_Model_Session_Quote */
44
+ $session = Mage::getSingleton('adminhtml/session_quote');
45
 
46
  if ($request->getParam('is_guest_order')) {
47
  // In case of guest order mark the quote appropriately
211
  'cc_last4' => $payment->getData('cc_last4'),
212
  'cc_exp_month' => $payment->getData('cc_exp_month'),
213
  'cc_exp_year' => $payment->getData('cc_exp_year'),
214
+ 'date' => date('Y-m-d H:i:s'),
215
  'payment_method' => $paymentMethod
216
  ));
217
  $customerstoredModel->save();
231
  // Update stored card record with a new transaction ID
232
  $customerstoredModel
233
  ->setData('transaction_id', $payment->getData('transaction_id'))
234
+ ->setData('date', date('Y-m-d'));
235
  $customerstoredModel->save();
236
  }
237
  }
app/code/community/CLS/Paypal/Model/Paypal/Payflowadvanced.php CHANGED
@@ -26,6 +26,15 @@
26
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
  */
28
 
 
 
 
 
 
 
 
 
 
29
  class CLS_Paypal_Model_Paypal_Payflowadvanced extends Mage_Paypal_Model_Payflowadvanced
30
  {
31
 
@@ -118,7 +127,7 @@ class CLS_Paypal_Model_Paypal_Payflowadvanced extends Mage_Paypal_Model_Payflowa
118
  'cc_last4' => ($response->getAcct()) ? substr($response->getAcct(), -4) : '',
119
  'cc_exp_month' => $ccExpMonth,
120
  'cc_exp_year' => (($response->getExpdate()) ? '20'.substr($response->getExpdate(), 2) : ''),
121
- 'date' => Varien_Date::formatDate(true, true),
122
  'payment_method' => $payment->getMethod()
123
  ));
124
  $customerstoredModel->save();
@@ -137,3 +146,6 @@ class CLS_Paypal_Model_Paypal_Payflowadvanced extends Mage_Paypal_Model_Payflowa
137
  }
138
  }
139
  }
 
 
 
26
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
  */
28
 
29
+
30
+ /**
31
+ * Note: This check is in place because Paypal Payments Advanced is not supported in
32
+ * Magento 1.11.1.0 and below.
33
+ */
34
+ //Begin Payments Advanced support check
35
+ if (Mage::helper('cls_paypal')->isPaymentsAdvancedSupported()) {
36
+
37
+
38
  class CLS_Paypal_Model_Paypal_Payflowadvanced extends Mage_Paypal_Model_Payflowadvanced
39
  {
40
 
127
  'cc_last4' => ($response->getAcct()) ? substr($response->getAcct(), -4) : '',
128
  'cc_exp_month' => $ccExpMonth,
129
  'cc_exp_year' => (($response->getExpdate()) ? '20'.substr($response->getExpdate(), 2) : ''),
130
+ 'date' => date('Y-m-d H:i:s'),
131
  'payment_method' => $payment->getMethod()
132
  ));
133
  $customerstoredModel->save();
146
  }
147
  }
148
  }
149
+
150
+ //End Payments Advanced support check
151
+ }
app/code/community/CLS/Paypal/Model/Paypal/Payflowlink.php CHANGED
@@ -112,7 +112,7 @@ class CLS_Paypal_Model_Paypal_Payflowlink extends Mage_Paypal_Model_Payflowlink
112
  'cc_last4' => ($response->getAcct()) ? substr($response->getAcct(), -4) : '',
113
  'cc_exp_month' => $ccExpMonth,
114
  'cc_exp_year' => (($response->getExpdate()) ? '20'.substr($response->getExpdate(), 2) : ''),
115
- 'date' => Varien_Date::formatDate(true, true),
116
  'payment_method' => $payment->getMethod()
117
  ));
118
  $customerstoredModel->save();
112
  'cc_last4' => ($response->getAcct()) ? substr($response->getAcct(), -4) : '',
113
  'cc_exp_month' => $ccExpMonth,
114
  'cc_exp_year' => (($response->getExpdate()) ? '20'.substr($response->getExpdate(), 2) : ''),
115
+ 'date' => date('Y-m-d H:i:s'),
116
  'payment_method' => $payment->getMethod()
117
  ));
118
  $customerstoredModel->save();
app/code/community/CLS/Paypal/Model/Paypal/Stored/Customerstored/Payflowadvanced.php CHANGED
@@ -26,6 +26,13 @@
26
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
  */
28
 
 
 
 
 
 
 
 
29
  class CLS_Paypal_Model_Paypal_Stored_Customerstored_Payflowadvanced extends CLS_Paypal_Model_Paypal_Payflowadvanced
30
  {
31
 
@@ -170,3 +177,6 @@ class CLS_Paypal_Model_Paypal_Stored_Customerstored_Payflowadvanced extends CLS_
170
  return $this;
171
  }
172
  }
 
 
 
26
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
  */
28
 
29
+ /**
30
+ * Note: This check is in place because Paypal Payments Advanced is not supported in
31
+ * Magento 1.11.1.0 and below.
32
+ */
33
+ //Begin Payments Advanced support check
34
+ if (Mage::helper('cls_paypal')->isPaymentsAdvancedSupported()) {
35
+
36
  class CLS_Paypal_Model_Paypal_Stored_Customerstored_Payflowadvanced extends CLS_Paypal_Model_Paypal_Payflowadvanced
37
  {
38
 
177
  return $this;
178
  }
179
  }
180
+
181
+ //End Payments Advanced support check
182
+ }
app/code/community/CLS/Paypal/Model/Paypal/Stored/Orderstored.php CHANGED
@@ -86,6 +86,7 @@ class CLS_Paypal_Model_Paypal_Stored_Orderstored extends CLS_Paypal_Model_Paypal
86
 
87
  if (
88
  ($originalOrderId = $session->getPreviousOrderId())
 
89
  || ($originalOrderId = $session->getOrderId())
90
  ) {
91
  // Assign CC info (taken from the original order)
86
 
87
  if (
88
  ($originalOrderId = $session->getPreviousOrderId())
89
+ || ($originalOrderId = $session->getReordered())
90
  || ($originalOrderId = $session->getOrderId())
91
  ) {
92
  // Assign CC info (taken from the original order)
app/code/community/CLS/Paypal/Model/Paypal/Stored/Orderstored/Payflowadvanced.php CHANGED
@@ -26,6 +26,13 @@
26
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
  */
28
 
 
 
 
 
 
 
 
29
  class CLS_Paypal_Model_Paypal_Stored_Orderstored_Payflowadvanced extends CLS_Paypal_Model_Paypal_Payflowadvanced
30
  {
31
 
@@ -170,3 +177,6 @@ class CLS_Paypal_Model_Paypal_Stored_Orderstored_Payflowadvanced extends CLS_Pay
170
  return $this;
171
  }
172
  }
 
 
 
26
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
  */
28
 
29
+ /**
30
+ * Note: This check is in place because Paypal Payments Advanced is not supported in
31
+ * Magento 1.11.1.0 and below.
32
+ */
33
+ //Begin Payments Advanced support check
34
+ if (Mage::helper('cls_paypal')->isPaymentsAdvancedSupported()) {
35
+
36
  class CLS_Paypal_Model_Paypal_Stored_Orderstored_Payflowadvanced extends CLS_Paypal_Model_Paypal_Payflowadvanced
37
  {
38
 
177
  return $this;
178
  }
179
  }
180
+
181
+ //End Payments Advanced support check
182
+ }
app/code/community/CLS/Paypal/Model/Paypaluk/Method/Agreement.php CHANGED
@@ -127,7 +127,7 @@ class CLS_Paypal_Model_Paypaluk_Method_Agreement extends Mage_Paypal_Model_Metho
127
  if ($api->getBillingAgreementId()) {
128
  $order->addRelatedObject($billingAgreement);
129
  $billingAgreement->setIsObjectChanged(true);
130
- $billingAgreement->addOrderRelation($order);
131
  }
132
 
133
  return $this;
127
  if ($api->getBillingAgreementId()) {
128
  $order->addRelatedObject($billingAgreement);
129
  $billingAgreement->setIsObjectChanged(true);
130
+ $billingAgreement->addOrderRelation($order->getId());
131
  }
132
 
133
  return $this;
app/code/community/CLS/Paypal/Model/Resource/Customerstored.php CHANGED
@@ -26,7 +26,7 @@
26
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
  */
28
 
29
- class CLS_Paypal_Model_Resource_Customerstored extends Mage_Core_Model_Resource_Db_Abstract
30
  {
31
  /**
32
  * Initialize main table and table id field
26
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
  */
28
 
29
+ class CLS_Paypal_Model_Resource_Customerstored extends Mage_Core_Model_Mysql4_Abstract
30
  {
31
  /**
32
  * Initialize main table and table id field
app/code/community/CLS/Paypal/Model/Resource/Customerstored/Collection.php CHANGED
@@ -26,7 +26,7 @@
26
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
  */
28
 
29
- class CLS_Paypal_Model_Resource_Customerstored_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract
30
  {
31
  /**
32
  * Resource initialization
@@ -59,7 +59,7 @@ class CLS_Paypal_Model_Resource_Customerstored_Collection extends Mage_Core_Mode
59
  {
60
  $now = new Zend_Date(null);
61
  $now->addMonth(0 - CLS_Paypal_Model_Paypal_Config::STORED_CARD_TTL_MONTHS);
62
- $this->getSelect()->where('date >= ?', Varien_Date::formatDate($now, false));
63
 
64
  return $this;
65
  }
26
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
  */
28
 
29
+ class CLS_Paypal_Model_Resource_Customerstored_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
30
  {
31
  /**
32
  * Resource initialization
59
  {
60
  $now = new Zend_Date(null);
61
  $now->addMonth(0 - CLS_Paypal_Model_Paypal_Config::STORED_CARD_TTL_MONTHS);
62
+ $this->getSelect()->where('date >= ?', date('Y-m-d', time()));
63
 
64
  return $this;
65
  }
app/code/community/CLS/Paypal/Model/System/Config/Backend/Payflowbaenabled.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Classy Llama
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email to us at
13
+ * support+paypal@classyllama.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade this module
18
+ * to newer versions in the future. If you require customizations of this
19
+ * module for your needs, please write us at sales@classyllama.com.
20
+ *
21
+ * To report bugs or issues with this module, please email support+paypal@classyllama.com.
22
+ *
23
+ * @category CLS
24
+ * @package Paypal
25
+ * @copyright Copyright (c) 2013 Classy Llama Studios, LLC (http://www.classyllama.com)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ */
28
+
29
+ class CLS_Paypal_Model_System_Config_Backend_Payflowbaenabled extends Mage_Core_Model_Config_Data
30
+ {
31
+
32
+ /**
33
+ * Disable Payflow Pro Billing Agreements if Payflow Pro is disabled
34
+ *
35
+ * @return void
36
+ */
37
+ protected function _beforeSave()
38
+ {
39
+ $groups = $this->getGroups();
40
+ $verisignEnabled = $groups['global']['fields']['verisign']['value'];
41
+
42
+ if (!$verisignEnabled) {
43
+ $this->setValue(false);
44
+ }
45
+ }
46
+ }
app/code/community/CLS/Paypal/README.md CHANGED
@@ -43,8 +43,10 @@ The features of this module are available for Magento integrations with the foll
43
 
44
  # Magento Compatibility
45
 
46
- * Community 1.7.0.2 and up
47
- * Enterprise 1.12.0.2 and up
 
 
48
 
49
  # Configuration Instructions
50
 
43
 
44
  # Magento Compatibility
45
 
46
+ * Community 1.5.0.1 and up
47
+ * Enterprise 1.10.0.1 and up
48
+
49
+ _NOTE:_ PayFlow Link compatibility is un-tested in Community 1.5.0.1 and Enterprise 1.10.0.1, because the core Magento codebase in these versions is no longer compatible with this PayPal solution.
50
 
51
  # Configuration Instructions
52
 
app/code/community/CLS/Paypal/etc/config.xml CHANGED
@@ -30,7 +30,7 @@
30
  <config>
31
  <modules>
32
  <CLS_Paypal>
33
- <version>1.0.9</version>
34
  </CLS_Paypal>
35
  </modules>
36
 
@@ -68,6 +68,12 @@
68
  </entities>
69
  </cls_paypal_resource>
70
 
 
 
 
 
 
 
71
  <paypal>
72
  <rewrite>
73
  <api_nvp>CLS_Paypal_Model_Paypal_Api_Nvp</api_nvp>
@@ -219,14 +225,14 @@
219
  </translate>
220
 
221
  <events>
222
- <adminhtml_sales_order_create_process_data_before>
223
  <observers>
224
  <cls_paypal>
225
  <class>cls_paypal/observer</class>
226
  <method>adminCheckGuestOrder</method>
227
  </cls_paypal>
228
  </observers>
229
- </adminhtml_sales_order_create_process_data_before>
230
 
231
  <sales_quote_save_after>
232
  <observers>
30
  <config>
31
  <modules>
32
  <CLS_Paypal>
33
+ <version>1.1.0</version>
34
  </CLS_Paypal>
35
  </modules>
36
 
68
  </entities>
69
  </cls_paypal_resource>
70
 
71
+ <adminhtml>
72
+ <rewrite>
73
+ <sales_order_create>CLS_Paypal_Model_Adminhtml_Sales_Order_Create</sales_order_create>
74
+ </rewrite>
75
+ </adminhtml>
76
+
77
  <paypal>
78
  <rewrite>
79
  <api_nvp>CLS_Paypal_Model_Paypal_Api_Nvp</api_nvp>
225
  </translate>
226
 
227
  <events>
228
+ <controller_action_predispatch_adminhtml_sales_order_create_loadBlock>
229
  <observers>
230
  <cls_paypal>
231
  <class>cls_paypal/observer</class>
232
  <method>adminCheckGuestOrder</method>
233
  </cls_paypal>
234
  </observers>
235
+ </controller_action_predispatch_adminhtml_sales_order_create_loadBlock>
236
 
237
  <sales_quote_save_after>
238
  <observers>
app/code/community/CLS/Paypal/etc/system.xml CHANGED
@@ -29,6 +29,19 @@
29
  -->
30
  <config>
31
  <sections>
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  <payment>
33
  <groups>
34
  <paypal_payments>
@@ -1285,5 +1298,1143 @@
1285
  </paypal_payments>
1286
  </groups>
1287
  </payment>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1288
  </sections>
1289
- </config>
29
  -->
30
  <config>
31
  <sections>
32
+
33
+ <!--
34
+ /**
35
+ * Please Note:
36
+ *
37
+ * This file has two separate system.xml sections, one containing the nodes for Magento EE versions 1.12.0.1
38
+ * (CE 1.7.0.1) and up, the other containing nodes for Magento EE versions 1.10.0.1 - 1.12.0.0 (CE 1.5.0.1 -
39
+ * 1.7.0.0)
40
+ */
41
+ -->
42
+
43
+
44
+ <!-- Begin Section - Magento EE 1.12.0.1 and up (CE 1.7.0.1 and up) -->
45
  <payment>
46
  <groups>
47
  <paypal_payments>
1298
  </paypal_payments>
1299
  </groups>
1300
  </payment>
1301
+ <!-- End Section - Magento EE 1.12.0.1 and up (CE 1.7.0.1 and up) -->
1302
+
1303
+
1304
+
1305
+
1306
+
1307
+ <!-- Begin Section - Magento EE 1.10.0.1 - 1.12.0.0 (CE 1.5.0.1 - 1.7.0.0) -->
1308
+ <paypal>
1309
+ <sort_order>350</sort_order>
1310
+ <groups>
1311
+ <payflow_advanced>
1312
+ <fields>
1313
+ <payflow_advanced_customerstored translate="label">
1314
+ <label>PayPal Saved Credit Card Settings</label>
1315
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1316
+ <show_in_default>1</show_in_default>
1317
+ <show_in_website>1</show_in_website>
1318
+ <show_in_store>1</show_in_store>
1319
+ <sort_order>80</sort_order>
1320
+ </payflow_advanced_customerstored>
1321
+ <payflow_advanced_customerstored_active translate="label comment">
1322
+ <label>Enabled</label>
1323
+ <config_path>payment/payflow_advanced_customerstored/active</config_path>
1324
+ <frontend_type>select</frontend_type>
1325
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1326
+ <sort_order>90</sort_order>
1327
+ <show_in_default>1</show_in_default>
1328
+ <show_in_website>1</show_in_website>
1329
+ <shared>1</shared>
1330
+ </payflow_advanced_customerstored_active>
1331
+ <payflow_advanced_customerstored_title translate="label">
1332
+ <label>Title</label>
1333
+ <config_path>payment/payflow_advanced_customerstored/title</config_path>
1334
+ <frontend_type>text</frontend_type>
1335
+ <sort_order>100</sort_order>
1336
+ <show_in_default>1</show_in_default>
1337
+ <show_in_website>1</show_in_website>
1338
+ <show_in_store>1</show_in_store>
1339
+ <shared>1</shared>
1340
+ </payflow_advanced_customerstored_title>
1341
+ <payflow_advanced_customerstored_sort_order translate="label">
1342
+ <label>Sort Order</label>
1343
+ <config_path>payment/payflow_advanced_customerstored/sort_order</config_path>
1344
+ <frontend_type>text</frontend_type>
1345
+ <sort_order>110</sort_order>
1346
+ <show_in_default>1</show_in_default>
1347
+ <show_in_website>1</show_in_website>
1348
+ <show_in_store>1</show_in_store>
1349
+ <frontend_class>validate-number</frontend_class>
1350
+ <shared>1</shared>
1351
+ </payflow_advanced_customerstored_sort_order>
1352
+ <payflow_advanced_customerstored_payment_action translate="label">
1353
+ <label>Payment Action</label>
1354
+ <config_path>payment/payflow_advanced_customerstored/payment_action</config_path>
1355
+ <frontend_type>select</frontend_type>
1356
+ <source_model>paypal/system_config_source_paymentActions</source_model>
1357
+ <sort_order>120</sort_order>
1358
+ <show_in_default>1</show_in_default>
1359
+ <show_in_website>1</show_in_website>
1360
+ <shared>1</shared>
1361
+ </payflow_advanced_customerstored_payment_action>
1362
+ <payflow_advanced_customerstored_allowspecific translate="label">
1363
+ <label>Payment Applicable From</label>
1364
+ <config_path>payment/payflow_advanced_customerstored/allowspecific</config_path>
1365
+ <frontend_type>select</frontend_type>
1366
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1367
+ <sort_order>130</sort_order>
1368
+ <show_in_default>1</show_in_default>
1369
+ <show_in_website>1</show_in_website>
1370
+ <shared>1</shared>
1371
+ </payflow_advanced_customerstored_allowspecific>
1372
+ <payflow_advanced_customerstored_specificcountry translate="label">
1373
+ <label>Countries Payment Applicable From</label>
1374
+ <config_path>payment/payflow_advanced_customerstored/specificcountry</config_path>
1375
+ <frontend_type>multiselect</frontend_type>
1376
+ <source_model>paypal/system_config_source_buyerCountry</source_model>
1377
+ <sort_order>140</sort_order>
1378
+ <show_in_default>1</show_in_default>
1379
+ <show_in_website>1</show_in_website>
1380
+ <depends><allowspecific>1</allowspecific></depends>
1381
+ <shared>1</shared>
1382
+ </payflow_advanced_customerstored_specificcountry>
1383
+ <payflow_advanced_customerstored_debug translate="label">
1384
+ <label>Debug Mode</label>
1385
+ <config_path>payment/payflow_advanced_customerstored/debug</config_path>
1386
+ <frontend_type>select</frontend_type>
1387
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1388
+ <sort_order>150</sort_order>
1389
+ <show_in_default>1</show_in_default>
1390
+ <show_in_website>1</show_in_website>
1391
+ <shared>1</shared>
1392
+ </payflow_advanced_customerstored_debug>
1393
+ <payflow_advanced_customerstored_verify_peer translate="label">
1394
+ <label>Enable SSL verification</label>
1395
+ <config_path>payment/payflow_advanced_customerstored/verify_peer</config_path>
1396
+ <frontend_type>select</frontend_type>
1397
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1398
+ <sort_order>160</sort_order>
1399
+ <show_in_default>1</show_in_default>
1400
+ <show_in_website>1</show_in_website>
1401
+ <shared>1</shared>
1402
+ </payflow_advanced_customerstored_verify_peer>
1403
+
1404
+ <payflow_advanced_orderstored translate="label">
1405
+ <label>PayPal Previous Order Credit Card Settings</label>
1406
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1407
+ <show_in_default>1</show_in_default>
1408
+ <show_in_website>1</show_in_website>
1409
+ <show_in_store>1</show_in_store>
1410
+ <sort_order>170</sort_order>
1411
+ </payflow_advanced_orderstored>
1412
+ <payflow_advanced_orderstored_active translate="label comment">
1413
+ <label>Enabled</label>
1414
+ <comment><![CDATA[Will appear as an admin-only payment option allowing use of the same card that was used on the specific previous order selected.]]></comment>
1415
+ <config_path>payment/payflow_advanced_orderstored/active</config_path>
1416
+ <frontend_type>select</frontend_type>
1417
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1418
+ <sort_order>180</sort_order>
1419
+ <show_in_default>1</show_in_default>
1420
+ <show_in_website>1</show_in_website>
1421
+ <shared>1</shared>
1422
+ </payflow_advanced_orderstored_active>
1423
+ <payflow_advanced_orderstored_title translate="label">
1424
+ <label>Title</label>
1425
+ <config_path>payment/payflow_advanced_orderstored/title</config_path>
1426
+ <frontend_type>text</frontend_type>
1427
+ <sort_order>20</sort_order>
1428
+ <show_in_default>1</show_in_default>
1429
+ <show_in_website>1</show_in_website>
1430
+ <show_in_store>1</show_in_store>
1431
+ <shared>1</shared>
1432
+ </payflow_advanced_orderstored_title>
1433
+ <payflow_advanced_orderstored_sort_order translate="label">
1434
+ <label>Sort Order</label>
1435
+ <config_path>payment/payflow_advanced_orderstored/sort_order</config_path>
1436
+ <frontend_type>text</frontend_type>
1437
+ <sort_order>190</sort_order>
1438
+ <show_in_default>1</show_in_default>
1439
+ <show_in_website>1</show_in_website>
1440
+ <show_in_store>1</show_in_store>
1441
+ <frontend_class>validate-number</frontend_class>
1442
+ <shared>1</shared>
1443
+ </payflow_advanced_orderstored_sort_order>
1444
+ <payflow_advanced_orderstored_payment_action translate="label">
1445
+ <label>Payment Action</label>
1446
+ <config_path>payment/payflow_advanced_orderstored/payment_action</config_path>
1447
+ <frontend_type>select</frontend_type>
1448
+ <source_model>paypal/system_config_source_paymentActions</source_model>
1449
+ <sort_order>200</sort_order>
1450
+ <show_in_default>1</show_in_default>
1451
+ <show_in_website>1</show_in_website>
1452
+ <shared>1</shared>
1453
+ </payflow_advanced_orderstored_payment_action>
1454
+ <payflow_advanced_orderstored_allowspecific translate="label">
1455
+ <label>Payment Applicable From</label>
1456
+ <config_path>payment/payflow_advanced_orderstored/allowspecific</config_path>
1457
+ <frontend_type>select</frontend_type>
1458
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1459
+ <sort_order>210</sort_order>
1460
+ <show_in_default>1</show_in_default>
1461
+ <show_in_website>1</show_in_website>
1462
+ <shared>1</shared>
1463
+ </payflow_advanced_orderstored_allowspecific>
1464
+ <payflow_advanced_orderstored_specificcountry translate="label">
1465
+ <label>Countries Payment Applicable From</label>
1466
+ <config_path>payment/payflow_advanced_orderstored/specificcountry</config_path>
1467
+ <frontend_type>multiselect</frontend_type>
1468
+ <source_model>paypal/system_config_source_buyerCountry</source_model>
1469
+ <sort_order>220</sort_order>
1470
+ <show_in_default>1</show_in_default>
1471
+ <show_in_website>1</show_in_website>
1472
+ <depends><allowspecific>1</allowspecific></depends>
1473
+ <shared>1</shared>
1474
+ </payflow_advanced_orderstored_specificcountry>
1475
+ <payflow_advanced_orderstored_debug translate="label">
1476
+ <label>Debug Mode</label>
1477
+ <config_path>payment/payflow_advanced_orderstored/debug</config_path>
1478
+ <frontend_type>select</frontend_type>
1479
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1480
+ <sort_order>230</sort_order>
1481
+ <show_in_default>1</show_in_default>
1482
+ <show_in_website>1</show_in_website>
1483
+ <shared>1</shared>
1484
+ </payflow_advanced_orderstored_debug>
1485
+ <payflow_advanced_orderstored_verify_peer translate="label">
1486
+ <label>Enable SSL verification</label>
1487
+ <config_path>payment/payflow_advanced_orderstored/verify_peer</config_path>
1488
+ <frontend_type>select</frontend_type>
1489
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1490
+ <sort_order>240</sort_order>
1491
+ <show_in_default>1</show_in_default>
1492
+ <show_in_website>1</show_in_website>
1493
+ <shared>1</shared>
1494
+ </payflow_advanced_orderstored_verify_peer>
1495
+ </fields>
1496
+ </payflow_advanced>
1497
+
1498
+ <wpp>
1499
+ <fields>
1500
+ <paypal_direct_customerstored translate="label">
1501
+ <label>PayPal Saved Credit Card Settings</label>
1502
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1503
+ <show_in_default>1</show_in_default>
1504
+ <show_in_website>1</show_in_website>
1505
+ <sort_order>70</sort_order>
1506
+ </paypal_direct_customerstored>
1507
+ <paypal_direct_customerstored_active translate="label comment">
1508
+ <label>Enabled</label>
1509
+ <config_path>payment/paypal_direct_customerstored/active</config_path>
1510
+ <frontend_type>select</frontend_type>
1511
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1512
+ <sort_order>80</sort_order>
1513
+ <show_in_default>1</show_in_default>
1514
+ <show_in_website>1</show_in_website>
1515
+ <shared>1</shared>
1516
+ </paypal_direct_customerstored_active>
1517
+ <paypal_direct_customerstored_title translate="label">
1518
+ <label>Title</label>
1519
+ <config_path>payment/paypal_direct_customerstored/title</config_path>
1520
+ <frontend_type>text</frontend_type>
1521
+ <sort_order>90</sort_order>
1522
+ <show_in_default>1</show_in_default>
1523
+ <show_in_website>1</show_in_website>
1524
+ <show_in_store>1</show_in_store>
1525
+ <shared>1</shared>
1526
+ </paypal_direct_customerstored_title>
1527
+ <paypal_direct_customerstored_sort_order translate="label">
1528
+ <label>Sort Order</label>
1529
+ <config_path>payment/paypal_direct_customerstored/sort_order</config_path>
1530
+ <frontend_type>text</frontend_type>
1531
+ <sort_order>100</sort_order>
1532
+ <show_in_default>1</show_in_default>
1533
+ <show_in_website>1</show_in_website>
1534
+ <show_in_store>1</show_in_store>
1535
+ <frontend_class>validate-number</frontend_class>
1536
+ <shared>1</shared>
1537
+ </paypal_direct_customerstored_sort_order>
1538
+ <paypal_direct_customerstored_payment_action translate="label">
1539
+ <label>Payment Action</label>
1540
+ <config_path>payment/paypal_direct_customerstored/payment_action</config_path>
1541
+ <frontend_type>select</frontend_type>
1542
+ <source_model>paypal/system_config_source_paymentActions</source_model>
1543
+ <sort_order>110</sort_order>
1544
+ <show_in_default>1</show_in_default>
1545
+ <show_in_website>1</show_in_website>
1546
+ <shared>1</shared>
1547
+ </paypal_direct_customerstored_payment_action>
1548
+ <paypal_direct_customerstored_allowspecific translate="label">
1549
+ <label>Payment Applicable From</label>
1550
+ <config_path>payment/paypal_direct_customerstored/allowspecific</config_path>
1551
+ <frontend_type>select</frontend_type>
1552
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1553
+ <sort_order>120</sort_order>
1554
+ <show_in_default>1</show_in_default>
1555
+ <show_in_website>1</show_in_website>
1556
+ <shared>1</shared>
1557
+ </paypal_direct_customerstored_allowspecific>
1558
+ <paypal_direct_customerstored_specificcountry translate="label">
1559
+ <label>Countries Payment Applicable From</label>
1560
+ <config_path>payment/paypal_direct_customerstored/specificcountry</config_path>
1561
+ <frontend_type>multiselect</frontend_type>
1562
+ <source_model>paypal/system_config_source_buyerCountry</source_model>
1563
+ <sort_order>130</sort_order>
1564
+ <show_in_default>1</show_in_default>
1565
+ <show_in_website>1</show_in_website>
1566
+ <depends><allowspecific>1</allowspecific></depends>
1567
+ <shared>1</shared>
1568
+ </paypal_direct_customerstored_specificcountry>
1569
+ <paypal_direct_customerstored_debug translate="label">
1570
+ <label>Debug Mode</label>
1571
+ <config_path>payment/paypal_direct_customerstored/debug</config_path>
1572
+ <frontend_type>select</frontend_type>
1573
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1574
+ <sort_order>140</sort_order>
1575
+ <show_in_default>1</show_in_default>
1576
+ <show_in_website>1</show_in_website>
1577
+ <shared>1</shared>
1578
+ </paypal_direct_customerstored_debug>
1579
+ <paypal_direct_customerstored_verify_peer translate="label">
1580
+ <label>Enable SSL verification</label>
1581
+ <config_path>payment/paypal_direct_customerstored/verify_peer</config_path>
1582
+ <frontend_type>select</frontend_type>
1583
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1584
+ <sort_order>150</sort_order>
1585
+ <show_in_default>1</show_in_default>
1586
+ <show_in_website>1</show_in_website>
1587
+ <shared>1</shared>
1588
+ </paypal_direct_customerstored_verify_peer>
1589
+ <paypal_direct_customerstored_line_items_enabled translate="label">
1590
+ <label>Transfer Cart Line Items</label>
1591
+ <config_path>payment/paypal_direct_customerstored/line_items_enabled</config_path>
1592
+ <frontend_type>select</frontend_type>
1593
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1594
+ <sort_order>160</sort_order>
1595
+ <show_in_default>1</show_in_default>
1596
+ <show_in_website>1</show_in_website>
1597
+ <shared>1</shared>
1598
+ </paypal_direct_customerstored_line_items_enabled>
1599
+
1600
+ <paypal_direct_orderstored translate="label">
1601
+ <label>PayPal Previous Order Credit Card Settings</label>
1602
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1603
+ <show_in_default>1</show_in_default>
1604
+ <show_in_website>1</show_in_website>
1605
+ <sort_order>170</sort_order>
1606
+ </paypal_direct_orderstored>
1607
+ <paypal_direct_orderstored_active translate="label comment">
1608
+ <label>Enabled</label>
1609
+ <comment><![CDATA[Will appear as an admin-only payment option allowing use of the same card that was used on the specific previous order selected.]]></comment>
1610
+ <config_path>payment/paypal_direct_orderstored/active</config_path>
1611
+ <frontend_type>select</frontend_type>
1612
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1613
+ <sort_order>180</sort_order>
1614
+ <show_in_default>1</show_in_default>
1615
+ <show_in_website>1</show_in_website>
1616
+ <shared>1</shared>
1617
+ </paypal_direct_orderstored_active>
1618
+ <paypal_direct_orderstored_title translate="label">
1619
+ <label>Title</label>
1620
+ <config_path>payment/paypal_direct_orderstored/title</config_path>
1621
+ <frontend_type>text</frontend_type>
1622
+ <sort_order>190</sort_order>
1623
+ <show_in_default>1</show_in_default>
1624
+ <show_in_website>1</show_in_website>
1625
+ <show_in_store>1</show_in_store>
1626
+ <shared>1</shared>
1627
+ </paypal_direct_orderstored_title>
1628
+ <paypal_direct_orderstored_sort_order translate="label">
1629
+ <label>Sort Order</label>
1630
+ <config_path>payment/paypal_direct_orderstored/sort_order</config_path>
1631
+ <frontend_type>text</frontend_type>
1632
+ <sort_order>200</sort_order>
1633
+ <show_in_default>1</show_in_default>
1634
+ <show_in_website>1</show_in_website>
1635
+ <show_in_store>1</show_in_store>
1636
+ <frontend_class>validate-number</frontend_class>
1637
+ <shared>1</shared>
1638
+ </paypal_direct_orderstored_sort_order>
1639
+ <paypal_direct_orderstored_payment_action translate="label">
1640
+ <label>Payment Action</label>
1641
+ <config_path>payment/paypal_direct_orderstored/payment_action</config_path>
1642
+ <frontend_type>select</frontend_type>
1643
+ <source_model>paypal/system_config_source_paymentActions</source_model>
1644
+ <sort_order>210</sort_order>
1645
+ <show_in_default>1</show_in_default>
1646
+ <show_in_website>1</show_in_website>
1647
+ <shared>1</shared>
1648
+ </paypal_direct_orderstored_payment_action>
1649
+ <paypal_direct_orderstored_allowspecific translate="label">
1650
+ <label>Payment Applicable From</label>
1651
+ <config_path>payment/paypal_direct_orderstored/allowspecific</config_path>
1652
+ <frontend_type>select</frontend_type>
1653
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1654
+ <sort_order>220</sort_order>
1655
+ <show_in_default>1</show_in_default>
1656
+ <show_in_website>1</show_in_website>
1657
+ <shared>1</shared>
1658
+ </paypal_direct_orderstored_allowspecific>
1659
+ <paypal_direct_orderstored_specificcountry translate="label">
1660
+ <label>Countries Payment Applicable From</label>
1661
+ <config_path>payment/paypal_direct_orderstored/specificcountry</config_path>
1662
+ <frontend_type>multiselect</frontend_type>
1663
+ <source_model>paypal/system_config_source_buyerCountry</source_model>
1664
+ <sort_order>230</sort_order>
1665
+ <show_in_default>1</show_in_default>
1666
+ <show_in_website>1</show_in_website>
1667
+ <depends><allowspecific>1</allowspecific></depends>
1668
+ <shared>1</shared>
1669
+ </paypal_direct_orderstored_specificcountry>
1670
+ <paypal_direct_orderstored_debug translate="label">
1671
+ <label>Debug Mode</label>
1672
+ <config_path>payment/paypal_direct_orderstored/debug</config_path>
1673
+ <frontend_type>select</frontend_type>
1674
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1675
+ <sort_order>240</sort_order>
1676
+ <show_in_default>1</show_in_default>
1677
+ <show_in_website>1</show_in_website>
1678
+ <shared>1</shared>
1679
+ </paypal_direct_orderstored_debug>
1680
+ <paypal_direct_orderstored_verify_peer translate="label">
1681
+ <label>Enable SSL verification</label>
1682
+ <config_path>payment/paypal_direct_orderstored/verify_peer</config_path>
1683
+ <frontend_type>select</frontend_type>
1684
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1685
+ <sort_order>250</sort_order>
1686
+ <show_in_default>1</show_in_default>
1687
+ <show_in_website>1</show_in_website>
1688
+ <shared>1</shared>
1689
+ </paypal_direct_orderstored_verify_peer>
1690
+ <paypal_direct_orderstored_line_items_enabled translate="label">
1691
+ <label>Transfer Cart Line Items</label>
1692
+ <config_path>payment/paypal_direct_orderstored/line_items_enabled</config_path>
1693
+ <frontend_type>select</frontend_type>
1694
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1695
+ <sort_order>260</sort_order>
1696
+ <show_in_default>1</show_in_default>
1697
+ <show_in_website>1</show_in_website>
1698
+ <shared>1</shared>
1699
+ </paypal_direct_orderstored_line_items_enabled>
1700
+ </fields>
1701
+ </wpp>
1702
+
1703
+ <verisign>
1704
+ <fields>
1705
+ <verisign_customerstored type="group" translate="label">
1706
+ <label>PayPal Saved Credit Card Settings</label>
1707
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1708
+ <show_in_default>1</show_in_default>
1709
+ <show_in_website>1</show_in_website>
1710
+ <sort_order>120</sort_order>
1711
+ </verisign_customerstored>
1712
+ <verisign_customerstored_active translate="label comment">
1713
+ <label>Enabled</label>
1714
+ <config_path>payment/verisign_customerstored/active</config_path>
1715
+ <frontend_type>select</frontend_type>
1716
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1717
+ <sort_order>130</sort_order>
1718
+ <show_in_default>1</show_in_default>
1719
+ <show_in_website>1</show_in_website>
1720
+ <shared>1</shared>
1721
+ </verisign_customerstored_active>
1722
+ <verisign_customerstored_title translate="label">
1723
+ <label>Title</label>
1724
+ <config_path>payment/verisign_customerstored/title</config_path>
1725
+ <frontend_type>text</frontend_type>
1726
+ <sort_order>140</sort_order>
1727
+ <show_in_default>1</show_in_default>
1728
+ <show_in_website>1</show_in_website>
1729
+ <show_in_store>1</show_in_store>
1730
+ <shared>1</shared>
1731
+ </verisign_customerstored_title>
1732
+ <verisign_customerstored_sort_order translate="label">
1733
+ <label>Sort Order</label>
1734
+ <config_path>payment/verisign_customerstored/sort_order</config_path>
1735
+ <frontend_type>text</frontend_type>
1736
+ <sort_order>150</sort_order>
1737
+ <show_in_default>1</show_in_default>
1738
+ <show_in_website>1</show_in_website>
1739
+ <show_in_store>1</show_in_store>
1740
+ <frontend_class>validate-number</frontend_class>
1741
+ <shared>1</shared>
1742
+ </verisign_customerstored_sort_order>
1743
+ <verisign_customerstored_payment_action translate="label">
1744
+ <label>Payment Action</label>
1745
+ <config_path>payment/verisign_customerstored/payment_action</config_path>
1746
+ <frontend_type>select</frontend_type>
1747
+ <source_model>paypal/system_config_source_paymentActions</source_model>
1748
+ <sort_order>160</sort_order>
1749
+ <show_in_default>1</show_in_default>
1750
+ <show_in_website>1</show_in_website>
1751
+ <shared>1</shared>
1752
+ </verisign_customerstored_payment_action>
1753
+ <verisign_customerstored_allowspecific translate="label">
1754
+ <label>Payment Applicable From</label>
1755
+ <config_path>payment/verisign_customerstored/allowspecific</config_path>
1756
+ <frontend_type>select</frontend_type>
1757
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1758
+ <sort_order>170</sort_order>
1759
+ <show_in_default>1</show_in_default>
1760
+ <show_in_website>1</show_in_website>
1761
+ <shared>1</shared>
1762
+ </verisign_customerstored_allowspecific>
1763
+ <verisign_customerstored_specificcountry translate="label">
1764
+ <label>Countries Payment Applicable From</label>
1765
+ <config_path>payment/verisign_customerstored/specificcountry</config_path>
1766
+ <frontend_type>multiselect</frontend_type>
1767
+ <source_model>paypal/system_config_source_buyerCountry</source_model>
1768
+ <sort_order>180</sort_order>
1769
+ <show_in_default>1</show_in_default>
1770
+ <show_in_website>1</show_in_website>
1771
+ <depends><allowspecific>1</allowspecific></depends>
1772
+ <shared>1</shared>
1773
+ </verisign_customerstored_specificcountry>
1774
+ <verisign_customerstored_debug translate="label">
1775
+ <label>Debug Mode</label>
1776
+ <config_path>payment/verisign_customerstored/debug</config_path>
1777
+ <frontend_type>select</frontend_type>
1778
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1779
+ <sort_order>190</sort_order>
1780
+ <show_in_default>1</show_in_default>
1781
+ <show_in_website>1</show_in_website>
1782
+ <shared>1</shared>
1783
+ </verisign_customerstored_debug>
1784
+ <verisign_customerstored_verify_peer translate="label">
1785
+ <label>Enable SSL verification</label>
1786
+ <config_path>payment/verisign_customerstored/verify_peer</config_path>
1787
+ <frontend_type>select</frontend_type>
1788
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1789
+ <sort_order>200</sort_order>
1790
+ <show_in_default>1</show_in_default>
1791
+ <show_in_website>1</show_in_website>
1792
+ <shared>1</shared>
1793
+ </verisign_customerstored_verify_peer>
1794
+
1795
+ <verisign_orderstored type="group" translate="label">
1796
+ <label>PayPal Previous Order Credit Card Settings</label>
1797
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1798
+ <show_in_default>1</show_in_default>
1799
+ <show_in_website>1</show_in_website>
1800
+ <sort_order>210</sort_order>
1801
+ </verisign_orderstored>
1802
+ <verisign_orderstored_active translate="label comment">
1803
+ <label>Enabled</label>
1804
+ <comment><![CDATA[Will appear as an admin-only payment option allowing use of the same card that was used on the specific previous order selected.]]></comment>
1805
+ <config_path>payment/verisign_orderstored/active</config_path>
1806
+ <frontend_type>select</frontend_type>
1807
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1808
+ <sort_order>220</sort_order>
1809
+ <show_in_default>1</show_in_default>
1810
+ <show_in_website>1</show_in_website>
1811
+ <shared>1</shared>
1812
+ </verisign_orderstored_active>
1813
+ <verisign_orderstored_title translate="label">
1814
+ <label>Title</label>
1815
+ <config_path>payment/verisign_orderstored/title</config_path>
1816
+ <frontend_type>text</frontend_type>
1817
+ <sort_order>230</sort_order>
1818
+ <show_in_default>1</show_in_default>
1819
+ <show_in_website>1</show_in_website>
1820
+ <show_in_store>1</show_in_store>
1821
+ <shared>1</shared>
1822
+ </verisign_orderstored_title>
1823
+ <verisign_orderstored_sort_order translate="label">
1824
+ <label>Sort Order</label>
1825
+ <config_path>payment/verisign_orderstored/sort_order</config_path>
1826
+ <frontend_type>text</frontend_type>
1827
+ <sort_order>240</sort_order>
1828
+ <show_in_default>1</show_in_default>
1829
+ <show_in_website>1</show_in_website>
1830
+ <show_in_store>1</show_in_store>
1831
+ <frontend_class>validate-number</frontend_class>
1832
+ <shared>1</shared>
1833
+ </verisign_orderstored_sort_order>
1834
+ <verisign_orderstored_payment_action translate="label">
1835
+ <label>Payment Action</label>
1836
+ <config_path>payment/verisign_orderstored/payment_action</config_path>
1837
+ <frontend_type>select</frontend_type>
1838
+ <source_model>paypal/system_config_source_paymentActions</source_model>
1839
+ <sort_order>250</sort_order>
1840
+ <show_in_default>1</show_in_default>
1841
+ <show_in_website>1</show_in_website>
1842
+ <shared>1</shared>
1843
+ </verisign_orderstored_payment_action>
1844
+ <verisign_orderstored_allowspecific translate="label">
1845
+ <label>Payment Applicable From</label>
1846
+ <config_path>payment/verisign_orderstored/allowspecific</config_path>
1847
+ <frontend_type>select</frontend_type>
1848
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1849
+ <sort_order>260</sort_order>
1850
+ <show_in_default>1</show_in_default>
1851
+ <show_in_website>1</show_in_website>
1852
+ <shared>1</shared>
1853
+ </verisign_orderstored_allowspecific>
1854
+ <verisign_orderstored_specificcountry translate="label">
1855
+ <label>Countries Payment Applicable From</label>
1856
+ <config_path>payment/verisign_orderstored/specificcountry</config_path>
1857
+ <frontend_type>multiselect</frontend_type>
1858
+ <source_model>paypal/system_config_source_buyerCountry</source_model>
1859
+ <sort_order>270</sort_order>
1860
+ <show_in_default>1</show_in_default>
1861
+ <show_in_website>1</show_in_website>
1862
+ <depends><allowspecific>1</allowspecific></depends>
1863
+ <shared>1</shared>
1864
+ </verisign_orderstored_specificcountry>
1865
+ <verisign_orderstored_debug translate="label">
1866
+ <label>Debug Mode</label>
1867
+ <config_path>payment/verisign_orderstored/debug</config_path>
1868
+ <frontend_type>select</frontend_type>
1869
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1870
+ <sort_order>280</sort_order>
1871
+ <show_in_default>1</show_in_default>
1872
+ <show_in_website>1</show_in_website>
1873
+ <shared>1</shared>
1874
+ </verisign_orderstored_debug>
1875
+ <verisign_orderstored_verify_peer translate="label">
1876
+ <label>Enable SSL verification</label>
1877
+ <config_path>payment/verisign_orderstored/verify_peer</config_path>
1878
+ <frontend_type>select</frontend_type>
1879
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1880
+ <sort_order>290</sort_order>
1881
+ <show_in_default>1</show_in_default>
1882
+ <show_in_website>1</show_in_website>
1883
+ <shared>1</shared>
1884
+ </verisign_orderstored_verify_peer>
1885
+ </fields>
1886
+ </verisign>
1887
+
1888
+ <payflow_link>
1889
+ <fields>
1890
+ <payflow_link_customerstored translate="label">
1891
+ <label>PayPal Saved Credit Card Settings</label>
1892
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1893
+ <show_in_default>1</show_in_default>
1894
+ <show_in_website>1</show_in_website>
1895
+ <sort_order>80</sort_order>
1896
+ </payflow_link_customerstored>
1897
+ <payflow_link_customerstored_active translate="label comment">
1898
+ <label>Enabled</label>
1899
+ <config_path>payment/payflow_link_customerstored/active</config_path>
1900
+ <frontend_type>select</frontend_type>
1901
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1902
+ <sort_order>90</sort_order>
1903
+ <show_in_default>1</show_in_default>
1904
+ <show_in_website>1</show_in_website>
1905
+ <shared>1</shared>
1906
+ </payflow_link_customerstored_active>
1907
+ <payflow_link_customerstored_title translate="label">
1908
+ <label>Title</label>
1909
+ <config_path>payment/payflow_link_customerstored/title</config_path>
1910
+ <frontend_type>text</frontend_type>
1911
+ <sort_order>100</sort_order>
1912
+ <show_in_default>1</show_in_default>
1913
+ <show_in_website>1</show_in_website>
1914
+ <show_in_store>1</show_in_store>
1915
+ <shared>1</shared>
1916
+ </payflow_link_customerstored_title>
1917
+ <payflow_link_customerstored_sort_order translate="label">
1918
+ <label>Sort Order</label>
1919
+ <config_path>payment/payflow_link_customerstored/sort_order</config_path>
1920
+ <frontend_type>text</frontend_type>
1921
+ <sort_order>110</sort_order>
1922
+ <show_in_default>1</show_in_default>
1923
+ <show_in_website>1</show_in_website>
1924
+ <show_in_store>1</show_in_store>
1925
+ <frontend_class>validate-number</frontend_class>
1926
+ <shared>1</shared>
1927
+ </payflow_link_customerstored_sort_order>
1928
+ <payflow_link_customerstored_payment_action translate="label">
1929
+ <label>Payment Action</label>
1930
+ <config_path>payment/payflow_link_customerstored/payment_action</config_path>
1931
+ <frontend_type>select</frontend_type>
1932
+ <source_model>paypal/system_config_source_paymentActions</source_model>
1933
+ <sort_order>120</sort_order>
1934
+ <show_in_default>1</show_in_default>
1935
+ <show_in_website>1</show_in_website>
1936
+ <shared>1</shared>
1937
+ </payflow_link_customerstored_payment_action>
1938
+ <payflow_link_customerstored_allowspecific translate="label">
1939
+ <label>Payment Applicable From</label>
1940
+ <config_path>payment/payflow_link_customerstored/allowspecific</config_path>
1941
+ <frontend_type>select</frontend_type>
1942
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
1943
+ <sort_order>130</sort_order>
1944
+ <show_in_default>1</show_in_default>
1945
+ <show_in_website>1</show_in_website>
1946
+ <shared>1</shared>
1947
+ </payflow_link_customerstored_allowspecific>
1948
+ <payflow_link_customerstored_specificcountry translate="label">
1949
+ <label>Countries Payment Applicable From</label>
1950
+ <config_path>payment/payflow_link_customerstored/specificcountry</config_path>
1951
+ <frontend_type>multiselect</frontend_type>
1952
+ <source_model>paypal/system_config_source_buyerCountry</source_model>
1953
+ <sort_order>140</sort_order>
1954
+ <show_in_default>1</show_in_default>
1955
+ <show_in_website>1</show_in_website>
1956
+ <depends><allowspecific>1</allowspecific></depends>
1957
+ <shared>1</shared>
1958
+ </payflow_link_customerstored_specificcountry>
1959
+ <payflow_link_customerstored_debug translate="label">
1960
+ <label>Debug Mode</label>
1961
+ <config_path>payment/payflow_link_customerstored/debug</config_path>
1962
+ <frontend_type>select</frontend_type>
1963
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1964
+ <sort_order>150</sort_order>
1965
+ <show_in_default>1</show_in_default>
1966
+ <show_in_website>1</show_in_website>
1967
+ <shared>1</shared>
1968
+ </payflow_link_customerstored_debug>
1969
+ <payflow_link_customerstored_verify_peer translate="label">
1970
+ <label>Enable SSL verification</label>
1971
+ <config_path>payment/payflow_link_customerstored/verify_peer</config_path>
1972
+ <frontend_type>select</frontend_type>
1973
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1974
+ <sort_order>160</sort_order>
1975
+ <show_in_default>1</show_in_default>
1976
+ <show_in_website>1</show_in_website>
1977
+ <shared>1</shared>
1978
+ </payflow_link_customerstored_verify_peer>
1979
+
1980
+ <payflow_link_orderstored translate="label comment">
1981
+ <label>PayPal Previous Order Credit Card Settings</label>
1982
+ <comment><![CDATA[Will appear as an admin-only payment option allowing use of the same card that was used on the specific previous order selected.]]></comment>
1983
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
1984
+ <show_in_default>1</show_in_default>
1985
+ <show_in_website>1</show_in_website>
1986
+ <sort_order>170</sort_order>
1987
+ </payflow_link_orderstored>
1988
+ <payflow_link_orderstored_active translate="label comment">
1989
+ <label>Enabled</label>
1990
+ <config_path>payment/payflow_link_orderstored/active</config_path>
1991
+ <frontend_type>select</frontend_type>
1992
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1993
+ <sort_order>180</sort_order>
1994
+ <show_in_default>1</show_in_default>
1995
+ <show_in_website>1</show_in_website>
1996
+ <shared>1</shared>
1997
+ </payflow_link_orderstored_active>
1998
+ <payflow_link_orderstored_title translate="label">
1999
+ <label>Title</label>
2000
+ <config_path>payment/payflow_link_orderstored/title</config_path>
2001
+ <frontend_type>text</frontend_type>
2002
+ <sort_order>190</sort_order>
2003
+ <show_in_default>1</show_in_default>
2004
+ <show_in_website>1</show_in_website>
2005
+ <show_in_store>1</show_in_store>
2006
+ <shared>1</shared>
2007
+ </payflow_link_orderstored_title>
2008
+ <payflow_link_orderstored_sort_order translate="label">
2009
+ <label>Sort Order</label>
2010
+ <config_path>payment/payflow_link_orderstored/sort_order</config_path>
2011
+ <frontend_type>text</frontend_type>
2012
+ <sort_order>200</sort_order>
2013
+ <show_in_default>1</show_in_default>
2014
+ <show_in_website>1</show_in_website>
2015
+ <show_in_store>1</show_in_store>
2016
+ <frontend_class>validate-number</frontend_class>
2017
+ <shared>1</shared>
2018
+ </payflow_link_orderstored_sort_order>
2019
+ <payflow_link_orderstored_payment_action translate="label">
2020
+ <label>Payment Action</label>
2021
+ <config_path>payment/payflow_link_orderstored/payment_action</config_path>
2022
+ <frontend_type>select</frontend_type>
2023
+ <source_model>paypal/system_config_source_paymentActions</source_model>
2024
+ <sort_order>210</sort_order>
2025
+ <show_in_default>1</show_in_default>
2026
+ <show_in_website>1</show_in_website>
2027
+ <shared>1</shared>
2028
+ </payflow_link_orderstored_payment_action>
2029
+ <payflow_link_orderstored_allowspecific translate="label">
2030
+ <label>Payment Applicable From</label>
2031
+ <config_path>payment/payflow_link_orderstored/allowspecific</config_path>
2032
+ <frontend_type>select</frontend_type>
2033
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2034
+ <sort_order>220</sort_order>
2035
+ <show_in_default>1</show_in_default>
2036
+ <show_in_website>1</show_in_website>
2037
+ <shared>1</shared>
2038
+ </payflow_link_orderstored_allowspecific>
2039
+ <payflow_link_orderstored_specificcountry translate="label">
2040
+ <label>Countries Payment Applicable From</label>
2041
+ <config_path>payment/payflow_link_orderstored/specificcountry</config_path>
2042
+ <frontend_type>multiselect</frontend_type>
2043
+ <source_model>paypal/system_config_source_buyerCountry</source_model>
2044
+ <sort_order>230</sort_order>
2045
+ <show_in_default>1</show_in_default>
2046
+ <show_in_website>1</show_in_website>
2047
+ <depends><allowspecific>1</allowspecific></depends>
2048
+ <shared>1</shared>
2049
+ </payflow_link_orderstored_specificcountry>
2050
+ <payflow_link_orderstored_debug translate="label">
2051
+ <label>Debug Mode</label>
2052
+ <config_path>payment/payflow_link_orderstored/debug</config_path>
2053
+ <frontend_type>select</frontend_type>
2054
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2055
+ <sort_order>240</sort_order>
2056
+ <show_in_default>1</show_in_default>
2057
+ <show_in_website>1</show_in_website>
2058
+ <shared>1</shared>
2059
+ </payflow_link_orderstored_debug>
2060
+ <payflow_link_orderstored_verify_peer translate="label">
2061
+ <label>Enable SSL verification</label>
2062
+ <config_path>payment/payflow_link_orderstored/verify_peer</config_path>
2063
+ <frontend_type>select</frontend_type>
2064
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2065
+ <sort_order>250</sort_order>
2066
+ <show_in_default>1</show_in_default>
2067
+ <show_in_website>1</show_in_website>
2068
+ <shared>1</shared>
2069
+ </payflow_link_orderstored_verify_peer>
2070
+ </fields>
2071
+ </payflow_link>
2072
+
2073
+ <paypal_billing_agreement>
2074
+ <fields>
2075
+ <paypal_orderstored_agreement translate="label">
2076
+ <label>PayPal Previous Order Billing Agreement Settings</label>
2077
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2078
+ <show_in_default>1</show_in_default>
2079
+ <show_in_website>1</show_in_website>
2080
+ <sort_order>70</sort_order>
2081
+ </paypal_orderstored_agreement>
2082
+ <paypal_orderstored_agreement_active translate="label comment">
2083
+ <label>Enabled</label>
2084
+ <comment><![CDATA[Will appear as an admin-only payment option allowing use of the same billing agreement that was used on the specific previous order selected.]]></comment>
2085
+ <config_path>payment/paypal_orderstored_agreement/active</config_path>
2086
+ <frontend_type>select</frontend_type>
2087
+ <frontend_class>paypal-orderstored-ba-enabler</frontend_class>
2088
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2089
+ <sort_order>80</sort_order>
2090
+ <show_in_default>1</show_in_default>
2091
+ <show_in_website>1</show_in_website>
2092
+ <shared>1</shared>
2093
+ </paypal_orderstored_agreement_active>
2094
+ <paypal_orderstored_agreement_title translate="label">
2095
+ <label>Title</label>
2096
+ <config_path>payment/paypal_orderstored_agreement/title</config_path>
2097
+ <frontend_type>text</frontend_type>
2098
+ <sort_order>90</sort_order>
2099
+ <show_in_default>1</show_in_default>
2100
+ <show_in_website>1</show_in_website>
2101
+ <show_in_store>1</show_in_store>
2102
+ <shared>1</shared>
2103
+ </paypal_orderstored_agreement_title>
2104
+ <paypal_orderstored_agreement_sort_order translate="label">
2105
+ <label>Sort Order</label>
2106
+ <config_path>payment/paypal_orderstored_agreement/sort_order</config_path>
2107
+ <frontend_type>text</frontend_type>
2108
+ <sort_order>100</sort_order>
2109
+ <show_in_default>1</show_in_default>
2110
+ <show_in_website>1</show_in_website>
2111
+ <show_in_store>1</show_in_store>
2112
+ <frontend_class>validate-number</frontend_class>
2113
+ <shared>1</shared>
2114
+ </paypal_orderstored_agreement_sort_order>
2115
+ <paypal_orderstored_agreement_payment_action translate="label">
2116
+ <label>Payment Action</label>
2117
+ <config_path>payment/paypal_orderstored_agreement/payment_action</config_path>
2118
+ <frontend_type>select</frontend_type>
2119
+ <source_model>paypal/system_config_source_paymentActions</source_model>
2120
+ <sort_order>110</sort_order>
2121
+ <show_in_default>1</show_in_default>
2122
+ <show_in_website>1</show_in_website>
2123
+ <shared>1</shared>
2124
+ </paypal_orderstored_agreement_payment_action>
2125
+ <paypal_orderstored_agreement_allowspecific translate="label">
2126
+ <label>Payment Applicable From</label>
2127
+ <config_path>payment/paypal_orderstored_agreement/allowspecific</config_path>
2128
+ <frontend_type>select</frontend_type>
2129
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2130
+ <sort_order>120</sort_order>
2131
+ <show_in_default>1</show_in_default>
2132
+ <show_in_website>1</show_in_website>
2133
+ <shared>1</shared>
2134
+ </paypal_orderstored_agreement_allowspecific>
2135
+ <paypal_orderstored_agreement_specificcountry translate="label">
2136
+ <label>Countries Payment Applicable From</label>
2137
+ <config_path>payment/paypal_orderstored_agreement/specificcountry</config_path>
2138
+ <frontend_type>multiselect</frontend_type>
2139
+ <source_model>paypal/system_config_source_buyerCountry</source_model>
2140
+ <sort_order>130</sort_order>
2141
+ <show_in_default>1</show_in_default>
2142
+ <show_in_website>1</show_in_website>
2143
+ <depends><allowspecific>1</allowspecific></depends>
2144
+ <shared>1</shared>
2145
+ </paypal_orderstored_agreement_specificcountry>
2146
+ <paypal_orderstored_agreement_debug translate="label">
2147
+ <label>Debug Mode</label>
2148
+ <config_path>payment/paypal_orderstored_agreement/debug</config_path>
2149
+ <frontend_type>select</frontend_type>
2150
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2151
+ <sort_order>140</sort_order>
2152
+ <show_in_default>1</show_in_default>
2153
+ <show_in_website>1</show_in_website>
2154
+ <shared>1</shared>
2155
+ </paypal_orderstored_agreement_debug>
2156
+ <paypal_orderstored_agreement_verify_peer translate="label">
2157
+ <label>Enable SSL verification</label>
2158
+ <config_path>payment/paypal_orderstored_agreement/verify_peer</config_path>
2159
+ <frontend_type>select</frontend_type>
2160
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2161
+ <sort_order>150</sort_order>
2162
+ <show_in_default>1</show_in_default>
2163
+ <show_in_website>1</show_in_website>
2164
+ <shared>1</shared>
2165
+ </paypal_orderstored_agreement_verify_peer>
2166
+ <paypal_orderstored_agreement_line_items_enabled translate="label">
2167
+ <label>Transfer Cart Line Items</label>
2168
+ <config_path>payment/paypal_orderstored_agreement/line_items_enabled</config_path>
2169
+ <frontend_type>select</frontend_type>
2170
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2171
+ <sort_order>160</sort_order>
2172
+ <show_in_default>1</show_in_default>
2173
+ <show_in_website>1</show_in_website>
2174
+ <shared>1</shared>
2175
+ </paypal_orderstored_agreement_line_items_enabled>
2176
+ <paypal_orderstored_agreement_allow_billing_agreement_wizard translate="label">
2177
+ <label>Allow in Billing Agreement Wizard</label>
2178
+ <config_path>payment/paypal_orderstored_agreement/allow_billing_agreement_wizard</config_path>
2179
+ <frontend_type>select</frontend_type>
2180
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2181
+ <sort_order>170</sort_order>
2182
+ <show_in_default>0</show_in_default>
2183
+ <show_in_website>0</show_in_website>
2184
+ <shared>1</shared>
2185
+ </paypal_orderstored_agreement_allow_billing_agreement_wizard>
2186
+ </fields>
2187
+ </paypal_billing_agreement>
2188
+
2189
+ <paypal_payflow_billing_agreement translate="label">
2190
+ <label>Payflow Pro Billing Agreement Settings</label>
2191
+ <frontend_type>text</frontend_type>
2192
+ <show_in_default>1</show_in_default>
2193
+ <show_in_website>1</show_in_website>
2194
+ <show_in_store>1</show_in_store>
2195
+ <sort_order>63</sort_order>
2196
+ <fields>
2197
+ <active translate="label comment">
2198
+ <label>Enabled</label>
2199
+ <comment><![CDATA[Will appear as a payment option only for customers who have at least one active billing agreement.<br/>NOTE: Payflow Pro must be enabled for this method to be available.]]></comment>
2200
+ <config_path>payment/paypaluk_billing_agreement/active</config_path>
2201
+ <frontend_type>select</frontend_type>
2202
+ <frontend_class>paypal-ba-payflow-enabler</frontend_class>
2203
+ <backend_model>cls_paypal/system_config_backend_payflowbaenabled</backend_model>
2204
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2205
+ <sort_order>10</sort_order>
2206
+ <show_in_default>1</show_in_default>
2207
+ <show_in_website>1</show_in_website>
2208
+ <shared>1</shared>
2209
+ </active>
2210
+ <title translate="label">
2211
+ <label>Title</label>
2212
+ <config_path>payment/paypaluk_billing_agreement/title</config_path>
2213
+ <frontend_type>text</frontend_type>
2214
+ <sort_order>20</sort_order>
2215
+ <show_in_default>1</show_in_default>
2216
+ <show_in_website>1</show_in_website>
2217
+ <show_in_store>1</show_in_store>
2218
+ <shared>1</shared>
2219
+ </title>
2220
+ <sort_order translate="label">
2221
+ <label>Sort Order</label>
2222
+ <config_path>payment/paypaluk_billing_agreement/sort_order</config_path>
2223
+ <frontend_type>text</frontend_type>
2224
+ <sort_order>30</sort_order>
2225
+ <show_in_default>1</show_in_default>
2226
+ <show_in_website>1</show_in_website>
2227
+ <show_in_store>1</show_in_store>
2228
+ <frontend_class>validate-number</frontend_class>
2229
+ <shared>1</shared>
2230
+ </sort_order>
2231
+ <payment_action translate="label">
2232
+ <label>Payment Action</label>
2233
+ <config_path>payment/paypaluk_billing_agreement/payment_action</config_path>
2234
+ <frontend_type>select</frontend_type>
2235
+ <source_model>paypal/system_config_source_paymentActions</source_model>
2236
+ <sort_order>40</sort_order>
2237
+ <show_in_default>1</show_in_default>
2238
+ <show_in_website>1</show_in_website>
2239
+ <shared>1</shared>
2240
+ </payment_action>
2241
+ <allowspecific translate="label">
2242
+ <label>Payment Applicable From</label>
2243
+ <config_path>payment/paypaluk_billing_agreement/allowspecific</config_path>
2244
+ <frontend_type>select</frontend_type>
2245
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2246
+ <sort_order>50</sort_order>
2247
+ <show_in_default>1</show_in_default>
2248
+ <show_in_website>1</show_in_website>
2249
+ <shared>1</shared>
2250
+ </allowspecific>
2251
+ <specificcountry translate="label">
2252
+ <label>Countries Payment Applicable From</label>
2253
+ <config_path>payment/paypaluk_billing_agreement/specificcountry</config_path>
2254
+ <frontend_type>multiselect</frontend_type>
2255
+ <source_model>paypal/system_config_source_buyerCountry</source_model>
2256
+ <sort_order>60</sort_order>
2257
+ <show_in_default>1</show_in_default>
2258
+ <show_in_website>1</show_in_website>
2259
+ <depends><allowspecific>1</allowspecific></depends>
2260
+ <shared>1</shared>
2261
+ </specificcountry>
2262
+ <debug translate="label">
2263
+ <label>Debug Mode</label>
2264
+ <config_path>payment/paypaluk_billing_agreement/debug</config_path>
2265
+ <frontend_type>select</frontend_type>
2266
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2267
+ <sort_order>70</sort_order>
2268
+ <show_in_default>1</show_in_default>
2269
+ <show_in_website>1</show_in_website>
2270
+ <shared>1</shared>
2271
+ </debug>
2272
+ <verify_peer translate="label">
2273
+ <label>Enable SSL verification</label>
2274
+ <config_path>payment/paypaluk_billing_agreement/verify_peer</config_path>
2275
+ <frontend_type>select</frontend_type>
2276
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2277
+ <sort_order>75</sort_order>
2278
+ <show_in_default>1</show_in_default>
2279
+ <show_in_website>1</show_in_website>
2280
+ <shared>1</shared>
2281
+ </verify_peer>
2282
+ <line_items_enabled translate="label">
2283
+ <label>Transfer Cart Line Items</label>
2284
+ <config_path>payment/paypaluk_billing_agreement/line_items_enabled</config_path>
2285
+ <frontend_type>select</frontend_type>
2286
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2287
+ <sort_order>80</sort_order>
2288
+ <show_in_default>1</show_in_default>
2289
+ <show_in_website>1</show_in_website>
2290
+ <shared>1</shared>
2291
+ </line_items_enabled>
2292
+ <allow_billing_agreement_wizard translate="label">
2293
+ <label>Allow in Billing Agreement Wizard</label>
2294
+ <config_path>payment/paypaluk_billing_agreement/allow_billing_agreement_wizard</config_path>
2295
+ <frontend_type>select</frontend_type>
2296
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2297
+ <sort_order>90</sort_order>
2298
+ <show_in_default>1</show_in_default>
2299
+ <show_in_website>1</show_in_website>
2300
+ <shared>1</shared>
2301
+ </allow_billing_agreement_wizard>
2302
+
2303
+ <paypaluk_orderstored_agreement translate="label">
2304
+ <label>Payflow Pro Order Stored Billing Agreement Settings</label>
2305
+ <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
2306
+ <show_in_default>1</show_in_default>
2307
+ <show_in_website>1</show_in_website>
2308
+ <show_in_store>1</show_in_store>
2309
+ <sort_order>100</sort_order>
2310
+ </paypaluk_orderstored_agreement>
2311
+ <paypaluk_orderstored_agreement_active translate="label comment">
2312
+ <label>Enabled</label>
2313
+ <comment><![CDATA[Will appear as an admin-only payment option for customers or guests who have placed an order creating or using a billing agreement.<br/>NOTE: Payflow Pro must be enabled for this method to be available.]]></comment>
2314
+ <config_path>payment/paypaluk_orderstored_agreement/active</config_path>
2315
+ <frontend_type>select</frontend_type>
2316
+ <frontend_class>paypal-orderstored-ba-payflow-enabler</frontend_class>
2317
+ <backend_model>cls_paypal/system_config_backend_payflowbaenabled</backend_model>
2318
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2319
+ <sort_order>110</sort_order>
2320
+ <show_in_default>1</show_in_default>
2321
+ <show_in_website>1</show_in_website>
2322
+ <shared>1</shared>
2323
+ </paypaluk_orderstored_agreement_active>
2324
+ <paypaluk_orderstored_agreement_title translate="label">
2325
+ <label>Title</label>
2326
+ <config_path>payment/paypaluk_orderstored_agreement/title</config_path>
2327
+ <frontend_type>text</frontend_type>
2328
+ <sort_order>120</sort_order>
2329
+ <show_in_default>1</show_in_default>
2330
+ <show_in_website>1</show_in_website>
2331
+ <show_in_store>1</show_in_store>
2332
+ <shared>1</shared>
2333
+ </paypaluk_orderstored_agreement_title>
2334
+ <paypaluk_orderstored_agreement_sort_order translate="label">
2335
+ <label>Sort Order</label>
2336
+ <config_path>payment/paypaluk_orderstored_agreement/sort_order</config_path>
2337
+ <frontend_type>text</frontend_type>
2338
+ <sort_order>130</sort_order>
2339
+ <show_in_default>1</show_in_default>
2340
+ <show_in_website>1</show_in_website>
2341
+ <show_in_store>1</show_in_store>
2342
+ <frontend_class>validate-number</frontend_class>
2343
+ <shared>1</shared>
2344
+ </paypaluk_orderstored_agreement_sort_order>
2345
+ <paypaluk_orderstored_agreement_payment_action translate="label">
2346
+ <label>Payment Action</label>
2347
+ <config_path>payment/paypaluk_orderstored_agreement/payment_action</config_path>
2348
+ <frontend_type>select</frontend_type>
2349
+ <source_model>paypal/system_config_source_paymentActions</source_model>
2350
+ <sort_order>140</sort_order>
2351
+ <show_in_default>1</show_in_default>
2352
+ <show_in_website>1</show_in_website>
2353
+ <shared>1</shared>
2354
+ </paypaluk_orderstored_agreement_payment_action>
2355
+ <paypaluk_orderstored_agreement_allowspecific translate="label">
2356
+ <label>Payment Applicable From</label>
2357
+ <config_path>payment/paypaluk_orderstored_agreement/allowspecific</config_path>
2358
+ <frontend_type>select</frontend_type>
2359
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
2360
+ <sort_order>150</sort_order>
2361
+ <show_in_default>1</show_in_default>
2362
+ <show_in_website>1</show_in_website>
2363
+ <shared>1</shared>
2364
+ </paypaluk_orderstored_agreement_allowspecific>
2365
+ <paypaluk_orderstored_agreement_specificcountry translate="label">
2366
+ <label>Countries Payment Applicable From</label>
2367
+ <config_path>payment/paypaluk_orderstored_agreement/specificcountry</config_path>
2368
+ <frontend_type>multiselect</frontend_type>
2369
+ <source_model>paypal/system_config_source_buyerCountry</source_model>
2370
+ <sort_order>160</sort_order>
2371
+ <show_in_default>1</show_in_default>
2372
+ <show_in_website>1</show_in_website>
2373
+ <depends><allowspecific>1</allowspecific></depends>
2374
+ <shared>1</shared>
2375
+ </paypaluk_orderstored_agreement_specificcountry>
2376
+ <paypaluk_orderstored_agreement_debug translate="label">
2377
+ <label>Debug Mode</label>
2378
+ <config_path>payment/paypaluk_orderstored_agreement/debug</config_path>
2379
+ <frontend_type>select</frontend_type>
2380
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2381
+ <sort_order>170</sort_order>
2382
+ <show_in_default>1</show_in_default>
2383
+ <show_in_website>1</show_in_website>
2384
+ <shared>1</shared>
2385
+ </paypaluk_orderstored_agreement_debug>
2386
+ <paypaluk_orderstored_agreement_verify_peer translate="label">
2387
+ <label>Enable SSL verification</label>
2388
+ <config_path>payment/paypaluk_orderstored_agreement/verify_peer</config_path>
2389
+ <frontend_type>select</frontend_type>
2390
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2391
+ <sort_order>180</sort_order>
2392
+ <show_in_default>1</show_in_default>
2393
+ <show_in_website>1</show_in_website>
2394
+ <shared>1</shared>
2395
+ </paypaluk_orderstored_agreement_verify_peer>
2396
+ <paypaluk_orderstored_agreement_line_items_enabled translate="label">
2397
+ <label>Transfer Cart Line Items</label>`
2398
+ <config_path>payment/paypaluk_orderstored_agreement/line_items_enabled</config_path>
2399
+ <frontend_type>select</frontend_type>
2400
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2401
+ <sort_order>190</sort_order>
2402
+ <show_in_default>1</show_in_default>
2403
+ <show_in_website>1</show_in_website>
2404
+ <shared>1</shared>
2405
+ </paypaluk_orderstored_agreement_line_items_enabled>
2406
+ <paypaluk_orderstored_agreement_allow_billing_agreement_wizard translate="label">
2407
+ <label>Allow in Billing Agreement Wizard</label>
2408
+ <config_path>payment/paypaluk_orderstored_agreement/allow_billing_agreement_wizard</config_path>
2409
+ <frontend_type>select</frontend_type>
2410
+ <source_model>adminhtml/system_config_source_yesno</source_model>
2411
+ <sort_order>200</sort_order>
2412
+ <show_in_default>0</show_in_default>
2413
+ <show_in_website>0</show_in_website>
2414
+ <shared>1</shared>
2415
+ </paypaluk_orderstored_agreement_allow_billing_agreement_wizard>
2416
+ </fields>
2417
+ </paypal_payflow_billing_agreement>
2418
+
2419
+ <express_pe>
2420
+ <fields>
2421
+ <allow_ba_signup translate="label comment tooltip">
2422
+ <label>Billing Agreement Signup</label>
2423
+ <comment>Whether to create a billing agreement, if there are no active billing agreements available.</comment>
2424
+ <tooltip><![CDATA[Merchants need to apply to PayPal for enabling billing agreements feature. Do not enable this option until PayPal confirms that billing agreements are enabled for your merchant account.]]></tooltip>
2425
+ <config_path>payment/paypaluk_express/allow_ba_signup</config_path>
2426
+ <frontend_type>select</frontend_type>
2427
+ <source_model>paypal/config::getExpressCheckoutBASignupOptions</source_model>
2428
+ <sort_order>50</sort_order>
2429
+ <show_in_default>1</show_in_default>
2430
+ <show_in_website>1</show_in_website>
2431
+ <shared>1</shared>
2432
+ </allow_ba_signup>
2433
+ </fields>
2434
+ </express_pe>
2435
+ </groups>
2436
+ </paypal>
2437
+ <!-- End Section - Magento EE 1.10.0.1 - 1.12.0.0 (CE 1.5.0.1 - 1.7.0.0) -->
2438
+
2439
  </sections>
2440
+ </config>
app/code/community/CLS/Paypal/sql/cls_paypal_setup/install-0.0.1.php DELETED
@@ -1,76 +0,0 @@
1
- <?php
2
- /**
3
- * Classy Llama
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email to us at
13
- * support+paypal@classyllama.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade this module
18
- * to newer versions in the future. If you require customizations of this
19
- * module for your needs, please write us at sales@classyllama.com.
20
- *
21
- * To report bugs or issues with this module, please email support+paypal@classyllama.com.
22
- *
23
- * @category CLS
24
- * @package Paypal
25
- * @copyright Copyright (c) 2013 Classy Llama Studios, LLC (http://www.classyllama.com)
26
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
- */
28
-
29
- /* @var $installer Mage_Core_Model_Resource_Setup */
30
- $installer = $this;
31
-
32
- $installer->startSetup();
33
-
34
- /**
35
- * Create table 'cls_paypal/customerstored'
36
- */
37
- $table = $installer->getConnection()
38
- ->newTable($installer->getTable('cls_paypal/customerstored'))
39
- ->addColumn('stored_card_id', Varien_Db_Ddl_Table::TYPE_INTEGER, null, array(
40
- 'identity' => true,
41
- 'unsigned' => true,
42
- 'nullable' => false,
43
- 'primary' => true
44
- ))
45
- ->addColumn('transaction_id', Varien_Db_Ddl_Table::TYPE_VARCHAR, 255, array(
46
- 'nullable' => false
47
- ))
48
- ->addColumn('customer_id', Varien_Db_Ddl_Table::TYPE_INTEGER, null, array(
49
- 'unsigned' => true,
50
- 'nullable' => false,
51
- 'default' => '0'
52
- ))
53
- ->addColumn('cc_type', Varien_Db_Ddl_Table::TYPE_VARCHAR, 255, array(
54
- 'nullable' => false
55
- ))
56
- ->addColumn('cc_last4', Varien_Db_Ddl_Table::TYPE_VARCHAR, 255, array(
57
- 'nullable' => false
58
- ))
59
- ->addColumn('cc_exp_month', Varien_Db_Ddl_Table::TYPE_VARCHAR, 255, array(
60
- 'nullable' => false
61
- ))
62
- ->addColumn('cc_exp_year', Varien_Db_Ddl_Table::TYPE_VARCHAR, 255, array(
63
- 'nullable' => false
64
- ))
65
- ->addColumn('date', Varien_Db_Ddl_Table::TYPE_DATE, null, array())
66
- ->addColumn('payment_method', Varien_Db_Ddl_Table::TYPE_VARCHAR, 255, array(
67
- 'nullable' => false
68
- ))
69
- ->addForeignKey($installer->getFkName('cls_paypal/customerstored', 'customer_id', 'customer/entity', 'entity_id'),
70
- 'customer_id', $installer->getTable('customer/entity'), 'entity_id',
71
- Varien_Db_Ddl_Table::ACTION_CASCADE, Varien_Db_Ddl_Table::ACTION_CASCADE
72
- );
73
-
74
- $installer->getConnection()->createTable($table);
75
-
76
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/CLS/Paypal/sql/cls_paypal_setup/mysql4-install-0.0.1.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Classy Llama
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email to us at
13
+ * support+paypal@classyllama.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade this module
18
+ * to newer versions in the future. If you require customizations of this
19
+ * module for your needs, please write us at sales@classyllama.com.
20
+ *
21
+ * To report bugs or issues with this module, please email support+paypal@classyllama.com.
22
+ *
23
+ * @category CLS
24
+ * @package Paypal
25
+ * @copyright Copyright (c) 2013 Classy Llama Studios, LLC (http://www.classyllama.com)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ */
28
+
29
+ /* @var $installer Mage_Core_Model_Resource_Setup */
30
+ $installer = $this;
31
+
32
+ $installer->startSetup();
33
+
34
+ $sql = <<<SQL
35
+ CREATE TABLE `cls_paypal_customer_stored` (
36
+ `stored_card_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Stored_card_id',
37
+ `transaction_id` varchar(255) NOT NULL COMMENT 'Transaction_id',
38
+ `customer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer_id',
39
+ `cc_type` varchar(255) NOT NULL COMMENT 'Cc_type',
40
+ `cc_last4` varchar(255) NOT NULL COMMENT 'Cc_last4',
41
+ `cc_exp_month` varchar(255) NOT NULL COMMENT 'Cc_exp_month',
42
+ `cc_exp_year` varchar(255) NOT NULL COMMENT 'Cc_exp_year',
43
+ `date` date DEFAULT NULL,
44
+ `payment_method` varchar(255) NOT NULL COMMENT 'Payment_method',
45
+ PRIMARY KEY (`stored_card_id`),
46
+ KEY `FK_CLS_PAYPAL_CSTR_STORED_CSTR_ID_CSTR_ENTT_ENTT_ID` (`customer_id`),
47
+ CONSTRAINT `FK_CLS_PAYPAL_CSTR_STORED_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE
48
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='cls_paypal_customer_stored';
49
+ SQL;
50
+
51
+ $installer->run($sql);
52
+
53
+ $installer->endSetup();
app/code/community/CLS/Paypal/sql/cls_paypal_setup/{upgrade-0.3.0-0.3.1.php → mysql4-upgrade-0.3.0-0.3.1.php} RENAMED
@@ -38,9 +38,7 @@ $installer->getConnection()->changeColumn(
38
  $installer->getTable('cls_paypal/customerstored'),
39
  'date',
40
  'date',
41
- array(
42
- 'type' => Varien_Db_Ddl_Table::TYPE_DATETIME,
43
- )
44
  );
45
 
46
  $installer->endSetup();
38
  $installer->getTable('cls_paypal/customerstored'),
39
  'date',
40
  'date',
41
+ 'datetime DEFAULT NULL'
 
 
42
  );
43
 
44
  $installer->endSetup();
app/design/frontend/base/default/template/cls_paypal/payment/form/cc.phtml CHANGED
@@ -94,12 +94,12 @@
94
 
95
  <?php if ($this->isCcSaveAllowed()): ?>
96
  <li>
97
- <label for="<?php echo $_code ?>_cc_save_future"><?php echo $this->__('Save this card for future use') ?></label>
98
  <div class="input-box">
99
  <div class="v-fix">
100
  <input type="checkbox" id="<?php echo $_code ?>_cc_save_future" name="payment[cc_save_future]" value="Y" />
101
  </div>
102
  </div>
 
103
  </li>
104
  <?php endif; ?>
105
 
94
 
95
  <?php if ($this->isCcSaveAllowed()): ?>
96
  <li>
 
97
  <div class="input-box">
98
  <div class="v-fix">
99
  <input type="checkbox" id="<?php echo $_code ?>_cc_save_future" name="payment[cc_save_future]" value="Y" />
100
  </div>
101
  </div>
102
+ <label for="<?php echo $_code ?>_cc_save_future"><?php echo $this->__('Save this card for future use') ?></label>
103
  </li>
104
  <?php endif; ?>
105
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CLS_Paypal_Credit_Card_Tokenization</name>
4
- <version>1.0.9</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -52,8 +52,10 @@ The features of this module are available for Magento integrations with the foll
52
  &#xD;
53
  # Magento Compatibility&#xD;
54
  &#xD;
55
- * Community 1.7.0.2 and up&#xD;
56
- * Enterprise 1.12.0.2 and up&#xD;
 
 
57
  &#xD;
58
  # Configuration Instructions&#xD;
59
  &#xD;
@@ -73,11 +75,11 @@ Enable the module's various features from these groups, as well as setting&#xD;
73
  their configuration options independently of the standard credit card&#xD;
74
  and billing agreement configurations.&#xD;
75
  </description>
76
- <notes>Fixed API inheritance issue introduced with Magento 1.8.1.0/1.13.1.0, which broke PayFlow billing agreements</notes>
77
  <authors><author><name>Classy Llama</name><user>classyllama</user><email>info@classyllama.com</email></author></authors>
78
- <date>2014-03-25</date>
79
- <time>18:29:40</time>
80
- <contents><target name="magecommunity"><dir name="CLS"><dir name="Paypal"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Customer.php" hash="bdda7f26580da00836dc14c760ce7bd4"/></dir></dir></dir></dir><dir name="Customer"><file name="Storedcard.php" hash="1f0ea64d4d88d8acc69b491ad157013d"/></dir><dir name="Payment"><dir name="Form"><file name="Cc.php" hash="bd28bf5a1476b6d000f7ddcfc8097520"/></dir></dir><dir name="Paypal"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Location.php" hash="51a66bf4179183e15d74e2dd60867d08"/></dir></dir></dir></dir><dir name="Payflow"><dir name="Advanced"><file name="Form.php" hash="431cc885b585b3a6ae44b3e63b4a3500"/></dir><dir name="Link"><file name="Form.php" hash="803988293c751db8be065174648ea789"/></dir></dir><dir name="Payment"><dir name="Form"><file name="Customerstored.php" hash="705a1066768956fa2757aa6974df6a90"/><dir name="Orderstored"><file name="Agreement.php" hash="51a809dde7da3c5fb7adaccfc94583fe"/></dir><file name="Orderstored.php" hash="aae8127491dcace2d2800879b2743157"/></dir></dir></dir><dir name="Paypaluk"><dir name="Payment"><dir name="Form"><dir name="Orderstored"><file name="Agreement.php" hash="f2cefe3e8fc148a628b8c7275401845d"/></dir></dir></dir></dir></dir><file name="CHANGELOG.txt" hash="678941626b28b3594096873246fa3f57"/><dir name="Helper"><file name="Data.php" hash="0d3f45c57c94284712bd91aa4b19351b"/><dir name="Orderstored"><file name="Agreement.php" hash="2fad52d6d80fb4ece74dbfe6c4b3fc1a"/></dir><dir name="Paypal"><file name="Data.php" hash="f60bf2892eb63645f2eab96bc7dc6b4a"/></dir><file name="Storedcard.php" hash="874a70e486c9b8ed353167245f9ed07a"/></dir><file name="LICENSE.txt" hash="71db18446bebc23ced8dd62644d16b5f"/><dir name="Model"><file name="Customerstored.php" hash="8be7c468362ad43b6a09d4c223d36515"/><file name="Observer.php" hash="457631f86139aa7666657e9b6658af89"/><dir name="Paypal"><dir name="Api"><file name="Nvp.php" hash="74be53d000dfb2a9c0884403059d7e4d"/></dir><file name="Config.php" hash="dc8223a0fc3b8d6659184d1fe6c0330b"/><file name="Direct.php" hash="9f551d5e14e99451ca02f79d2f78f4ab"/><dir name="Express"><file name="Checkout.php" hash="021cbbf4e0985106ab24bfa8bd62abb4"/></dir><file name="Express.php" hash="67b5631bf57b2797050c73c7378aee9c"/><file name="Info.php" hash="d6d8415242d2a63eb831cac84f276701"/><dir name="Method"><dir name="Orderstored"><file name="Agreement.php" hash="294bf176eabbd2c6dac52497c3bdc5ba"/></dir></dir><file name="Payflowadvanced.php" hash="333a909b6b48c6c3c864e591d5ee0a4d"/><file name="Payflowlink.php" hash="98129dfc3d9a5236e8c5a94cddbeb6d3"/><file name="Payflowpro.php" hash="dbfa4f171934f4f26d05515ca5ae36b1"/><dir name="Stored"><file name="Abstract.php" hash="946b41be7b003f821fa091e25974e2e1"/><dir name="Customerstored"><file name="Direct.php" hash="1fb16f32ce53c7825d9460c57de571ef"/><file name="Payflow.php" hash="b01eba2260d72dc3dc60efa6277502b1"/><file name="Payflowadvanced.php" hash="5d5b02436cf305412bfec098eea85e09"/><file name="Payflowlink.php" hash="83a4de2a5192635c48af3aac8b2cb7e2"/><file name="Payflowpro.php" hash="394ec117863b90196f141d1df367b068"/></dir><file name="Customerstored.php" hash="f9fe1df0936372d6abcb30b3129c080b"/><dir name="Orderstored"><file name="Direct.php" hash="403bd0b06c2f235c9480eaf05d449b3b"/><file name="Payflow.php" hash="98fae36789f67423db4a520b7feaa01f"/><file name="Payflowadvanced.php" hash="8dd64cf3c2b9ae5560b3a06204d59751"/><file name="Payflowlink.php" hash="71b134111dc49d20692c3ffae3bfa1c7"/><file name="Payflowpro.php" hash="08bac93661b9234b0546ab429f4a3931"/></dir><file name="Orderstored.php" hash="47b0f39b6f334fd987bfc238eb06ed7f"/><file name="Payflow.php" hash="288f16ab9d9d2b0d8957c8887f528b99"/></dir></dir><dir name="Paypaluk"><dir name="Api"><dir name="Express"><file name="Nvp.php" hash="730e90ff8c15e988459776477fbe04a4"/></dir><dir name="Nvp"><file name="Common.php" hash="af309169674e7714e4d30cfa4a070855"/></dir><file name="Nvp.php" hash="0a8faacb663b9668608a99fb482a1bb5"/></dir><dir name="Express"><file name="Checkout.php" hash="6a2a85e0acb0645d025c8823a5b3cd2f"/></dir><file name="Express.php" hash="b491f2d6acf89a29f4a23dc573f8e44f"/><dir name="Method"><file name="Agreement.php" hash="edf9951f5feb1b49fcb85cf13b935395"/><dir name="Orderstored"><file name="Agreement.php" hash="22d736a97a1a2a293484e4241b545230"/></dir></dir></dir><dir name="Resource"><dir name="Customerstored"><file name="Collection.php" hash="818889cb1eedd1e2047d09f6270f9b30"/></dir><file name="Customerstored.php" hash="0dd4ba6646ffbd32efbe6e4f0bc4e3c7"/></dir></dir><file name="README.md" hash="b2736f6dbadb03a660bd5a7021391d4c"/><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="CreateController.php" hash="edd90db7fcc89ccfd5519864debed3ad"/></dir></dir></dir><dir name="Customer"><file name="StoredcardController.php" hash="60c3403cd13a9ff1805506f5988cabdb"/></dir><dir name="Paypal"><file name="ExpressController.php" hash="53f83f79f948ffc0eb6abdfc5d8f60b0"/></dir><dir name="PaypalUk"><file name="ExpressController.php" hash="639821dc1c01a0276052579c5507a599"/></dir></dir><dir name="etc"><file name="config.xml" hash="5cb629cbb0d869d2d85da3a92f0a5855"/><file name="system.xml" hash="4d5998c927b5739a52c078c99644bd32"/></dir><dir name="sql"><dir name="cls_paypal_setup"><file name="install-0.0.1.php" hash="33f870045a3cc0da094eed143adaf57b"/><file name="upgrade-0.3.0-0.3.1.php" hash="240dd4eae586f033ec6efad99773fbce"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cls_paypal.xml" hash="6747dd281152c450e1511f9d551c9766"/></dir><dir name="template"><dir name="cls_paypal"><dir name="payment"><dir name="form"><file name="cc.phtml" hash="a23359ef60f0cf4041f4dd406c1cb286"/><file name="customer_stored.phtml" hash="6004f23604bb7de0a409494bb0c0c439"/><file name="order_stored.phtml" hash="7620eacd6d2351df7e827eb168d03236"/></dir></dir><dir name="sales"><dir name="order"><dir name="create"><dir name="form"><file name="address.phtml" hash="a452ddc2a6e812f0872e82ad931b9dac"/></dir></dir></dir><dir name="payment"><dir name="form"><dir name="orderstored"><file name="agreement.phtml" hash="5a080925e336f505381cba5e43f70e07"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cls_paypal.xml" hash="0e2a6af1135e6fb29dda4b267797a6bd"/></dir><dir name="template"><dir name="cls_paypal"><dir name="customer"><file name="storedcard.phtml" hash="4756af996c65fb83a09ab0312a66bd1f"/></dir><dir name="payment"><dir name="form"><file name="cc.phtml" hash="bd55fa445bea026721116b29dfadbb73"/><file name="customer_stored.phtml" hash="591d82906294e37f5c2e317f71144a0f"/></dir></dir><dir name="paypal"><dir name="payflow"><file name="info.phtml" hash="548f1b761782c2351482dd1d1f44a7af"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="CLS_Paypal.xml" hash="9e629aac18f2e5f2c9feb266985c912f"/></dir></target><target name="magelocale"><dir name="en_US"><file name="CLS_Paypal.csv" hash="ab57482877d914bb1d02021d95c65520"/></dir></target></contents>
81
  <compatible/>
82
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
83
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CLS_Paypal_Credit_Card_Tokenization</name>
4
+ <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
52
  &#xD;
53
  # Magento Compatibility&#xD;
54
  &#xD;
55
+ * Community 1.5.0.1 and up&#xD;
56
+ * Enterprise 1.10.0.1 and up&#xD;
57
+ &#xD;
58
+ _NOTE:_ PayFlow Link compatibility is un-tested in Community 1.5.0.1 and Enterprise 1.10.0.1, because the core Magento codebase in these versions is no longer compatible with this PayPal solution.&#xD;
59
  &#xD;
60
  # Configuration Instructions&#xD;
61
  &#xD;
75
  their configuration options independently of the standard credit card&#xD;
76
  and billing agreement configurations.&#xD;
77
  </description>
78
+ <notes>Backward compatibility through Magento Community 1.5 and Enterprise 1.10</notes>
79
  <authors><author><name>Classy Llama</name><user>classyllama</user><email>info@classyllama.com</email></author></authors>
80
+ <date>2014-03-28</date>
81
+ <time>14:55:09</time>
82
+ <contents><target name="magecommunity"><dir name="CLS"><dir name="Paypal"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Customer.php" hash="bdda7f26580da00836dc14c760ce7bd4"/></dir></dir></dir></dir><dir name="Customer"><file name="Storedcard.php" hash="bde8da18c615e29395a47a43016afee8"/></dir><dir name="Payment"><dir name="Form"><file name="Cc.php" hash="bd28bf5a1476b6d000f7ddcfc8097520"/></dir></dir><dir name="Paypal"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Location.php" hash="51a66bf4179183e15d74e2dd60867d08"/></dir></dir></dir></dir><dir name="Payflow"><dir name="Advanced"><file name="Form.php" hash="431cc885b585b3a6ae44b3e63b4a3500"/></dir><dir name="Link"><file name="Form.php" hash="803988293c751db8be065174648ea789"/></dir></dir><dir name="Payment"><dir name="Form"><file name="Customerstored.php" hash="705a1066768956fa2757aa6974df6a90"/><dir name="Orderstored"><file name="Agreement.php" hash="51a809dde7da3c5fb7adaccfc94583fe"/></dir><file name="Orderstored.php" hash="7121254114bc9e45efe8a72e7296ed23"/></dir></dir></dir><dir name="Paypaluk"><dir name="Payment"><dir name="Form"><dir name="Orderstored"><file name="Agreement.php" hash="f2cefe3e8fc148a628b8c7275401845d"/></dir></dir></dir></dir></dir><file name="CHANGELOG.txt" hash="45ce2f47469acdd7ab0258f4fa90d3f9"/><dir name="Helper"><file name="Data.php" hash="59afd4602731b2562d574139f69df383"/><dir name="Orderstored"><file name="Agreement.php" hash="2fad52d6d80fb4ece74dbfe6c4b3fc1a"/></dir><dir name="Paypal"><file name="Data.php" hash="f60bf2892eb63645f2eab96bc7dc6b4a"/></dir><file name="Storedcard.php" hash="874a70e486c9b8ed353167245f9ed07a"/></dir><file name="LICENSE.txt" hash="71db18446bebc23ced8dd62644d16b5f"/><dir name="Model"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Create.php" hash="425a34dc7a333d56e3e943af504685d9"/></dir></dir></dir><file name="Customerstored.php" hash="b2ada8eb2149ac5d3b62eccab4233fb9"/><file name="Observer.php" hash="9e8199b6cdbda7ee531353b539876fad"/><dir name="Paypal"><dir name="Api"><file name="Nvp.php" hash="74be53d000dfb2a9c0884403059d7e4d"/></dir><file name="Config.php" hash="dc8223a0fc3b8d6659184d1fe6c0330b"/><file name="Direct.php" hash="9f551d5e14e99451ca02f79d2f78f4ab"/><dir name="Express"><file name="Checkout.php" hash="021cbbf4e0985106ab24bfa8bd62abb4"/></dir><file name="Express.php" hash="67b5631bf57b2797050c73c7378aee9c"/><file name="Info.php" hash="d6d8415242d2a63eb831cac84f276701"/><dir name="Method"><dir name="Orderstored"><file name="Agreement.php" hash="294bf176eabbd2c6dac52497c3bdc5ba"/></dir></dir><file name="Payflowadvanced.php" hash="ff2f0bbdcaa18c2cbaf0c14b36af51e2"/><file name="Payflowlink.php" hash="3998f25e9166bf8b4cec6c804ac0497f"/><file name="Payflowpro.php" hash="dbfa4f171934f4f26d05515ca5ae36b1"/><dir name="Stored"><file name="Abstract.php" hash="946b41be7b003f821fa091e25974e2e1"/><dir name="Customerstored"><file name="Direct.php" hash="1fb16f32ce53c7825d9460c57de571ef"/><file name="Payflow.php" hash="b01eba2260d72dc3dc60efa6277502b1"/><file name="Payflowadvanced.php" hash="07a730ce0007903705cfa6e6d0717950"/><file name="Payflowlink.php" hash="83a4de2a5192635c48af3aac8b2cb7e2"/><file name="Payflowpro.php" hash="394ec117863b90196f141d1df367b068"/></dir><file name="Customerstored.php" hash="f9fe1df0936372d6abcb30b3129c080b"/><dir name="Orderstored"><file name="Direct.php" hash="403bd0b06c2f235c9480eaf05d449b3b"/><file name="Payflow.php" hash="98fae36789f67423db4a520b7feaa01f"/><file name="Payflowadvanced.php" hash="53aa37d3ed6e87e9651d7bc3df773feb"/><file name="Payflowlink.php" hash="71b134111dc49d20692c3ffae3bfa1c7"/><file name="Payflowpro.php" hash="08bac93661b9234b0546ab429f4a3931"/></dir><file name="Orderstored.php" hash="c71ddbfb7dd7fc6b0711f727e6373a84"/><file name="Payflow.php" hash="288f16ab9d9d2b0d8957c8887f528b99"/></dir></dir><dir name="Paypaluk"><dir name="Api"><dir name="Express"><file name="Nvp.php" hash="730e90ff8c15e988459776477fbe04a4"/></dir><dir name="Nvp"><file name="Common.php" hash="af309169674e7714e4d30cfa4a070855"/></dir><file name="Nvp.php" hash="0a8faacb663b9668608a99fb482a1bb5"/></dir><dir name="Express"><file name="Checkout.php" hash="6a2a85e0acb0645d025c8823a5b3cd2f"/></dir><file name="Express.php" hash="b491f2d6acf89a29f4a23dc573f8e44f"/><dir name="Method"><file name="Agreement.php" hash="0eaf0bed8697692d062d821334fd45ba"/><dir name="Orderstored"><file name="Agreement.php" hash="22d736a97a1a2a293484e4241b545230"/></dir></dir></dir><dir name="Resource"><dir name="Customerstored"><file name="Collection.php" hash="24917dda5cdd4c72d0cc79c64eca7b5d"/></dir><file name="Customerstored.php" hash="7fa78de5b2d148d614fb40489928b809"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Payflowbaenabled.php" hash="073d66efd2af4e051b36c20933da9eb4"/></dir></dir></dir></dir><file name="README.md" hash="52ca1497160aff5a24a6c824dca5ee46"/><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="CreateController.php" hash="edd90db7fcc89ccfd5519864debed3ad"/></dir></dir></dir><dir name="Customer"><file name="StoredcardController.php" hash="60c3403cd13a9ff1805506f5988cabdb"/></dir><dir name="Paypal"><file name="ExpressController.php" hash="53f83f79f948ffc0eb6abdfc5d8f60b0"/></dir><dir name="PaypalUk"><file name="ExpressController.php" hash="639821dc1c01a0276052579c5507a599"/></dir></dir><dir name="etc"><file name="config.xml" hash="517178c5a0065f7b532f8d4fd0c66974"/><file name="system.xml" hash="aa634c796db62712e971b286a14f350f"/></dir><dir name="sql"><dir name="cls_paypal_setup"><file name="mysql4-install-0.0.1.php" hash="4a2b014fa3f6e08710bd77f02937e21a"/><file name="mysql4-upgrade-0.3.0-0.3.1.php" hash="2e160692c289c46fcd0a1f37f90ab7ba"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cls_paypal.xml" hash="6747dd281152c450e1511f9d551c9766"/></dir><dir name="template"><dir name="cls_paypal"><dir name="payment"><dir name="form"><file name="cc.phtml" hash="a23359ef60f0cf4041f4dd406c1cb286"/><file name="customer_stored.phtml" hash="6004f23604bb7de0a409494bb0c0c439"/><file name="order_stored.phtml" hash="7620eacd6d2351df7e827eb168d03236"/></dir></dir><dir name="sales"><dir name="order"><dir name="create"><dir name="form"><file name="address.phtml" hash="a452ddc2a6e812f0872e82ad931b9dac"/></dir></dir></dir><dir name="payment"><dir name="form"><dir name="orderstored"><file name="agreement.phtml" hash="5a080925e336f505381cba5e43f70e07"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cls_paypal.xml" hash="0e2a6af1135e6fb29dda4b267797a6bd"/></dir><dir name="template"><dir name="cls_paypal"><dir name="customer"><file name="storedcard.phtml" hash="4756af996c65fb83a09ab0312a66bd1f"/></dir><dir name="payment"><dir name="form"><file name="cc.phtml" hash="f985163556d1a644af9e203533162998"/><file name="customer_stored.phtml" hash="591d82906294e37f5c2e317f71144a0f"/></dir></dir><dir name="paypal"><dir name="payflow"><file name="info.phtml" hash="548f1b761782c2351482dd1d1f44a7af"/></dir></dir></dir></dir></dir></dir><dir name="enterprise"><dir name="default"><dir name="template"><file name="cls_paypal" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="CLS_Paypal.xml" hash="9e629aac18f2e5f2c9feb266985c912f"/></dir></target><target name="magelocale"><dir name="en_US"><file name="CLS_Paypal.csv" hash="ab57482877d914bb1d02021d95c65520"/></dir></target></contents>
83
  <compatible/>
84
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
85
  </package>