EMerchantPay_Genesis_Client - Version 1.3.1

Version Notes

1.) Fix for Order Confirmation Emails - were not queued for asynchronous transactions
2.) Better Error Handlers for asynchronous transactions - reconciliation used for failed transactions

Download this release

Release Info

Developer eMerchantPay Ltd.
Extension EMerchantPay_Genesis_Client
Version 1.3.1
Comparing to
See all releases


Code changes from version 1.3.0 to 1.3.1

app/code/community/EMerchantPay/Genesis/Helper/Data.php CHANGED
@@ -805,4 +805,102 @@ class EMerchantPay_Genesis_Helper_Data extends Mage_Core_Helper_Abstract
805
  'recurring_token'
806
  );
807
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
808
  }
805
  'recurring_token'
806
  );
807
  }
808
+
809
+ /**
810
+ * Determines the Initial Txn Type of a Method Instance
811
+ * @param Mage_Payment_Model_Method_Abstract $methodInstance
812
+ * @return string|false
813
+ */
814
+ public function getTxnTypeOfMethodInstance($methodInstance)
815
+ {
816
+ if (! $methodInstance instanceof Mage_Payment_Model_Method_Abstract) {
817
+ return false;
818
+ }
819
+
820
+ $paymentActionTxnTypes = array(
821
+ Mage_Payment_Model_Method_Abstract::ACTION_ORDER =>
822
+ Mage_Sales_Model_Order_Payment_Transaction::TYPE_ORDER,
823
+ Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE =>
824
+ Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH,
825
+ Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE_CAPTURE =>
826
+ Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE
827
+ );
828
+
829
+ $paymentAction = $methodInstance->getConfigPaymentAction();
830
+
831
+ if (array_key_exists($paymentAction, $paymentActionTxnTypes)) {
832
+ return $paymentActionTxnTypes[$paymentAction];
833
+ }
834
+
835
+ return false;
836
+ }
837
+
838
+ /**
839
+ * @param Mage_Sales_Model_Order_Payment $payment
840
+ * @return stdClass|false
841
+ */
842
+ public function reconcileCheckoutOrder($payment)
843
+ {
844
+ $methodInstance = $payment->getMethodInstance();
845
+
846
+ $txnType = $this->getTxnTypeOfMethodInstance($methodInstance);
847
+
848
+ if ($txnType === false) {
849
+ return false;
850
+ }
851
+
852
+ $checkoutTransaction = $payment->lookupTransaction(null, $txnType);
853
+
854
+ if ($checkoutTransaction === false) {
855
+ return false;
856
+ }
857
+
858
+ if (!method_exists($methodInstance, 'reconcile')) {
859
+ return false;
860
+ }
861
+
862
+ try {
863
+ return $methodInstance->reconcile(
864
+ $checkoutTransaction->getTxnId()
865
+ );
866
+ } catch (\Genesis\Exceptions\ErrorAPI $api) {
867
+ // This is reconciliation, don't throw on ErrorAPI
868
+ }
869
+
870
+ return false;
871
+ }
872
+
873
+ /**
874
+ * Retrieves the original Error Message from Gateway by doing Reconciliation
875
+ *
876
+ * @param string $default
877
+ * @return string
878
+ */
879
+ public function getReconciledFailureActionMessage($default = '')
880
+ {
881
+ $order = $this->getCheckoutSession()->getLastRealOrder();
882
+
883
+ if (!$order || !$order->getPayment()) {
884
+ return $default;
885
+ }
886
+
887
+ $responseObject = $this->reconcileCheckoutOrder($order->getPayment());
888
+
889
+ if (! $responseObject instanceof \stdClass) {
890
+ return $default;
891
+ }
892
+
893
+ $paymentTransaction =
894
+ isset($responseObject->payment_transaction)
895
+ ? $responseObject->payment_transaction
896
+ : $responseObject;
897
+
898
+ if (isset($paymentTransaction->message) && isset($paymentTransaction->technical_message)) {
899
+ return "{$paymentTransaction->message} Details: {$paymentTransaction->technical_message}";
900
+ } elseif (isset($paymentTransaction->message)) {
901
+ return $paymentTransaction->message;
902
+ }
903
+
904
+ return $default;
905
+ }
906
  }
app/code/community/EMerchantPay/Genesis/Model/Checkout.php CHANGED
@@ -758,6 +758,8 @@ class EMerchantPay_Genesis_Model_Checkout
758
  $paymentTransaction->status
759
  );
760
 
 
 
761
  return true;
762
  } catch (Exception $exception) {
763
  Mage::logException($exception);
758
  $paymentTransaction->status
759
  );
760
 
761
+ $order->queueNewOrderEmail();
762
+
763
  return true;
