worldpayzaq12wsx - Version 1.1.1

Version Notes

Merchant Pin added

Download this release

Release Info

Developer faisal
Extension worldpayzaq12wsx
Version 1.1.1
Comparing to
See all releases


Code changes from version 1.1.0 to 1.1.1

app/code/local/WorldPayTech/WorldAch/Model/PaymentMethod.php CHANGED
@@ -60,6 +60,7 @@ class WorldPayTech_WorldAch_Model_PaymentMethod extends WorldPayTech_WorldPay_Mo
60
  "service" => "14",
61
  "acctid" => $this->__accountID,
62
  "subid" => $this->__subAccountID,
 
63
  "ckname" => $ckname,
64
  "ckaba" => $ckaba,
65
  "ckacct" => $ckacct,
@@ -197,6 +198,7 @@ class WorldPayTech_WorldAch_Model_PaymentMethod extends WorldPayTech_WorldPay_Mo
197
  "service" => "16",
198
  "acctid" => $this->__accountID,
199
  "subid" => $this->__subAccountID,
 
200
  "historykeyid" => $historyid,
201
  "orderkeyid" => $order_id,
202
  'amount' => $totals,
60
  "service" => "14",
61
  "acctid" => $this->__accountID,
62
  "subid" => $this->__subAccountID,
63
+ "merchantpin" => $this->__merchantpin,
64
  "ckname" => $ckname,
65
  "ckaba" => $ckaba,
66
  "ckacct" => $ckacct,
198
  "service" => "16",
199
  "acctid" => $this->__accountID,
200
  "subid" => $this->__subAccountID,
201
+ "merchantpin" => $this->__merchantpin,
202
  "historykeyid" => $historyid,
203
  "orderkeyid" => $order_id,
204
  'amount' => $totals,
app/code/local/WorldPayTech/WorldPay/Model/PaymentHelper.php CHANGED
@@ -82,6 +82,7 @@ class WorldPayTech_WorldPay_Model_PaymentHelper extends Mage_Paygate_Model_Autho
82
  public $__testMode;
83
  public $__accountID;
84
  public $__subAccountID;
 
85
 
86
 