764
  } catch (Exception $exception) {
765
  Mage::logException($exception);
app/code/community/EMerchantPay/Genesis/Model/Direct.php CHANGED
@@ -912,6 +912,8 @@ class EMerchantPay_Genesis_Model_Direct
912
  $reconcile->status,
913
  $reconcile->message
914
  );
 
 
915
  }
916
  } catch (Exception $exception) {
917
  Mage::logException($exception);
912
  $reconcile->status,
913
  $reconcile->message
914
  );
915
+
916
+ $order->queueNewOrderEmail();
917
  }
918
  } catch (Exception $exception) {
919
  Mage::logException($exception);
app/code/community/EMerchantPay/Genesis/Model/Task/Recurring.php CHANGED
@@ -401,6 +401,8 @@ class EMerchantPay_Genesis_Model_Task_Recurring
401
  $profile->setState(
402
  Mage_Sales_Model_Recurring_Profile::STATE_SUSPENDED
403
  );
 
 
404
  }
405
 
406
  $profile->save();
401
  $profile->setState(
402
  Mage_Sales_Model_Recurring_Profile::STATE_SUSPENDED
403
  );
404
+ } else {
405
+ $order->queueNewOrderEmail();
406
  }
407
 
408
  $profile->save();
app/code/community/EMerchantPay/Genesis/controllers/CheckoutController.php CHANGED
@@ -125,12 +125,14 @@ class EMerchantPay_Genesis_CheckoutController extends Mage_Core_Controller_Front
125
  */
126
  public function failureAction()
127
  {
128
- $this->_helper->restoreQuote();
129
-
130
- $this->_helper->getCheckoutSession()->addError(
131
  $this->_helper->__('We were unable to process your payment! Please check your input or try again later.')
132
  );
133
 
 
 
 
 
134
  $this->_redirect('checkout/cart', array('_secure' => true));
135
  }
136
 
@@ -141,7 +143,7 @@ class EMerchantPay_Genesis_CheckoutController extends Mage_Core_Controller_Front
141
  */
142
  public function cancelAction()
143
  {
144
- $this->_helper->restoreQuote($shouldCancel = true);
145
 
146
  $this->_helper->getCheckoutSession()->addSuccess(
147
  $this->_helper->__('Your payment session has been cancelled successfully!')
125
  */
126
  public function failureAction()
127
  {
128
+ $failureMessage = $this->_helper->getReconciledFailureActionMessage(
 
 
129
  $this->_helper->__('We were unable to process your payment! Please check your input or try again later.')
130
  );
131
 
132
+ $this->_helper->restoreQuote();
133
+
134
+ $this->_helper->getCheckoutSession()->addError($failureMessage);
135
+
136
  $this->_redirect('checkout/cart', array('_secure' => true));
137
  }
138
 
143
  */
144
  public function cancelAction()
145
  {
146
+ $this->_helper->restoreQuote(true);
147
 
148
  $this->_helper->getCheckoutSession()->addSuccess(
149
  $this->_helper->__('Your payment session has been cancelled successfully!')
app/code/community/EMerchantPay/Genesis/controllers/DirectController.php CHANGED
@@ -124,12 +124,14 @@ class EMerchantPay_Genesis_DirectController extends Mage_Core_Controller_Front_A
124
  */
125
  public function failureAction()
126
  {
127
- $this->_helper->restoreQuote();
128
-
129
- $this->_helper->getCheckoutSession()->addError(
130
  $this->_helper->__('We were unable to process your payment! Please check your input or try again later.')
131
  );
132
 
 
 
 
 
133
  $this->_redirect('checkout/cart', array('_secure' => true));
134
  }
135
  }
124
  */
125
  public function failureAction()
126
  {
127
+ $failureMessage = $this->_helper->getReconciledFailureActionMessage(
 
 
128
  $this->_helper->__('We were unable to process your payment! Please check your input or try again later.')
129
  );
130
 
131
+ $this->_helper->restoreQuote();
132
+
133
+ $this->_helper->getCheckoutSession()->addError($failureMessage);
134
+
135
  $this->_redirect('checkout/cart', array('_secure' => true));
136
  }
137
  }
app/code/community/EMerchantPay/Genesis/etc/config.xml CHANGED
@@ -19,7 +19,7 @@ GNU General Public License for more details.
19
  <config>
20
  <modules>
21
  <EMerchantPay_Genesis>
22
- <version>1.3.0</version>
23
  </EMerchantPay_Genesis>
24
  </modules>
25
 
@@ -155,4 +155,4 @@ GNU General Public License for more details.
155
  </emerchantpay_checkout_charge_recurring_profile>
156
  </jobs>
157
  </crontab>
158
- </config>
19
  <config>
20
  <modules>
21
  <EMerchantPay_Genesis>
22
+ <version>1.3.1</version>
23
  </EMerchantPay_Genesis>
24
  </modules>
25
 
155
  </emerchantpay_checkout_charge_recurring_profile>
156
  </jobs>
157
  </crontab>
158
+ </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>EMerchantPay_Genesis_Client</name>
4
- <version>1.3.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
@@ -10,11 +10,12 @@
10
  <description>This is a Payment Module for Magento Community Edition, that gives you the ability to process payments through eMerchantPay's Payment Gateway - Genesis.&#xD;
11
  &#xD;
12
  The Payment Gateway supports all of the major credit/debit card brands and more than 40 alternative payment methods (APMs) and e-wallets. When using the module, the merchant benefits from eMerchantPay&#x2019;s vast payment industry experience and a full suite of value-added services such as sophisticated risk management and monitoring tools, with the added benefit of removing the burden of PCI DSS compliance from the merchant.</description>
13
- <notes>1.) Supported PHP Version up to 7.1.0</notes>
 
14
  <authors><author><name>eMerchantPay Ltd.</name><user>chrisrive</user><email>chris@emerchantpay.com</email></author></authors>
15
- <date>2017-01-12</date>
16
- <time>17:02:04</time>
17
- <contents><target name="magecommunity"><dir name="EMerchantPay"><dir name="Genesis"><dir name="Block"><dir name="Form"><file name="Checkout.php" hash="abe450bd6746651abf03c32b8db17543"/><file name="Direct.php" hash="93fc65487691d59876b0c1cf08fa87c9"/></dir><dir name="Info"><file name="Checkout.php" hash="3233f4ade14cee154c064f2deea1bd8f"/><file name="Direct.php" hash="76a10eddefc97b01fafb6fff0f36f837"/></dir><dir name="Redirect"><file name="Checkout.php" hash="b00b4e6cc7d3f93fbd2ac67f5d2e960f"/><file name="Direct.php" hash="2f6d4ffa32f737df09c3b6aa659add4e"/></dir></dir><dir name="Helper"><file name="Data.php" hash="5b5e757cddf8f2d2e4f9663cabf40c90"/></dir><dir name="Model"><dir name="Admin"><dir name="Checkout"><dir name="Options"><dir name="Transaction"><dir name="Recurring"><file name="Type.php" hash="41338f33c9f649701e5fd8a47363ffea"/></dir><file name="Type.php" hash="bbe07732d7febf995c470ab36eec2234"/></dir></dir></dir><dir name="Direct"><dir name="Options"><dir name="Transaction"><dir name="Recurring"><file name="Type.php" hash="c5bcbb4e6c62daac0ecdfe8ef0315023"/></dir><file name="Type.php" hash="a8ee95bff6d13736e1639fe4a52fb862"/></dir></dir></dir><file name="Environment.php" hash="168ae448e5478560e079be92b3810507"/></dir><file name="Checkout.php" hash="683fde774bbcf42dbbfa9ffb6d3013e9"/><file name="Direct.php" hash="57b428cc31d384e3c42197a1931bb53f"/><dir name="Task"><file name="Recurring.php" hash="94de815a85cb8022e8639d5dab4cc305"/></dir></dir><dir name="Observer"><file name="CheckoutSubmitAllAfter.php" hash="3dd69fb21f72e6283d1ca1c89bc1c1d8"/><file name="SalesQuoteAddressCollectTotalsBefore.php" hash="e26c5af345b7a475f9f719979597111b"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="fee5132397f438b47139f30f10c40bf6"/><file name="DirectController.php" hash="b6dbe6db006e7f0421289c06a6712c6d"/></dir><dir name="etc"><file name="config.xml" hash="ee691ac3e6edde3709e842fa52f1e60a"/><file name="system.xml" hash="63a9042dcf422feaeb4eb116b90313e2"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="emerchantpay"><dir name="info"><file name="checkout.phtml" hash="121f777049b801219f2792ca9aaedd3e"/><file name="direct.phtml" hash="121f777049b801219f2792ca9aaedd3e"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="emerchantpay"><dir name="form"><file name="checkout.phtml" hash="835a61d301f75e3d39a84ed412941ae0"/><file name="direct.phtml" hash="adbe6e9f00f15ea5db9de983cd6a7880"/></dir><dir name="info"><file name="checkout.phtml" hash="939277e4db9bda19b6932775a03fbaac"/><file name="direct.phtml" hash="939277e4db9bda19b6932775a03fbaac"/></dir><dir name="redirect"><file name="checkout.phtml" hash="caee38fbfc90ebc340730b83066486d3"/><file name="direct.phtml" hash="caee38fbfc90ebc340730b83066486d3"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EMerchantPay_Genesis.xml" hash="83879cf40aba5587eecc86c162398e43"/></dir></target><target name="magelocale"><dir name="en_GB"><file name="EMerchantPay_Genesis.csv" hash="4bfb9000f103576377a939c945860e1c"/></dir><dir name="en_US"><file name="EMerchantPay_Genesis.csv" hash="4bfb9000f103576377a939c945860e1c"/></dir></target><target name="magelib"><dir name="Genesis"><dir name="src"><dir name="Genesis"><dir name="API"><dir name="Constants"><file name="Banks.php" hash="b7b1fc98be9aa2c0e2bd7c03086ca397"/><file name="Endpoints.php" hash="2036dc4c26f6e7418d5ce198170f96a1"/><file name="Environments.php" hash="4054e40a140cd9b4010a49e7928457f4"/><file name="Errors.php" hash="434b001eb137e74e654020d63b7c4f72"/><dir name="Payment"><file name="Methods.php" hash="de89e5298e49aea3f5eb8c9f89317576"/></dir><dir name="Transaction"><dir name="Parameters"><dir name="PayByVouchers"><file name="CardTypes.php" hash="d9e632a4b269948079af8f96bf3c56f1"/><file name="RedeemTypes.php" hash="ed1c30bc2b9cc435e7b66afad9ab3832"/></dir></dir><file name="States.php" hash="52a8c37ba2ab1597b928b5a4de89cdf3"/><file name="Types.php" hash="40db1b4803eb29d2987d1e7cef04230a"/></dir><file name="i18n.php" hash="577058e53e7c935e3e883fd4792ee548"/></dir><file name="Notification.php" hash="1642e5c9b7ff9a249e2d26d1db64861a"/><dir name="Request"><dir name="Financial"><dir name="Alternatives"><file name="ABNiDEAL.php" hash="9ad0d2f75fcdf5b2cb94c78b3b3d6ea3"/><file name="CashU.php" hash="f28471dfff04de6e8e0c7b47aa1c08da"/><file name="POLi.php" hash="31ef3c44fa6c367f207c0633950ec8f1"/><file name="PPRO.php" hash="48ba59d3f53d5b15720b0b4f4e5fbc26"/><file name="Paysafecard.php" hash="83a298fd99434d6c207f1e1f23905061"/><file name="Sofort.php" hash="6cf9bcb7a47eb0ea7c1fa1e97ca5887c"/></dir><file name="Capture.php" hash="4074b82a2cd3ace1e655316c4dcc8064"/><dir name="Cards"><file name="Authorize.php" hash="f8cd42657ba5655af03de32c829f65ea"/><file name="Authorize3D.php" hash="57a35302fa7e08d72ec577169b64fd3c"/><file name="Credit.php" hash="a24fb37241999072f55319baf5056415"/><file name="Payout.php" hash="dae3a6cb34dc29dc583a8958a82e3628"/><dir name="Recurring"><file name="InitRecurringSale.php" hash="5903a5d82a5eceee4ac266099b708894"/><file name="InitRecurringSale3D.php" hash="ec06f91acaf4ad5d79682ec61058eac2"/><file name="RecurringSale.php" hash="324d2bf186578303a0ad084a78013051"/></dir><file name="Sale.php" hash="84b08a879c9f10b2c766a34de9878207"/><file name="Sale3D.php" hash="f6517e874dc37d123808bfa0ee5a5a1d"/></dir><dir name="PayByVouchers"><file name="Sale.php" hash="367c3036c60014aa0804ce22323001da"/><file name="oBeP.php" hash="af5b1586d15aed1b85defee8e6907d12"/></dir><file name="Refund.php" hash="399b75255fa787009e978053314a6925"/><file name="Void.php" hash="5d8d5744bb55bc4821a06f5b36ab29db"/><dir name="Wallets"><file name="Neteller.php" hash="404e7eb71cb655f9abbc0febb6783a1a"/><file name="WebMoney.php" hash="1a326d4502743c7c63c132e1911e9f78"/><file name="eZeeWallet.php" hash="6cb8d492a5ada59163f4cebad6b0d7dc"/></dir></dir><dir name="NonFinancial"><file name="AVS.php" hash="28c1506a04b88a6e0e3d19a27d00a335"/><file name="AccountVerification.php" hash="bc1e2775bef0a1f23345dac5b24b72f8"/><file name="Blacklist.php" hash="5da01bedc92c6979953d29901c3f113c"/><dir name="Fraud"><dir name="Chargeback"><file name="DateRange.php" hash="fb33c10f6375d145b5e159b883d37f3c"/><file name="Transaction.php" hash="eb8997ced7f9cc45b4df3056415dce3e"/></dir><dir name="Reports"><file name="DateRange.php" hash="53419659a6c5aff80edf0c7a31a31d31"/><file name="Transaction.php" hash="a8dd1ab07cca3537687c126572a39d25"/></dir><dir name="Retrieval"><file name="DateRange.php" hash="899f1bc77c47c6fde65451f2d2257a55"/><file name="Transaction.php" hash="73b7e9bfda8e385ea7dde1dab66bcb63"/></dir></dir><dir name="Reconcile"><file name="DateRange.php" hash="83d388eae9785c04ab2b961496faf490"/><file name="Transaction.php" hash="ed77990ff74e33faf4d26ba5e1cf7431"/></dir><dir name="Retrieve"><file name="AbniDealBanks.php" hash="0c0b187f29a20cf84550dc535e365a6b"/></dir></dir><dir name="WPF"><file name="Create.php" hash="169fdc03b480e6dd45ec54496c590b21"/><file name="Reconcile.php" hash="45aa4cd09b512b04a6b5a19c259d45ab"/></dir></dir><file name="Request.php" hash="590d63882937f1c558f1e31fe6add200"/><file name="Response.php" hash="59db1b505572d73f7ba5eb373eb18fde"/></dir><file name="Builder.php" hash="a1d259798cb8a118d59b2f3c5a313e3e"/><dir name="Builders"><file name="JSON.php" hash="387f44beabc6271d60cfdfa4de42b2b0"/><file name="XML.php" hash="c5dc6d4dcef1036c154e2833d21819c4"/></dir><dir name="Certificates"><file name="ca-bundle.pem" hash="1d4f036201f82a743da147db09a6d8ca"/></dir><file name="Config.php" hash="47d41b358bc7acaeed7492896e057536"/><dir name="Exceptions"><file name="EnvironmentNotSet.php" hash="a6f425cd8922b3615fa79cc9885328e9"/><file name="ErrorAPI.php" hash="f437c2e2423397ceaee0491e5e43d136"/><file name="ErrorNetwork.php" hash="ef4686482899ebfa53a79dd470fb751c"/><file name="ErrorParameter.php" hash="c9518f203b97e168c7db12e091635946"/><file name="InvalidArgument.php" hash="6c0f4c620ec5fda8cb46e3ff9c61d07d"/><file name="InvalidMethod.php" hash="f90abed4eb6a22d6c77da9a2c60ad5c9"/><file name="InvalidResponse.php" hash="0bab84b8816d83418062dc960648ca30"/></dir><file name="Genesis.php" hash="c14b9c20cbc534f09e891332a2794ded"/><dir name="Interfaces"><file name="Builder.php" hash="ce3aaa42bf5be788488142c420e2160f"/><file name="Network.php" hash="97f13f574a31683fd25c69b930a4b39d"/><file name="Parser.php" hash="391f365d54bfd245e901f56071238c0f"/></dir><dir name="Network"><file name="Stream.php" hash="36b286e49b6b998a883511f9902f8a5a"/><file name="cURL.php" hash="e3534bf2e3254343b0cd344d9eca6b77"/></dir><file name="Network.php" hash="9a7152dd32fee74a103e08eef03c7bbf"/><file name="Parser.php" hash="b32834c751a57c9cc2e971792d125aa0"/><dir name="Parsers"><file name="XML.php" hash="7c8c64ea006668a25b0aa0cb882425d7"/></dir><dir name="Utils"><file name="Common.php" hash="f669b461894af8650fe9af3d4b7b2f81"/><file name="Country.php" hash="53890c12438b00a5908d3a4f7f92c785"/><file name="Currency.php" hash="29fc4143a6ed046917fef3fd3286b811"/><file name="Requirements.php" hash="f2b8ab0a131e878ff35d30d7512dd133"/></dir></dir></dir><dir name="vendor"><file name="autoload.php" hash="59c384c9fd04a63a1609c0c507cdc384"/><dir name="composer"><file name="ClassLoader.php" hash="479613a7d15cfdf2bcdf0399a032ff9a"/><file name="LICENSE" hash="caa653f07bb161e830d67b0ab35dd642"/><file name="autoload_classmap.php" hash="8645d3a4e3ad87e7cf4d88a46717aab4"/><file name="autoload_namespaces.php" hash="af4fa780231e7182bbd1430a1973a21d"/><file name="autoload_psr4.php" hash="dd3a00f0d13eb29781edd8c77d4c5100"/><file name="autoload_real.php" hash="a80c290f6d5d3cc4b7d03108d55b36eb"/><file name="installed.json" hash="30a799458964967a17ca693a6b2d1c65"/></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.3.2</min><max>7.1.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.7</min><max>1.9.9.9</max></package><extension><name>bcmath</name><min/><max/></extension><extension><name>curl</name><min/><max/></extension><extension><name>filter</name><min/><max/></extension><extension><name>hash</name><min/><max/></extension><extension><name>xmlreader</name><min/><max/></extension><extension><name>xmlwriter</name><min/><max/></extension></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>EMerchantPay_Genesis_Client</name>
4
+ <version>1.3.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
10
  <description>This is a Payment Module for Magento Community Edition, that gives you the ability to process payments through eMerchantPay's Payment Gateway - Genesis.&#xD;
11
  &#xD;
12
  The Payment Gateway supports all of the major credit/debit card brands and more than 40 alternative payment methods (APMs) and e-wallets. When using the module, the merchant benefits from eMerchantPay&#x2019;s vast payment industry experience and a full suite of value-added services such as sophisticated risk management and monitoring tools, with the added benefit of removing the burden of PCI DSS compliance from the merchant.</description>
13
+ <notes>1.) Fix for Order Confirmation Emails - were not queued for asynchronous transactions&#xD;
14
+ 2.) Better Error Handlers for asynchronous transactions - reconciliation used for failed transactions</notes>
15
  <authors><author><name>eMerchantPay Ltd.</name><user>chrisrive</user><email>chris@emerchantpay.com</email></author></authors>