87
  public function __construct() {
@@ -93,6 +94,7 @@ class WorldPayTech_WorldPay_Model_PaymentHelper extends Mage_Paygate_Model_Autho
93
  $storeId = Mage::app()->getStore()->getStoreId();
94
  $this->__debugMode = Mage::getStoreConfig('payment/worldpay/debug', $storeId);
95
  $this->__testMode = Mage::getStoreConfig('payment/worldpay/test', $storeId);
 
96
 
97
  if($this->__testMode==1)
98
  {
82
  public $__testMode;
83
  public $__accountID;
84
  public $__subAccountID;
85
+ public $__merchantpin;
86
 
87
 
88
  public function __construct() {
94
  $storeId = Mage::app()->getStore()->getStoreId();
95
  $this->__debugMode = Mage::getStoreConfig('payment/worldpay/debug', $storeId);
96
  $this->__testMode = Mage::getStoreConfig('payment/worldpay/test', $storeId);
97
+ $this->__merchantpin = Mage::getStoreConfig('payment/worldpay/merchantpin', $storeId);
98
 
99
  if($this->__testMode==1)
100
  {
app/code/local/WorldPayTech/WorldPay/Model/PaymentMethod.php CHANGED
@@ -55,6 +55,7 @@ class WorldPayTech_WorldPay_Model_PaymentMethod extends WorldPayTech_WorldPay_Mo
55
  $fields = array(
56
  "acctid" => $this->__accountID,
57
  "subid" => $this->__subAccountID,
 
58
  "email" => $billingaddress->getData('email'),
59
  "phone" => $billingaddress->getData('telephone'),
60
  'ipaddress' => $_SERVER['REMOTE_ADDR'],
@@ -233,6 +234,7 @@ class WorldPayTech_WorldPay_Model_PaymentMethod extends WorldPayTech_WorldPay_Mo
233
  "service" => "4",
234
  "acctid" => $this->__accountID,
235
  "subid" => $this->__subAccountID,
 
236
  "historykeyid" => $historyid,
237
  "orderkeyid" => $order_id,
238
  'amount' => $totals,
55
  $fields = array(
56
  "acctid" => $this->__accountID,
57
  "subid" => $this->__subAccountID,
58
+ "merchantpin" => $this->__merchantpin,
59
  "email" => $billingaddress->getData('email'),
60
  "phone" => $billingaddress->getData('telephone'),
61
  'ipaddress' => $_SERVER['REMOTE_ADDR'],
234
  "service" => "4",
235
  "acctid" => $this->__accountID,
236
  "subid" => $this->__subAccountID,
237
+ "merchantpin" => $this->__merchantpin,
238
  "historykeyid" => $historyid,
239
  "orderkeyid" => $order_id,
240
  'amount' => $totals,
app/code/local/WorldPayTech/WorldPay/etc/system.xml CHANGED
@@ -63,6 +63,14 @@
63
  <show_in_website>1</show_in_website>
64
  <show_in_store>0</show_in_store>
65
  </sub_account_id>
 
 
 
 
 
 
 
 
66
 
67
 
68
  <test translate="label">
63
  <show_in_website>1</show_in_website>
64
  <show_in_store>0</show_in_store>
65
  </sub_account_id>
66
+ <merchantpin translate="label">
67
+ <label>Merchant Pin</label>
68
+ <frontend_type>text</frontend_type>
69
+ <sort_order>5</sort_order>
70
+ <show_in_default>1</show_in_default>
71
+ <show_in_website>1</show_in_website>
72
+ <show_in_store>0</show_in_store>
73
+ </merchantpin>
74
 
75
 
76
  <test translate="label">
app/code/local/WorldPayTech/WorldProfile/Model/PaymentMethod.php CHANGED
@@ -40,6 +40,7 @@ class WorldPayTech_WorldProfile_Model_PaymentMethod extends WorldPayTech_WorldPa
40
  "service" => "8",
41
  "acctid" => $this->__accountID,
42
  "subid" => $this->__subAccountID,
 
43
  "userprofileid" => $profile_id,
44
  "last4digits" => $last_4_digit,
45
  'ipaddress' => $_SERVER['REMOTE_ADDR'],
@@ -166,6 +167,7 @@ class WorldPayTech_WorldProfile_Model_PaymentMethod extends WorldPayTech_WorldPa
166
  "service" => "4",
167
  "acctid" => $this->__accountID,
168
  "subid" => $this->__subAccountID,
 
169
  "historykeyid" => $historyid,
170
  "orderkeyid" => $order_id,
171
  'amount' => $totals,
40
  "service" => "8",
41
  "acctid" => $this->__accountID,
42
  "subid" => $this->__subAccountID,
43
+ "merchantpin" => $this->__merchantpin,
44
  "userprofileid" => $profile_id,
45
  "last4digits" => $last_4_digit,
46
  'ipaddress' => $_SERVER['REMOTE_ADDR'],
167
  "service" => "4",
168
  "acctid" => $this->__accountID,
169
  "subid" => $this->__subAccountID,
170
+ "merchantpin" => $this->__merchantpin,
171
  "historykeyid" => $historyid,
172
  "orderkeyid" => $order_id,
173
  'amount' => $totals,
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>worldpayzaq12wsx</name>
4
- <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license>WorldPay License</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>WorldPay Payment GateWay</summary>
10
  <description>WorldPay Payment GateWay</description>
11
- <notes>compatible with 1.9</notes>
12
  <authors><author><name>faisal</name><user>faisalshamsi</user><email>faisalsharifshamsi@gmail.com</email></author></authors>
13
- <date>2015-01-08</date>
14
- <time>11:23:01</time>
15
- <contents><target name="magelocal"><dir name="WorldPayTech"><dir name="WorldAch"><dir name="Block"><file name="Form.php" hash="09f36e1fcbca210c0c0d051ee8c2eb8e"/><file name="Info.php" hash="0467a5ce61e19094a681b56a381e6735"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Data.php" hash="eb3746c14752eebd4fa182bee93b4cac"/></dir><dir name="Model"><file name="PaymentMethod.php" hash="44663a8bfb705d79e9f80297df3866e1"/></dir><dir name="etc"><file name="config.xml" hash="998644efeb571005975cb0d8073304aa"/><file name="system.xml" hash="6336987bf75a16b11abfa7e1fdceff49"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="af50a4425771801f820d6ded226aa813"/></dir><dir name="WorldPay"><dir name="Block"><file name="Form.php" hash="fc71b8e5de5b8631cc48d3cc1fab7627"/><file name="Info.php" hash="a87b42eb5945174255c73dcec93dcf5f"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Model"><file name="PaymentHelper.php" hash="753b2a1e334d0675cc1f2550237b0038"/><file name="PaymentMethod.php" hash="f00d9d294be392d0db9e53b5560ea9f8"/></dir><dir name="etc"><file name="config.xml" hash="c9e0ec089af031ab75a99c8ef754446d"/><file name="system.xml" hash="72f2b4a287b6eb524398c28e32aba0ea"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="31b6e6a024d9565b47e296158b5df99f"/></dir><dir name="WorldProfile"><dir name="Block"><file name="Form.php" hash="c3d4a47588b12616e76eef3ddcb3b988"/><file name="Info.php" hash="23ae669bcf08a4b254f76a1198653eec"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Data.php" hash="e4343805ef9e19742bf82878e372b9d3"/></dir><dir name="Model"><file name="PaymentMethod.php" hash="dd28ae8db7e789e1481ea887ce7bea02"/></dir><dir name="etc"><file name="config.xml" hash="7edafa53af910709ac960b1861622301"/><file name="system.xml" hash="14a64961d8f7bc661ad3510632f5ca54"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="af50a4425771801f820d6ded226aa813"/></dir><file name=".DS_Store" hash="507f613e3c8cfcad4ad9a11d9b255e5b"/></dir></target><target name="mageetc"><dir name="modules"><file name="WorldPayTech_WorldAch.xml" hash="d106ddc2bc8d4a551df766f383d7b891"/><file name="WorldPayTech_WorldPay.xml" hash="d1c22c594dcc5d6c857b48b32d7aa2be"/><file name="WorldPayTech_WorldProfile.xml" hash="ca4f2243b031273a329ce6af65138719"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="template"><dir name="worldpay"><dir name="form"><file name="pp.phtml" hash="822a5fe4c95f73cc099d56db13505c90"/><file name="worldpayach.phtml" hash="283d8ce341d5fcf1c27d6fedc5390b75"/><file name="worldpaycc.phtml" hash="6374d7127b941da03269dde0c6646cdd"/><file name="worldpayprofile.phtml" hash="7660ec72770b79f5f1aa392103ee725f"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="2f9d746d60a61cab6c45482c4c139375"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>5.5.5</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>worldpayzaq12wsx</name>
4
+ <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license>WorldPay License</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>WorldPay Payment GateWay</summary>
10
  <description>WorldPay Payment GateWay</description>
11
+ <notes>Merchant Pin added</notes>
12
  <authors><author><name>faisal</name><user>faisalshamsi</user><email>faisalsharifshamsi@gmail.com</email></author></authors>
13
+ <date>2015-01-14</date>
14
+ <time>06:43:15</time>
15
+ <contents><target name="magelocal"><dir name="WorldPayTech"><dir name="WorldAch"><dir name="Block"><file name="Form.php" hash="09f36e1fcbca210c0c0d051ee8c2eb8e"/><file name="Info.php" hash="0467a5ce61e19094a681b56a381e6735"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Data.php" hash="eb3746c14752eebd4fa182bee93b4cac"/></dir><dir name="Model"><file name="PaymentMethod.php" hash="dcce9c392eb7cc90f35c3f15ad76cff6"/></dir><dir name="etc"><file name="config.xml" hash="998644efeb571005975cb0d8073304aa"/><file name="system.xml" hash="6336987bf75a16b11abfa7e1fdceff49"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="af50a4425771801f820d6ded226aa813"/></dir><dir name="WorldPay"><dir name="Block"><file name="Form.php" hash="fc71b8e5de5b8631cc48d3cc1fab7627"/><file name="Info.php" hash="a87b42eb5945174255c73dcec93dcf5f"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Model"><file name="PaymentHelper.php" hash="6dfcef554d66fc9006aa3d35f4e7131c"/><file name="PaymentMethod.php" hash="4fd78bef0cd876bd3c2d491735f74034"/></dir><dir name="etc"><file name="config.xml" hash="c9e0ec089af031ab75a99c8ef754446d"/><file name="system.xml" hash="03185d9e7014bd0bbc6f679e84d9522f"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="31b6e6a024d9565b47e296158b5df99f"/></dir><dir name="WorldProfile"><dir name="Block"><file name="Form.php" hash="c3d4a47588b12616e76eef3ddcb3b988"/><file name="Info.php" hash="23ae669bcf08a4b254f76a1198653eec"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Helper"><file name="Data.php" hash="e4343805ef9e19742bf82878e372b9d3"/></dir><dir name="Model"><file name="PaymentMethod.php" hash="5f36e78b55ea6b84e5a2191409949e74"/></dir><dir name="etc"><file name="config.xml" hash="7edafa53af910709ac960b1861622301"/><file name="system.xml" hash="14a64961d8f7bc661ad3510632f5ca54"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="af50a4425771801f820d6ded226aa813"/></dir><file name=".DS_Store" hash="507f613e3c8cfcad4ad9a11d9b255e5b"/></dir></target><target name="mageetc"><dir name="modules"><file name="WorldPayTech_WorldAch.xml" hash="d106ddc2bc8d4a551df766f383d7b891"/><file name="WorldPayTech_WorldPay.xml" hash="d1c22c594dcc5d6c857b48b32d7aa2be"/><file name="WorldPayTech_WorldProfile.xml" hash="ca4f2243b031273a329ce6af65138719"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="template"><dir name="worldpay"><dir name="form"><file name="pp.phtml" hash="822a5fe4c95f73cc099d56db13505c90"/><file name="worldpayach.phtml" hash="283d8ce341d5fcf1c27d6fedc5390b75"/><file name="worldpaycc.phtml" hash="6374d7127b941da03269dde0c6646cdd"/><file name="worldpayprofile.phtml" hash="7660ec72770b79f5f1aa392103ee725f"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="2f9d746d60a61cab6c45482c4c139375"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>5.5.5</max></php></required></dependencies>
18
  </package>