16
+ <date>2017-05-09</date>
17
+ <time>15:17:30</time>
18
+ <contents><target name="magecommunity"><dir name="EMerchantPay"><dir name="Genesis"><dir name="Block"><dir name="Form"><file name="Checkout.php" hash="abe450bd6746651abf03c32b8db17543"/><file name="Direct.php" hash="93fc65487691d59876b0c1cf08fa87c9"/></dir><dir name="Info"><file name="Checkout.php" hash="3233f4ade14cee154c064f2deea1bd8f"/><file name="Direct.php" hash="76a10eddefc97b01fafb6fff0f36f837"/></dir><dir name="Redirect"><file name="Checkout.php" hash="b00b4e6cc7d3f93fbd2ac67f5d2e960f"/><file name="Direct.php" hash="2f6d4ffa32f737df09c3b6aa659add4e"/></dir></dir><dir name="Helper"><file name="Data.php" hash="6dbc9f16bcb42e3d638f5ded5b5f703d"/></dir><dir name="Model"><dir name="Admin"><dir name="Checkout"><dir name="Options"><dir name="Transaction"><dir name="Recurring"><file name="Type.php" hash="41338f33c9f649701e5fd8a47363ffea"/></dir><file name="Type.php" hash="bbe07732d7febf995c470ab36eec2234"/></dir></dir></dir><dir name="Direct"><dir name="Options"><dir name="Transaction"><dir name="Recurring"><file name="Type.php" hash="c5bcbb4e6c62daac0ecdfe8ef0315023"/></dir><file name="Type.php" hash="a8ee95bff6d13736e1639fe4a52fb862"/></dir></dir></dir><file name="Environment.php" hash="168ae448e5478560e079be92b3810507"/></dir><file name="Checkout.php" hash="dee656441f987934644818fec1eae939"/><file name="Direct.php" hash="0620a7a6a71f9b8047a07e9aad8b5f74"/><dir name="Task"><file name="Recurring.php" hash="09af9e1894b8d078df64b8dc4d70124d"/></dir></dir><dir name="Observer"><file name="CheckoutSubmitAllAfter.php" hash="3dd69fb21f72e6283d1ca1c89bc1c1d8"/><file name="SalesQuoteAddressCollectTotalsBefore.php" hash="e26c5af345b7a475f9f719979597111b"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="acbb813e3bc0171eba836a02e89232d6"/><file name="DirectController.php" hash="16c090d446438f9f37a2625bfaaeb6ce"/></dir><dir name="etc"><file name="config.xml" hash="84454fe453cc3baf18117763636da8e9"/><file name="system.xml" hash="63a9042dcf422feaeb4eb116b90313e2"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="emerchantpay"><dir name="info"><file name="checkout.phtml" hash="121f777049b801219f2792ca9aaedd3e"/><file name="direct.phtml" hash="121f777049b801219f2792ca9aaedd3e"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="emerchantpay"><dir name="form"><file name="checkout.phtml" hash="835a61d301f75e3d39a84ed412941ae0"/><file name="direct.phtml" hash="adbe6e9f00f15ea5db9de983cd6a7880"/></dir><dir name="info"><file name="checkout.phtml" hash="939277e4db9bda19b6932775a03fbaac"/><file name="direct.phtml" hash="939277e4db9bda19b6932775a03fbaac"/></dir><dir name="redirect"><file name="checkout.phtml" hash="caee38fbfc90ebc340730b83066486d3"/><file name="direct.phtml" hash="caee38fbfc90ebc340730b83066486d3"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EMerchantPay_Genesis.xml" hash="83879cf40aba5587eecc86c162398e43"/></dir></target><target name="magelocale"><dir name="en_GB"><file name="EMerchantPay_Genesis.csv" hash="4bfb9000f103576377a939c945860e1c"/></dir><dir name="en_US"><file name="EMerchantPay_Genesis.csv" hash="4bfb9000f103576377a939c945860e1c"/></dir></target><target name="magelib"><dir name="Genesis"><dir name="src"><dir name="Genesis"><dir name="API"><dir name="Constants"><file name="Banks.php" hash="b7b1fc98be9aa2c0e2bd7c03086ca397"/><file name="Endpoints.php" hash="2036dc4c26f6e7418d5ce198170f96a1"/><file name="Environments.php" hash="4054e40a140cd9b4010a49e7928457f4"/><file name="Errors.php" hash="434b001eb137e74e654020d63b7c4f72"/><dir name="Payment"><file name="Methods.php" hash="de89e5298e49aea3f5eb8c9f89317576"/></dir><dir name="Transaction"><dir name="Parameters"><dir name="PayByVouchers"><file name="CardTypes.php" hash="d9e632a4b269948079af8f96bf3c56f1"/><file name="RedeemTypes.php" hash="ed1c30bc2b9cc435e7b66afad9ab3832"/></dir></dir><file name="States.php" hash="52a8c37ba2ab1597b928b5a4de89cdf3"/><file name="Types.php" hash="40db1b4803eb29d2987d1e7cef04230a"/></dir><file name="i18n.php" hash="577058e53e7c935e3e883fd4792ee548"/></dir><file name="Notification.php" hash="1642e5c9b7ff9a249e2d26d1db64861a"/><dir name="Request"><dir name="Financial"><dir name="Alternatives"><file name="ABNiDEAL.php" hash="9ad0d2f75fcdf5b2cb94c78b3b3d6ea3"/><file name="CashU.php" hash="f28471dfff04de6e8e0c7b47aa1c08da"/><file name="POLi.php" hash="31ef3c44fa6c367f207c0633950ec8f1"/><file name="PPRO.php" hash="48ba59d3f53d5b15720b0b4f4e5fbc26"/><file name="Paysafecard.php" hash="83a298fd99434d6c207f1e1f23905061"/><file name="Sofort.php" hash="6cf9bcb7a47eb0ea7c1fa1e97ca5887c"/></dir><file name="Capture.php" hash="4074b82a2cd3ace1e655316c4dcc8064"/><dir name="Cards"><file name="Authorize.php" hash="f8cd42657ba5655af03de32c829f65ea"/><file name="Authorize3D.php" hash="57a35302fa7e08d72ec577169b64fd3c"/><file name="Credit.php" hash="a24fb37241999072f55319baf5056415"/><file name="Payout.php" hash="dae3a6cb34dc29dc583a8958a82e3628"/><dir name="Recurring"><file name="InitRecurringSale.php" hash="5903a5d82a5eceee4ac266099b708894"/><file name="InitRecurringSale3D.php" hash="ec06f91acaf4ad5d79682ec61058eac2"/><file name="RecurringSale.php" hash="324d2bf186578303a0ad084a78013051"/></dir><file name="Sale.php" hash="84b08a879c9f10b2c766a34de9878207"/><file name="Sale3D.php" hash="f6517e874dc37d123808bfa0ee5a5a1d"/></dir><dir name="PayByVouchers"><file name="Sale.php" hash="367c3036c60014aa0804ce22323001da"/><file name="oBeP.php" hash="af5b1586d15aed1b85defee8e6907d12"/></dir><file name="Refund.php" hash="399b75255fa787009e978053314a6925"/><file name="Void.php" hash="5d8d5744bb55bc4821a06f5b36ab29db"/><dir name="Wallets"><file name="Neteller.php" hash="404e7eb71cb655f9abbc0febb6783a1a"/><file name="WebMoney.php" hash="1a326d4502743c7c63c132e1911e9f78"/><file name="eZeeWallet.php" hash="6cb8d492a5ada59163f4cebad6b0d7dc"/></dir></dir><dir name="NonFinancial"><file name="AVS.php" hash="28c1506a04b88a6e0e3d19a27d00a335"/><file name="AccountVerification.php" hash="bc1e2775bef0a1f23345dac5b24b72f8"/><file name="Blacklist.php" hash="5da01bedc92c6979953d29901c3f113c"/><dir name="Fraud"><dir name="Chargeback"><file name="DateRange.php" hash="fb33c10f6375d145b5e159b883d37f3c"/><file name="Transaction.php" hash="eb8997ced7f9cc45b4df3056415dce3e"/></dir><dir name="Reports"><file name="DateRange.php" hash="53419659a6c5aff80edf0c7a31a31d31"/><file name="Transaction.php" hash="a8dd1ab07cca3537687c126572a39d25"/></dir><dir name="Retrieval"><file name="DateRange.php" hash="899f1bc77c47c6fde65451f2d2257a55"/><file name="Transaction.php" hash="73b7e9bfda8e385ea7dde1dab66bcb63"/></dir></dir><dir name="Reconcile"><file name="DateRange.php" hash="83d388eae9785c04ab2b961496faf490"/><file name="Transaction.php" hash="ed77990ff74e33faf4d26ba5e1cf7431"/></dir><dir name="Retrieve"><file name="AbniDealBanks.php" hash="0c0b187f29a20cf84550dc535e365a6b"/></dir></dir><dir name="WPF"><file name="Create.php" hash="169fdc03b480e6dd45ec54496c590b21"/><file name="Reconcile.php" hash="45aa4cd09b512b04a6b5a19c259d45ab"/></dir></dir><file name="Request.php" hash="590d63882937f1c558f1e31fe6add200"/><file name="Response.php" hash="59db1b505572d73f7ba5eb373eb18fde"/></dir><file name="Builder.php" hash="a1d259798cb8a118d59b2f3c5a313e3e"/><dir name="Builders"><file name="JSON.php" hash="387f44beabc6271d60cfdfa4de42b2b0"/><file name="XML.php" hash="c5dc6d4dcef1036c154e2833d21819c4"/></dir><dir name="Certificates"><file name="ca-bundle.pem" hash="1d4f036201f82a743da147db09a6d8ca"/></dir><file name="Config.php" hash="47d41b358bc7acaeed7492896e057536"/><dir name="Exceptions"><file name="EnvironmentNotSet.php" hash="a6f425cd8922b3615fa79cc9885328e9"/><file name="ErrorAPI.php" hash="f437c2e2423397ceaee0491e5e43d136"/><file name="ErrorNetwork.php" hash="ef4686482899ebfa53a79dd470fb751c"/><file name="ErrorParameter.php" hash="c9518f203b97e168c7db12e091635946"/><file name="InvalidArgument.php" hash="6c0f4c620ec5fda8cb46e3ff9c61d07d"/><file name="InvalidMethod.php" hash="f90abed4eb6a22d6c77da9a2c60ad5c9"/><file name="InvalidResponse.php" hash="0bab84b8816d83418062dc960648ca30"/></dir><file name="Genesis.php" hash="c14b9c20cbc534f09e891332a2794ded"/><dir name="Interfaces"><file name="Builder.php" hash="ce3aaa42bf5be788488142c420e2160f"/><file name="Network.php" hash="97f13f574a31683fd25c69b930a4b39d"/><file name="Parser.php" hash="391f365d54bfd245e901f56071238c0f"/></dir><dir name="Network"><file name="Stream.php" hash="36b286e49b6b998a883511f9902f8a5a"/><file name="cURL.php" hash="e3534bf2e3254343b0cd344d9eca6b77"/></dir><file name="Network.php" hash="9a7152dd32fee74a103e08eef03c7bbf"/><file name="Parser.php" hash="b32834c751a57c9cc2e971792d125aa0"/><dir name="Parsers"><file name="XML.php" hash="7c8c64ea006668a25b0aa0cb882425d7"/></dir><dir name="Utils"><file name="Common.php" hash="f669b461894af8650fe9af3d4b7b2f81"/><file name="Country.php" hash="53890c12438b00a5908d3a4f7f92c785"/><file name="Currency.php" hash="29fc4143a6ed046917fef3fd3286b811"/><file name="Requirements.php" hash="f2b8ab0a131e878ff35d30d7512dd133"/></dir></dir></dir><dir name="vendor"><file name="autoload.php" hash="59c384c9fd04a63a1609c0c507cdc384"/><dir name="composer"><file name="ClassLoader.php" hash="479613a7d15cfdf2bcdf0399a032ff9a"/><file name="LICENSE" hash="caa653f07bb161e830d67b0ab35dd642"/><file name="autoload_classmap.php" hash="8645d3a4e3ad87e7cf4d88a46717aab4"/><file name="autoload_namespaces.php" hash="af4fa780231e7182bbd1430a1973a21d"/><file name="autoload_psr4.php" hash="dd3a00f0d13eb29781edd8c77d4c5100"/><file name="autoload_real.php" hash="a80c290f6d5d3cc4b7d03108d55b36eb"/><file name="installed.json" hash="30a799458964967a17ca693a6b2d1c65"/></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.3.2</min><max>7.1.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.7</min><max>1.9.9.9</max></package><extension><name>bcmath</name><min/><max/></extension><extension><name>curl</name><min/><max/></extension><extension><name>filter</name><min/><max/></extension><extension><name>hash</name><min/><max/></extension><extension><name>xmlreader</name><min/><max/></extension><extension><name>xmlwriter</name><min/><max/></extension></required></dependencies>
21
  </package>