AltaPay_for_Magento1 - Version 1.2.3

Version Notes

Bug correction for the Authorize and Capture function. PHP max version changed to 7.0.15

Download this release

Release Info

Developer AltaPay Integration Team
Extension AltaPay_for_Magento1
Version 1.2.3
Comparing to
See all releases


Code changes from version 1.2.2 to 1.2.3

app/code/community/Altapay/Payment/Model/Api/ALTAPAY_VERSION.php CHANGED
@@ -1 +1 @@
1
- <?php define('ALTAPAY_VERSION', 'MagentoPlugin/20151124_134927');
1
+ <?php define('ALTAPAY_VERSION', 'MagentoPlugin/20170313_110000');
app/code/community/Altapay/Payment/Model/Method/Abstract.php CHANGED
@@ -55,7 +55,7 @@ abstract class Altapay_Payment_Model_Method_Abstract extends Mage_Payment_Model_
55
  * In order to refund them we need to set the transaction id, as we would
56
  * normally do later in the capture process.
57
  */
58
- if ($paymentStatus == 'bank_payment_finalized')
59
  {
60
  $payment->setIsTransactionClosed(false);
61
  $payment->setTransactionId($session_authTransactionId);
55
  * In order to refund them we need to set the transaction id, as we would
56
  * normally do later in the capture process.
57
  */
58
+ if ($paymentStatus == 'bank_payment_finalized' || $paymentStatus == 'captured')
59
  {
60
  $payment->setIsTransactionClosed(false);
61
  $payment->setTransactionId($session_authTransactionId);
app/code/community/Altapay/Payment/Model/Method/Gateway.php CHANGED
@@ -34,7 +34,7 @@ class Altapay_Payment_Model_Method_Gateway extends Altapay_Payment_Model_Method_
34
  }
35
  return parent::authorize($payment, $amount);
36
  }
37
-
38
  public function getCheckoutRedirectUrl()
39
  {
40
  $onePage = $this->getOnepage();
@@ -43,7 +43,7 @@ class Altapay_Payment_Model_Method_Gateway extends Altapay_Payment_Model_Method_
43
  $onePage->getQuote()->reserveOrderId();
44
  $onePage->getQuote()->save();
45
  }
46
-
47
  $terminal = $this->getAltapayTerminal();
48
  $orderid = $onePage->getQuote()->getReservedOrderId(); //'qoute_'.$onePage->getQuote()->getId();
49
  $totals = $onePage->getQuote()->getTotals(); /** @var $totals Mage_Sales_Model_Quote_Address_Total[] */
@@ -54,21 +54,21 @@ class Altapay_Payment_Model_Method_Gateway extends Altapay_Payment_Model_Method_
54
  $shippingAddress = $onePage->getQuote()->getShippingAddress();
55
 
56
  $customerInfo = array(
57
- 'billing_postal'=> $billingAddress->getData('postcode'),
58
- 'billing_country'=> $billingAddress->getData('country_id'),
59
- 'billing_address'=> $billingAddress->getData('street'),
60
- 'billing_city'=>$billingAddress->getData('city'),
61
- 'billing_region'=>$this->getStateCode($billingAddress->getData('region')),
62
  'billing_firstname'=> $billingAddress->getData('firstname'),
63
- 'billing_lastname'=> $billingAddress->getData('lastname'),
64
- 'email'=>$billingAddress->getData('email'),
65
- 'shipping_postal'=> $shippingAddress->getData('postcode'),
66
- 'shipping_country'=> $shippingAddress->getData('country_id'),
67
- 'shipping_address'=> $shippingAddress->getData('street'),
68
- 'shipping_city'=>$shippingAddress->getData('city'),
69
- 'shipping_region'=>$this->getStateCode($billingAddress->getData('region')),
70
  'shipping_firstname'=> $shippingAddress->getData('firstname'),
71
- 'shipping_lastname'=> $shippingAddress->getData('lastname'),
72
  'customer_phone'=> $billingAddress->getData('telephone'),
73
  );
74
 
@@ -77,18 +77,18 @@ class Altapay_Payment_Model_Method_Gateway extends Altapay_Payment_Model_Method_
77
  * flow where payment and capture is performed in two steps.
78
  */
79
  //$paymentType = Altapay_Payment_Model_Constants::ACTION_AUTHORIZE;
80
-
81
  $paymentType = $this->getAltapayPaymentType(Altapay_Payment_Model_Constants::CONT_PATH_GATEWAY_ACTION_TYPE,$onePage->getQuote()->getStoreId());
82
 
83
  $requestConfig = $this->getAltapayRequestConfig($orderid);
84
  $transactionInfo = array(
85
- 'qoute'=>$onePage->getQuote()->getId(),
86
  );
87
 
88
  $orderLines = $this->_createOrderLinesFromQuote($onePage->getQuote());
89
 
90
  $response = $this->getAltapayModel()->createPaymentRequest(
91
- $terminal,
92
  $orderid,
93
  $amount,
94
  $currencyCode,
@@ -100,7 +100,7 @@ class Altapay_Payment_Model_Method_Gateway extends Altapay_Payment_Model_Method_
100
  $transactionInfo,
101
  $orderLines
102
  );
103
-
104
  if($response->wasSuccessful())
105
  {
106
  Mage::getSingleton('core/session')->setData('altapay_payment_request_url', $response->getRedirectURL());
@@ -120,11 +120,17 @@ class Altapay_Payment_Model_Method_Gateway extends Altapay_Payment_Model_Method_
120
  {
121
  $data = $item->__toArray();
122
 
 
 
 
 
 
 
123
  $orderLines[] = array(
124
  'description'=>$data['name'],
125
  'itemId'=>$data['sku'],
126
  'quantity'=>$data['qty'],
127
- 'taxAmount'=>$data['tax_amount'],
128
  'unitCode'=>'pcs', // TODO: Nice this up
129
  'unitPrice'=>round($data['calculation_price'], 2, PHP_ROUND_HALF_DOWN),
130
  'discount'=>round($data['discount_percent'], 2, PHP_ROUND_HALF_DOWN),
@@ -200,310 +206,315 @@ class Altapay_Payment_Model_Method_Gateway extends Altapay_Payment_Model_Method_
200
  {
201
  return Mage::getSingleton('checkout/type_onepage');
202
  }
203
-
204
  protected function getAltapayRequestConfig($orderId)
205
  {
206
  return array(
207
- 'callback_form' => Mage::getUrl('altapaypayment/onepage/form').'?orderID=' . $orderId
208
- , 'callback_ok' => Mage::getUrl('altapaypayment/onepage/success').'?orderID=' . $orderId
209
- , 'callback_fail' => Mage::getUrl('altapaypayment/onepage/failure').'?orderID=' . $orderId
210
- , 'callback_redirect' => ''
211
- , 'callback_open' => Mage::getUrl('altapaypayment/onepage/open').'?orderID=' . $orderId
212
- , 'callback_notification' => Mage::getUrl('altapaypayment/onepage/notification').'?orderID=' . $orderId
213
  );
214
  }
215
-
216
  protected function getAltapayTerminal()
217
  {
218
  return Mage::getStoreConfig(Altapay_Payment_Model_Constants::CONF_PATH_GATEWAY_TERMINAL);
219
  }
220
 
221
  private function getStateCode($state){ //only focusing on US and Mexico states.
 
222
  $stateCode = "";
223
- switch(trim(strtolower($state))){
 
 
 
 
224
  case "alabama":
225
  $stateCode = "AL";
226
- break;
227
  case "alaska":
228
  $stateCode = "AK";
229
- break;
230
  case "arizona":
231
  $stateCode = "AZ";
232
- break;
233
  case "arkansas":
234
  $stateCode = "AR";
235
- break;
236
  case "california":
237
- $stateCode = "AR";
238
- break;
239
  case "colorado":
240
  $stateCode = "CO";
241
- break;
242
  case "connecticut":
243
  $stateCode = "CT";
244
- break;
245
  case "delaware":
246
  $stateCode = "DE";
247
- break;
248
  case "districtofcolumbia":
249
  $stateCode = "DC";
250
- break;
251
  case "florida":
252
  $stateCode = "FL";
253
- break;
254
  case "georgia":
255
  $stateCode = "GA";
256
- break;
257
  case "hawaii":
258
  $stateCode = "HI";
259
- break;
260
  case "idaho":
261
  $stateCode = "ID";
262
- break;
263
  case "illinois":
264
  $stateCode = "IL";
265
- break;
266
  case "indiana":
267
  $stateCode = "IN";
268
- break;
269
  case "iowa":
270
  $stateCode = "IA";
271
- break;
272
  case "kansas":
273
  $stateCode = "KS";
274
- break;
275
  case "kentucky":
276
  $stateCode = "KY";
277
- break;
278
  case "louisiana":
279
  $stateCode = "LA";
280
- break;
281
  case "maine":
282
  $stateCode = "ME";
283
- break;
284
  case "maryland":
285
  $stateCode = "MD";
286
- break;
287
  case "massachusetts":
288
  $stateCode = "MA";
289
- break;
290
  case "michigan":
291
  $stateCode = "MI";
292
- break;
293
  case "minnesota":
294
  $stateCode = "MN";
295
- break;
296
  case "mississippi":
297
  $stateCode = "MS";
298
- break;
299
  case "missouri":
300
  $stateCode = "MO";
301
- break;
302
  case "montana":
303
  $stateCode = "MT";
304
- break;
305
  case "nebraska":
306
  $stateCode = "NE";
307
- break;
308
  case "nevada":
309
  $stateCode = "NV";
310
- break;
311
  case "newhampshire":
312
  $stateCode = "NH";
313
- break;
314
  case "newjersey":
315
  $stateCode = "NJ";
316
- break;
317
  case "newmexico":
318
  $stateCode = "NM";
319
- break;
320
  case "newyork":
321
  $stateCode = "NY";
322
- break;
323
  case "northcarolina":
324
  $stateCode = "NC";
325
- break;
326
  case "northdakota":
327
  $stateCode = "ND";
328
- break;
329
  case "ohio":
330
  $stateCode = "OH";
331
- break;
332
  case "oklahoma":
333
  $stateCode = "OK";
334
- break;
335
  case "oregon":
336
  $stateCode = "OR";
337
- break;
338
  case "pennsylvania":
339
  $stateCode = "PA";
340
- break;
341
  case "puertorico":
342
  $stateCode = "PR";
343
- break;
344
  case "rhodeisland":
345
  $stateCode = "RI";
346
- break;
347
  case "southcarolina":
348
  $stateCode = "SC";
349
- break;
350
  case "southdakota":
351
  $stateCode = "SD";
352
- break;
353
  case "tennessee":
354
  $stateCode = "TN";
355
- break;
356
  case "texas":
357
  $stateCode = "TX";
358
- break;
359
  case "utah":
360
  $stateCode = "UT";
361
- break;
362
  case "vermont":
363
  $stateCode = "VT";
364
- break;
365
  case "virginia":
366
  $stateCode = "VA";
367
- break;
368
  case "washington":
369
  $stateCode = "WA";
370
- break;
371
  case "westvirginia":
372
  $stateCode = "WV";
373
- break;
374
  case "wisconsin":
375
  $stateCode = "WI";
376
- break;
377
  case "wyoming":
378
  $stateCode = "WY";
379
- break;
380
  case "armedforcesamericas":
381
  $stateCode = "AA";
382
- break;
383
  case "armedforceseurope":
384
  $stateCode = "AE";
385
- break;
386
  case "asrmedforcespacific":
387
  $stateCode = "AP";
388
- break;
389
  case "americansamoa":
390
  $stateCode = "AS";
391
- break;
392
  case "federatedstatesofmicronesia":
393
  $stateCode = "FM";
394
- break;
395
  case "guam":
396
  $stateCode = "GU";
397
- break;
398
  case "marshallislands":
399
  $stateCode = "MH";
400
- break;
401
  case "northernmarianaislands":
402
  $stateCode = "MP";
403
- break;
404
  case "palau":
405
  $stateCode = "PW";
406
- break;
407
  case "virginislands":
408
  $stateCode = "VI";
409
- break;
410
  //==========================================================================================================
411
  case "aguascalientes":
412
  $stateCode = "AGS";
413
- break;
414
  case "bajacalifornia":
415
  $stateCode = "BC";
416
- break;
417
  case "bajacaliforniasur":
418
  $stateCode = "BCS";
419
- break;
420
  case "campeche":
421
  $stateCode = "CAMP";
422
- break;
423
  case "chiapas":
424
  $stateCode = "CHIS";
425
- break;
426
  case "chihuahua":
427
  $stateCode = "CHIH";
428
- break;
429
  case "coahuila":
430
  $stateCode = "COAH";
431
- break;
432
  case "colima":
433
  $stateCode = "COL";
434
- break;
435
  case "distritofederal":
436
  $stateCode = "DF";
437
- break;
438
  case "durango":
439
  $stateCode = "DGO";
440
- break;
441
  case "estadodeméxico":
442
  $stateCode = "MEX";
443
- break;
444
  case "guanajuato":
445
  $stateCode = "GTO";
446
- break;
447
  case "guerrero":
448
  $stateCode = "GRO";
449
- break;
450
  case "hidalgo":
451
  $stateCode = "HGO";
452
- break;
453
  case "jalisco":
454
  $stateCode = "JAL";
455
- break;
456
  case "michoacán":
457
  $stateCode = "MICH";
458
- break;
459
  case "morelos":
460
  $stateCode = "MOR";
461
- break;
462
  case "nayarit":
463
  $stateCode = "NAY";
464
- break;
465
  case "nuevoleón":
466
  $stateCode = "NL";
467
- break;
468
  case "oaxaca":
469
  $stateCode = "OAX";
470
- break;
471
  case "puebla":
472
  $stateCode = "PUE";
473
- break;
474
  case "querétaro":
475
  $stateCode = "QRO";
476
- break;
477
  case "quintanaroo":
478
  $stateCode = "Q ROO";
479
- break;
480
  case "sanluispotosí":
481
  $stateCode = "SLP";
482
- break;
483
  case "sinaloa":
484
  $stateCode = "SIN";
485
- break;
486
  case "sonora":
487
  $stateCode = "SON";
488
- break;
489
  case "tabasco":
490
  $stateCode = "TAB";
491
- break;
492
  case "tamaulipas":
493
  $stateCode = "TAMPS";
494
- break;
495
  case "tlaxcala":
496
  $stateCode = "TLAX";
497
- break;
498
  case "veracruz":
499
  $stateCode = "VER";
500
- break;
501
  case "yucatán":
502
  $stateCode = "YUC";
503
- break;
504
  case "zacatecas":
505
  $stateCode = "ZAC";
506
- break;
507
  default:
508
  $stateCode = $state;
509
  }
34
  }
35
  return parent::authorize($payment, $amount);
36
  }
37
+
38
  public function getCheckoutRedirectUrl()
39
  {
40
  $onePage = $this->getOnepage();
43
  $onePage->getQuote()->reserveOrderId();
44
  $onePage->getQuote()->save();
45
  }
46
+
47
  $terminal = $this->getAltapayTerminal();
48
  $orderid = $onePage->getQuote()->getReservedOrderId(); //'qoute_'.$onePage->getQuote()->getId();
49
  $totals = $onePage->getQuote()->getTotals(); /** @var $totals Mage_Sales_Model_Quote_Address_Total[] */
54
  $shippingAddress = $onePage->getQuote()->getShippingAddress();
55
 
56
  $customerInfo = array(
57
+ 'billing_postal'=> $billingAddress->getData('postcode'),
58
+ 'billing_country'=> $billingAddress->getData('country_id'),
59
+ 'billing_address'=> $billingAddress->getData('street'),
60
+ 'billing_city'=>$billingAddress->getData('city'),
61
+ 'billing_region'=>$this->getStateCode($billingAddress->getData('region')),
62
  'billing_firstname'=> $billingAddress->getData('firstname'),
63
+ 'billing_lastname'=> $billingAddress->getData('lastname'),
64
+ 'email'=>$billingAddress->getData('email'),
65
+ 'shipping_postal'=> $shippingAddress->getData('postcode'),
66
+ 'shipping_country'=> $shippingAddress->getData('country_id'),
67
+ 'shipping_address'=> $shippingAddress->getData('street'),
68
+ 'shipping_city'=>$shippingAddress->getData('city'),
69
+ 'shipping_region'=>$this->getStateCode($shippingAddress->getData('region')),
70
  'shipping_firstname'=> $shippingAddress->getData('firstname'),
71
+ 'shipping_lastname'=> $shippingAddress->getData('lastname'),
72
  'customer_phone'=> $billingAddress->getData('telephone'),
73
  );
74
 
77
  * flow where payment and capture is performed in two steps.
78
  */
79
  //$paymentType = Altapay_Payment_Model_Constants::ACTION_AUTHORIZE;
80
+
81
  $paymentType = $this->getAltapayPaymentType(Altapay_Payment_Model_Constants::CONT_PATH_GATEWAY_ACTION_TYPE,$onePage->getQuote()->getStoreId());
82
 
83
  $requestConfig = $this->getAltapayRequestConfig($orderid);
84
  $transactionInfo = array(
85
+ 'qoute'=>$onePage->getQuote()->getId(),
86
  );
87
 
88
  $orderLines = $this->_createOrderLinesFromQuote($onePage->getQuote());
89
 
90
  $response = $this->getAltapayModel()->createPaymentRequest(
91
+ $terminal,
92
  $orderid,
93
  $amount,
94
  $currencyCode,
100
  $transactionInfo,
101
  $orderLines
102
  );
103
+
104
  if($response->wasSuccessful())
105
  {
106
  Mage::getSingleton('core/session')->setData('altapay_payment_request_url', $response->getRedirectURL());
120
  {
121
  $data = $item->__toArray();
122
 
123
+ // We don't want the tax amount to contain a discount. The discount is informed in another field.
124
+ $discount_tax_compensation = 0;
125
+ if (isset($data['discount_tax_compensation'])) {
126
+ $discount_tax_compensation = $data['discount_tax_compensation'];
127
+ }
128
+
129
  $orderLines[] = array(
130
  'description'=>$data['name'],
131
  'itemId'=>$data['sku'],
132
  'quantity'=>$data['qty'],
133
+ 'taxAmount'=>$data['tax_amount'] + $discount_tax_compensation,
134
  'unitCode'=>'pcs', // TODO: Nice this up
135
  'unitPrice'=>round($data['calculation_price'], 2, PHP_ROUND_HALF_DOWN),
136
  'discount'=>round($data['discount_percent'], 2, PHP_ROUND_HALF_DOWN),
206
  {
207
  return Mage::getSingleton('checkout/type_onepage');
208
  }
209
+
210
  protected function getAltapayRequestConfig($orderId)
211
  {
212
  return array(
213
+ 'callback_form' => Mage::getUrl('altapaypayment/onepage/form').'?orderID=' . $orderId
214
+ , 'callback_ok' => Mage::getUrl('altapaypayment/onepage/success').'?orderID=' . $orderId
215
+ , 'callback_fail' => Mage::getUrl('altapaypayment/onepage/failure').'?orderID=' . $orderId
216
+ , 'callback_redirect' => ''
217
+ , 'callback_open' => Mage::getUrl('altapaypayment/onepage/open').'?orderID=' . $orderId
218
+ , 'callback_notification' => Mage::getUrl('altapaypayment/onepage/notification').'?orderID=' . $orderId
219
  );
220
  }
221
+
222
  protected function getAltapayTerminal()
223
  {
224
  return Mage::getStoreConfig(Altapay_Payment_Model_Constants::CONF_PATH_GATEWAY_TERMINAL);
225
  }
226
 
227
  private function getStateCode($state){ //only focusing on US and Mexico states.
228
+
229
  $stateCode = "";
230
+
231
+ $s = strtolower($state);
232
+ $s = str_replace(' ', '', $s);
233
+
234
+ switch($s) {
235
  case "alabama":
236
  $stateCode = "AL";
237
+ break;
238
  case "alaska":
239
  $stateCode = "AK";
240
+ break;
241
  case "arizona":
242
  $stateCode = "AZ";
243
+ break;
244
  case "arkansas":
245
  $stateCode = "AR";
246
+ break;
247
  case "california":
248
+ $stateCode = "CA";
249
+ break;
250
  case "colorado":
251
  $stateCode = "CO";
252
+ break;
253
  case "connecticut":
254
  $stateCode = "CT";
255
+ break;
256
  case "delaware":
257
  $stateCode = "DE";
258
+ break;
259
  case "districtofcolumbia":
260
  $stateCode = "DC";
261
+ break;
262
  case "florida":
263
  $stateCode = "FL";
264
+ break;
265
  case "georgia":
266
  $stateCode = "GA";
267
+ break;
268
  case "hawaii":
269
  $stateCode = "HI";
270
+ break;
271
  case "idaho":
272
  $stateCode = "ID";
273
+ break;
274
  case "illinois":
275
  $stateCode = "IL";
276
+ break;
277
  case "indiana":
278
  $stateCode = "IN";
279
+ break;
280
  case "iowa":
281
  $stateCode = "IA";
282
+ break;
283
  case "kansas":
284
  $stateCode = "KS";
285
+ break;
286
  case "kentucky":
287
  $stateCode = "KY";
288
+ break;
289
  case "louisiana":
290
  $stateCode = "LA";
291
+ break;
292
  case "maine":
293
  $stateCode = "ME";
294
+ break;
295
  case "maryland":
296
  $stateCode = "MD";
297
+ break;
298
  case "massachusetts":
299
  $stateCode = "MA";
300
+ break;
301
  case "michigan":
302
  $stateCode = "MI";
303
+ break;
304
  case "minnesota":
305
  $stateCode = "MN";
306
+ break;
307
  case "mississippi":
308
  $stateCode = "MS";
309
+ break;
310
  case "missouri":
311
  $stateCode = "MO";
312
+ break;
313
  case "montana":
314
  $stateCode = "MT";
315
+ break;
316
  case "nebraska":
317
  $stateCode = "NE";
318
+ break;
319
  case "nevada":
320
  $stateCode = "NV";
321
+ break;
322
  case "newhampshire":
323
  $stateCode = "NH";
324
+ break;
325
  case "newjersey":
326
  $stateCode = "NJ";
327
+ break;
328
  case "newmexico":
329
  $stateCode = "NM";
330
+ break;
331
  case "newyork":
332
  $stateCode = "NY";
333
+ break;
334
  case "northcarolina":
335
  $stateCode = "NC";
336
+ break;
337
  case "northdakota":
338
  $stateCode = "ND";
339
+ break;
340
  case "ohio":
341
  $stateCode = "OH";
342
+ break;
343
  case "oklahoma":
344
  $stateCode = "OK";
345
+ break;
346
  case "oregon":
347
  $stateCode = "OR";
348
+ break;
349
  case "pennsylvania":
350
  $stateCode = "PA";
351
+ break;
352
  case "puertorico":
353
  $stateCode = "PR";
354
+ break;
355
  case "rhodeisland":
356
  $stateCode = "RI";
357
+ break;
358
  case "southcarolina":
359
  $stateCode = "SC";
360
+ break;
361
  case "southdakota":
362
  $stateCode = "SD";
363
+ break;
364
  case "tennessee":
365
  $stateCode = "TN";
366
+ break;
367
  case "texas":
368
  $stateCode = "TX";
369
+ break;
370
  case "utah":
371
  $stateCode = "UT";
372
+ break;
373
  case "vermont":
374
  $stateCode = "VT";
375
+ break;
376
  case "virginia":
377
  $stateCode = "VA";
378
+ break;
379
  case "washington":
380
  $stateCode = "WA";
381
+ break;
382
  case "westvirginia":
383
  $stateCode = "WV";
384
+ break;
385
  case "wisconsin":
386
  $stateCode = "WI";
387
+ break;
388
  case "wyoming":
389
  $stateCode = "WY";
390
+ break;
391
  case "armedforcesamericas":
392
  $stateCode = "AA";
393
+ break;
394
  case "armedforceseurope":
395
  $stateCode = "AE";
396
+ break;
397
  case "asrmedforcespacific":
398
  $stateCode = "AP";
399
+ break;
400
  case "americansamoa":
401
  $stateCode = "AS";
402
+ break;
403
  case "federatedstatesofmicronesia":
404
  $stateCode = "FM";
405
+ break;
406
  case "guam":
407
  $stateCode = "GU";
408
+ break;
409
  case "marshallislands":
410
  $stateCode = "MH";
411
+ break;
412
  case "northernmarianaislands":
413
  $stateCode = "MP";
414
+ break;
415
  case "palau":
416
  $stateCode = "PW";
417
+ break;
418
  case "virginislands":
419
  $stateCode = "VI";
420
+ break;
421
  //==========================================================================================================
422
  case "aguascalientes":
423
  $stateCode = "AGS";
424
+ break;
425
  case "bajacalifornia":
426
  $stateCode = "BC";
427
+ break;
428
  case "bajacaliforniasur":
429
  $stateCode = "BCS";
430
+ break;
431
  case "campeche":
432
  $stateCode = "CAMP";
433
+ break;
434
  case "chiapas":
435
  $stateCode = "CHIS";
436
+ break;
437
  case "chihuahua":
438
  $stateCode = "CHIH";
439
+ break;
440
  case "coahuila":
441
  $stateCode = "COAH";
442
+ break;
443
  case "colima":
444
  $stateCode = "COL";
445
+ break;
446
  case "distritofederal":
447
  $stateCode = "DF";
448
+ break;
449
  case "durango":
450
  $stateCode = "DGO";
451
+ break;
452
  case "estadodeméxico":
453
  $stateCode = "MEX";
454
+ break;
455
  case "guanajuato":
456
  $stateCode = "GTO";
457
+ break;
458
  case "guerrero":
459
  $stateCode = "GRO";
460
+ break;
461
  case "hidalgo":
462
  $stateCode = "HGO";
463
+ break;
464
  case "jalisco":
465
  $stateCode = "JAL";
466
+ break;
467
  case "michoacán":
468
  $stateCode = "MICH";
469
+ break;
470
  case "morelos":
471
  $stateCode = "MOR";
472
+ break;
473
  case "nayarit":
474
  $stateCode = "NAY";
475
+ break;
476
  case "nuevoleón":
477
  $stateCode = "NL";
478
+ break;
479
  case "oaxaca":
480
  $stateCode = "OAX";
481
+ break;
482
  case "puebla":
483
  $stateCode = "PUE";
484
+ break;
485
  case "querétaro":
486
  $stateCode = "QRO";
487
+ break;
488
  case "quintanaroo":
489
  $stateCode = "Q ROO";
490
+ break;
491
  case "sanluispotosí":
492
  $stateCode = "SLP";
493
+ break;
494
  case "sinaloa":
495
  $stateCode = "SIN";
496
+ break;
497
  case "sonora":
498
  $stateCode = "SON";
499
+ break;
500
  case "tabasco":
501
  $stateCode = "TAB";
502
+ break;
503
  case "tamaulipas":
504
  $stateCode = "TAMPS";
505
+ break;
506
  case "tlaxcala":
507
  $stateCode = "TLAX";
508
+ break;
509
  case "veracruz":
510
  $stateCode = "VER";
511
+ break;
512
  case "yucatán":
513
  $stateCode = "YUC";
514
+ break;
515
  case "zacatecas":
516
  $stateCode = "ZAC";
517
+ break;
518
  default:
519
  $stateCode = $state;
520
  }
app/code/community/Altapay/Payment/controllers/OnepageController.php CHANGED
@@ -296,10 +296,8 @@ class Altapay_Payment_OnepageController extends Mage_Checkout_OnepageController
296
  $checkoutSessionId = $this->getOnepage()->getCheckout()->getSessionId();
297
 
298
  try{
299
-
300
- $this->getOnepage()->getQuote()->collectTotals();
301
  // Clear the basket and save the order (including some info about how the payment went)
302
- $this->getOnepage()->getQuote()->setTotalsCollectedFlag(false)->collectTotals();
303
  $this->getOnepage()->getQuote()->getPayment()->setAdditionalInformation('successType', $successType);
304
  $orderId = $this->getOnepage()->saveOrder()->getLastOrderId();
305
  $this->getOnepage()->getQuote()->save();
296
  $checkoutSessionId = $this->getOnepage()->getCheckout()->getSessionId();
297
 
298
  try{
 
 
299
  // Clear the basket and save the order (including some info about how the payment went)
300
+ $this->getOnepage()->getQuote()->collectTotals();
301
  $this->getOnepage()->getQuote()->getPayment()->setAdditionalInformation('successType', $successType);
302
  $orderId = $this->getOnepage()->saveOrder()->getLastOrderId();
303
  $this->getOnepage()->getQuote()->save();
app/code/community/Altapay/Payment/etc/config.xml CHANGED
@@ -22,7 +22,7 @@
22
  <config>
23
  <modules>
24
  <Altapay_Payment>
25
- <version>1.1.3</version>
26
  </Altapay_Payment>
27
  </modules>
28
 
22
  <config>
23
  <modules>
24
  <Altapay_Payment>
25
+ <version>1.2.1</version>
26
  </Altapay_Payment>
27
  </modules>
28
 
app/code/community/Altapay/Payment/etc/config.xml.bak ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Altapay Payment Extension
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
9
+ * compliance with the License. You may obtain a copy of the License at
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is
12
+ * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and limitations under the License.
14
+ *
15
+ * @category Altapay
16
+ * @package Altapay_Payment
17
+ * @copyright Copyright (c) 2011-2012 Altapay A/S (http://altapay.com)
18
+ * @author Emanuel Greisen
19
+ * @license Apache License, Version 2.0
20
+ */
21
+ -->
22
+ <config>
23
+ <modules>
24
+ <Altapay_Payment>
25
+ <version>1.1.3</version>
26
+ </Altapay_Payment>
27
+ </modules>
28
+
29
+ <frontend>
30
+ <layout>
31
+ <updates>
32
+ <altapaypayment>
33
+ <file>altapay.xml</file>
34
+ </altapaypayment>
35
+ </updates>
36
+ </layout>
37
+ <translate>
38
+ <modules>
39
+ <Altapay_Payment>
40
+ <files>
41
+ <default>Altapay_Payment.csv</default>
42
+ </files>
43
+ </Altapay_Payment>
44
+ </modules>
45
+ </translate>
46
+
47
+ <routers>
48
+ <customer>
49
+ <args>
50
+ <modules>
51
+ <altapaypayment before="Mage_Customer">Altapay_Payment</altapaypayment>
52
+ </modules>
53
+ </args>
54
+ </customer>
55
+ <altapaypayment>
56
+ <use>standard</use>
57
+ <args>
58
+ <module>Altapay_Payment</module>
59
+ <frontName>altapaypayment</frontName>
60
+ </args>
61
+ </altapaypayment>
62
+ </routers>
63
+
64
+ </frontend>
65
+
66
+ <global>
67
+ <blocks>
68
+ <altapaypayment>
69
+ <class>Altapay_Payment_Block</class>
70
+ </altapaypayment>
71
+ <checkout>
72
+ <rewrite>
73
+ <onepage>Altapay_Payment_Block_Onepage</onepage>
74
+ </rewrite>
75
+ </checkout>
76
+ </blocks>
77
+
78
+ <helpers>
79
+ <altapaypayment>
80
+ <class>Altapay_Payment_Helper</class>
81
+ </altapaypayment>
82
+ </helpers>
83
+ <models>
84
+ <altapaypayment>
85
+ <class>Altapay_Payment_Model</class>
86
+ <resourceModel>altapaypayment_resource</resourceModel>
87
+ </altapaypayment>
88
+ <altapaypayment_resource>
89
+ <class>Altapay_Payment_Model_Resource</class>
90
+ <entities>
91
+ <subscription>
92
+ <table>altapay_subscriptions</table>
93
+ </subscription>
94
+ <token>
95
+ <table>altapay_token</table>
96
+ </token>
97
+ </entities>
98
+ </altapaypayment_resource>
99
+ </models>
100
+ <resources>
101
+ <altapaypayment_setup>
102
+ <setup>
103
+ <module>Altapay_Payment</module>
104
+ </setup>
105
+ <connection>
106
+ <use>core_setup</use>
107
+ </connection>
108
+ </altapaypayment_setup>
109
+ <altapaypayment_write>
110
+ <connection>
111
+ <use>core_write</use>
112
+ </connection>
113
+ </altapaypayment_write>
114
+ <altapaypayment_read>
115
+ <connection>
116
+ <use>core_read</use>
117
+ </connection>
118
+ </altapaypayment_read>
119
+ </resources>
120
+ <events>
121
+ <sales_order_payment_capture>
122
+ <observers>
123
+ <altapay_hooksystem_invoice_about_to_be_captured>
124
+ <type>singleton</type>
125
+ <class>altapaypayment/observer</class>
126
+ <method>salesOrderPaymentCapture</method>
127
+ </altapay_hooksystem_invoice_about_to_be_captured>
128
+ </observers>
129
+ </sales_order_payment_capture>
130
+ </events>
131
+ </global>
132
+ <admin>
133
+ <routers>
134
+ <altapaypayment>
135
+ <use>admin</use>
136
+ <args>
137
+ <module>Altapay_Payment</module>
138
+ <frontName>altapaypayment</frontName>
139
+ </args>
140
+ </altapaypayment>
141
+ </routers>
142
+ </admin>
143
+ <adminhtml>
144
+ <layout>
145
+ <updates>
146
+ <altapaypayment>
147
+ <file>altapay.xml</file>
148
+ </altapaypayment>
149
+ </updates>
150
+ </layout>
151
+ <translate>
152
+ <modules>
153
+ <Altapay_Payment>
154
+ <files>
155
+ <default>Altapay_Payment.csv</default>
156
+ </files>
157
+ </Altapay_Payment>
158
+ </modules>
159
+ </translate>
160
+ </adminhtml>
161
+ <default>
162
+ <altapay_general>
163
+ <api_installation>https://testgateway.altapaysecure.com/</api_installation>
164
+ <api_username></api_username>
165
+ <api_password></api_password>
166
+ </altapay_general>
167
+ <payment>
168
+ <altapay_moto>
169
+ <active>0</active>
170
+ <model>altapaypayment/method_moto</model>
171
+ <title>Altapay MO/TO</title>
172
+ <useccv>1</useccv>
173
+ </altapay_moto>
174
+ <altapay_gateway>
175
+ <active>0</active>
176
+ <model>altapaypayment/method_gateway</model>
177
+ <title>Altapay Payment Gateway</title>
178
+ </altapay_gateway>
179
+ <altapay_token>
180
+ <active>0</active>
181
+ <active_customer_token_control>0</active_customer_token_control>
182
+ <model>altapaypayment/method_token</model>
183
+ <title>Altapay Payment Gateway with Tokenization</title>
184
+ </altapay_token>
185
+ <altapay_recurring>
186
+ <active>0</active>
187
+ <model>altapaypayment/method_recurring</model>
188
+ <title>Stored Credit Card</title>
189
+ </altapay_recurring>
190
+ </payment>
191
+ </default>
192
+ </config>
app/design/frontend/base/default/layout/altapay.xml CHANGED
@@ -28,8 +28,23 @@
28
  </action>
29
  </reference>
30
  <reference name="content">
31
- <block type="altapaypayment/onepage_form" name="checkout.form"
32
- template="altapay/checkout/form.phtml" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  </reference>
34
  <reference name="right">
35
  <action method="unsetChildren"></action>
28
  </action>
29
  </reference>
30
  <reference name="content">
31
+ <block type="altapaypayment/onepage_form" name="checkout.form" template="altapay/checkout/form.phtml" />
32
+
33
+ <block type="altapaypayment/onepage_form" name="altapay_info_title" template="altapay/checkout/info_title.phtml"/>
34
+
35
+ <block type="checkout/onepage_review_info" name="altapay_basket" template="checkout/onepage/review/info.phtml">
36
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
37
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
38
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
39
+ <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
40
+ <block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
41
+ <label>Items Before</label>
42
+ </block>
43
+ <block type="core/text_list" name="checkout.onepage.review.info.items.after" as="items_after" translate="label">
44
+ <label>Items After</label>
45
+ </block>
46
+ </block>
47
+
48
  </reference>
49
  <reference name="right">
50
  <action method="unsetChildren"></action>
app/design/frontend/base/default/template/altapay/checkout/info_title.phtml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+
2
+ <div>&nbsp;</div>
3
+ <div class="block-title">
4
+ <strong><span><?php echo $this->__('Order review') ?></span></strong>
5
+ </div>
app/design/frontend/base/default/template/altapay/checkout/magento_styling.css CHANGED
@@ -1,5 +1,13 @@
1
  @CHARSET "UTF-8";
2
 
 
 
 
 
 
 
 
 
3
  div.AltapayMultiformContainer {
4
  position: relative;
5
  }
1
  @CHARSET "UTF-8";
2
 
3
+ input#creditCardNumberInput {
4
+ width: 200px;
5
+ }
6
+
7
+ input#cvcInput {
8
+ width: 50px;
9
+ }
10
+
11
  div.AltapayMultiformContainer {
12
  position: relative;
13
  }
package.xml CHANGED
@@ -1,20 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>AltaPay_for_Magento1</name>
4
- <version>1.2.2</version>
5
  <stability>stable</stability>
6
  <license>The MIT License (MIT)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Plugin that integrates Magento to the AltaPay payment gateway.</summary>
10
  <description>AltaPay has made it much easier for you as merchant/developer to receive secure payments in your Magento web shop. AltaPay is fully integrated with Magento via a plug-in.</description>
11
- <notes>States in Mexico and US, is now being converted to ISO 3166-2 format, which is used by Paypal. &#xD;
12
- &#xD;
13
- PHP minimum requirement has also been lowered to 5.4.45. </notes>
14
  <authors><author><name>AltaPay Integration Team</name><user>altapay_int</user><email>integration@altapay.com</email></author></authors>
15
- <date>2017-06-14</date>
16
- <time>09:35:08</time>
17
- <contents><target name="magecommunity"><dir name="Altapay"><dir name="Payment"><dir name="Block"><dir name="Customer"><dir name="Account"><file name="Token.php" hash="62e630661f5a28a033773f30041667a2"/></dir></dir><dir name="Form"><file name="Gateway.php" hash="10963a08e6553eafb6c13b3211d1873a"/><file name="Moto.php" hash="c722348e5e2f3b17ea3b06402bfba4f9"/><file name="Recurring.php" hash="2cac58ab0231f7071479fe0770c5b2fe"/><file name="Token.php" hash="77763cc1be021e04d46f3d8754e7077a"/></dir><dir name="Info"><file name="Gateway.php" hash="b3a133fb41b393da80658a35417967b1"/><file name="Moto.php" hash="86b593e08d0ab00f86e7c41ef711d8a2"/><file name="Recurring.php" hash="0c4da217141f7ba8aecd8fe564e344ce"/><file name="Token.php" hash="2ce16d8a5c01b193092611ff6c9fc8a8"/></dir><dir name="Onepage"><file name="Failed.php" hash="445738a686c709fd59343aff587c73f4"/><file name="Form.php" hash="b23ad18f71e2ace2e6a44320d747b7a1"/><dir name="Success"><file name="Token.php" hash="6aa5da3158d6ec668e0d001254b4d99d"/></dir><file name="Success.php" hash="2564809634dc37e16ceb81ef9b86d34b"/></dir><file name="Onepage.php" hash="ad81e2d0e68761f9a8c9b0237a3c36ff"/></dir><dir name="Helper"><file name="CurrencyMapper.php" hash="03088924615092d202ec3dfe3c2ad9a3"/><file name="Data.php" hash="f5350cf643355583e62bf97f066582c9"/><file name="Logger.php" hash="9e2ab6436a5e22af40ae39108d9d4ea5"/><file name="Utilities.php" hash="3c55a010f3b4705b3cd168257f43dfea"/></dir><dir name="Model"><file name="Altapay.php" hash="ab551084b21dd8a075a35661818679f5"/><dir name="Api"><file name="ALTAPAY_VERSION.php" hash="f09924828ecdd17f9b21f1b44d0c2294"/><file name="AltapayCallbackHandler.class.php" hash="964370c9295b1823fa65b2760d1b8d28"/><file name="AltapayMerchantAPI.class.php" hash="429831af898d1b7b83dda0b93aef9022"/><file name="IAltapayCommunicationLogger.class.php" hash="99b8f25360bbbd29e50ea829d3bfe5b7"/><dir name="exceptions"><file name="AltapayConnectionFailedException.class.php" hash="652416bff05f7534c9d723c0f6108dc6"/><file name="AltapayInvalidResponseException.class.php" hash="ddbf173a9f40444c20e90a3a27b9519c"/><file name="AltapayMerchantAPIException.class.php" hash="50237012813c5525df1aabfe35ebaf31"/><file name="AltapayRequestTimeoutException.class.php" hash="dd37a9977e4485f6512a583accc98ef6"/><file name="AltapayUnauthorizedAccessException.class.php" hash="b52faff4abd48c75ab483d100e87cb36"/><file name="AltapayUnknownMerchantAPIException.class.php" hash="1e19cd3c3bbec2224eb4e4f221caf7ff"/><file name="AltapayXmlException.class.php" hash="19a435d6c5ae0d6c37cda11e1e18e09b"/></dir><dir name="http"><file name="AltapayCurlBasedHttpUtils.class.php" hash="cb47ed7599fc36cf6da0dcd8ec5e9d5e"/><file name="AltapayFOpenBasedHttpUtils.class.php" hash="596956789903c8b201c4c8a645264666"/><file name="AltapayHttpRequest.class.php" hash="97955f33a1b127e892264ed0dd8c84a6"/><file name="AltapayHttpResponse.class.php" hash="de62a9d507ae836bdd8e7773194ffd47"/><file name="IAltapayHttpUtils.class.php" hash="63007aaa93e155019ef670a77ef4541b"/></dir><dir name="request"><file name="AltapayAPITransactionsRequest.class.php" hash="c723def7d72c961fa2b5213396126733"/></dir><dir name="response"><file name="AltapayAPIAddress.class.php" hash="f9f2f225ca4b2e5155e57bd112cb047e"/><file name="AltapayAPIChargebackEvent.class.php" hash="bcb0b4430aa943c7389edde862364af7"/><file name="AltapayAPIChargebackEvents.class.php" hash="0ab35b4c56f9f5a79eb028ed6e5c2a53"/><file name="AltapayAPICountryOfOrigin.class.php" hash="c24653e0dee13c3229a778c4bbc26b13"/><file name="AltapayAPICustomerInfo.class.php" hash="4be6bf4e24d749979edd95556dc55ec1"/><file name="AltapayAPIFunding.class.php" hash="71fdfbe0113702bf9292224d10e1b845"/><file name="AltapayAPIPayment.class.php" hash="2292b4c8715d5a7bdba8e5f4af5943bc"/><file name="AltapayAPIPaymentInfos.class.php" hash="926b2335da38c6e8209b450659e3a32b"/><file name="AltapayAPIPaymentNatureService.class.php" hash="ff99401cf50429dcd2845a77673882c8"/><file name="AltapayAPIReconciliationIdentifier.class.php" hash="0b75f7ba353d304e021612043f64471b"/><file name="AltapayAbstractPaymentResponse.class.php" hash="8b8920f3f331d81eff7109d4c9bbd1f6"/><file name="AltapayAbstractResponse.class.php" hash="36c199c005dfd92b6bfb7618fd0dce82"/><file name="AltapayCalculateSurchargeResponse.class.php" hash="f22251db3145e8d895af0ff993522ce6"/><file name="AltapayCaptureRecurringResponse.class.php" hash="559967cc555bf7e79ab2717a06fbefe4"/><file name="AltapayCaptureResponse.class.php" hash="8fd5d56c9df9e61233432fb79270d84a"/><file name="AltapayCreatePaymentRequestResponse.class.php" hash="1999636b78fc5988e1f899f7e1ef7eb5"/><file name="AltapayFundingListResponse.class.php" hash="e8994ffe5e039c273a649d8779256769"/><file name="AltapayGetPaymentResponse.class.php" hash="fb83e969b9dd1647cd4d2ac9e2de9644"/><file name="AltapayGetTerminalsResponse.class.php" hash="d6b471ef2579c791ce15ab99f426727c"/><file name="AltapayLoginResponse.class.php" hash="17a33bf9f1359f52441c24c86cc88471"/><file name="AltapayPreauthRecurringResponse.class.php" hash="9d4b71a0a26b398b4ef84e981afb0b30"/><file name="AltapayRefundResponse.class.php" hash="5a5275d4a4c8ea52a60e775a7b54158b"/><file name="AltapayReleaseResponse.class.php" hash="31c751505ce70222e394fb7f1c48e8f8"/><file name="AltapayReservationResponse.class.php" hash="e77596681b58a39949a4e23e0c5ff98b"/><file name="AltapayTerminal.class.php" hash="3e467641e1d612be5380ccb99c9a733d"/></dir></dir><file name="Constants.php" hash="40ae3d205720eef516acf29dd2c70791"/><dir name="Method"><file name="Abstract.php" hash="3aa4318568813009329a2c3627dbf161"/><file name="Gateway.php" hash="5b4d4b03a297674c79d6a2f35a63f983"/><file name="Moto.php" hash="b21e961bc6eeea479f1b6fd70597fa29"/><file name="Recurring.php" hash="f0107de1c333a264a55770e9265e1d59"/><file name="Token.php" hash="2abe1866f4d467176535591717964472"/></dir><file name="Observer.php" hash="79cff57b4406853f8054ba0bf8913462"/><dir name="Resource"><dir name="Subscription"><file name="Collection.php" hash="75569c1889f06201d07420f7fbb225a2"/></dir><file name="Subscription.php" hash="3122e10012cb8ff5697abe3f2445c27b"/><dir name="Token"><file name="Collection.php" hash="fb0bbaa1c5d4cf71c8f5099db31f0782"/></dir><file name="Token.php" hash="9e75ce9111f171e3841bb99df5928632"/></dir><dir name="Source"><file name="PaymentAction.php" hash="0ff49129bfdb9a74899e7603ba18e9b2"/><file name="Terminals.php" hash="73d01eb63dab4ea16c07a8e33904bc09"/></dir><file name="Subscription.php" hash="6c86a22de4c6dc6a53ba8ed5624a81ad"/><file name="Token.php" hash="4bb26c0862c5425075c180c82e56485d"/></dir><dir name="controllers"><file name="OnepageController.php" hash="d149e79a46748249125932d0c4f4f34e"/><file name="OnepageController.php.bak" hash="713236f1490d0aee69026a42f914263d"/><file name="TokenController.php" hash="c0f15cb458edcd4ec3c4dbc989cfdf99"/></dir><dir name="etc"><file name="adminhtml.xml" hash="38829e4c43a434d811f52315e0127af7"/><file name="config.xml" hash="b1de4e97b822f411159786f6e6fdf96e"/><file name="system.xml" hash="dccf8992ce4e6e12b5716151f9cc8bc5"/></dir><dir name="sql"><dir name="altapaypayment_setup"><file name="install-1.0.0.php" hash="45d8306bc7d51feff9a795d5107b02dc"/><file name="upgrade-1.0.0-1.0.1.php" hash="492b11587e232b46030e1c7702e1ea01"/></dir></dir></dir><dir name="PaymentExtraGateways"><dir name="Block"><dir name="Form"><file name="Gateway2.php" hash="37ade71ea30349235e277f47e3ba3227"/><file name="Gateway3.php" hash="c4c452e19a540c5d77cb0d73dfe1b4bb"/><file name="Gateway4.php" hash="0823082e059f59bbe5d9f2b2e7ec3ef3"/><file name="Gateway5.php" hash="e2dddc767418b4fdbbbe6d8377b90c72"/></dir><dir name="Info"><file name="Gateway2.php" hash="b6a6e2f5a4ff01121c4fedc20bd73f14"/><file name="Gateway3.php" hash="cbe7ea00eef6ada31e0f780f79322337"/><file name="Gateway4.php" hash="6290ae35d42980078044c2c5d46e7ad7"/><file name="Gateway5.php" hash="a081d9725ea572ae4b8728f55c2aa04c"/></dir></dir><dir name="Helper"><file name="Data.php" hash="a5528a3ae5cbad0250f09be2daa31ca0"/></dir><dir name="Model"><file name="Constants.php" hash="79d7bddf1954eb9dfcbe9067931c2076"/><dir name="Method"><file name="Gateway2.php" hash="cb8150a30ebc0da765be8c242c2d258c"/><file name="Gateway3.php" hash="b0ecd8a250613fac0fbc0e961c9f106b"/><file name="Gateway4.php" hash="fed39f65a425c3143ca3dcd4d60de475"/><file name="Gateway5.php" hash="2504fb66cb830c7711188975badd0ccf"/></dir></dir><dir name="etc"><file name="config.xml" hash="b210e030a38040288f52b92b81e45f5d"/><file name="system.xml" hash="76419dad9a7da5622a9a013bb142c2a1"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="altapay.xml" hash="4155d8d8f691f56322231374573a4ff7"/></dir><dir name="template"><dir name="altapay"><dir name="payment"><dir name="form"><file name="moto.phtml" hash="4ff0daaa4221e2f2457e9a8353de6626"/></dir><dir name="info"><file name="gateway.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="moto.phtml" hash="f327b26f0e978536f5d28271513a3efa"/><file name="recurring.phtml" hash="3fe4c5e2c9bd278f28ada23823c7a13a"/></dir></dir></dir><dir name="altapaypaymentextragateways"><dir name="info"><file name="gateway2.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="gateway3.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="gateway4.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="gateway5.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/></dir><dir name="pdf"><file name="gateway2.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="gateway3.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="gateway4.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="gateway5.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="altapay.xml" hash="2415a8d0dd5a90f436f9723ed383d06c"/></dir><dir name="template"><dir name="altapay"><dir name="checkout"><file name="default_styling.css" hash="ecdee520dfae2bb7330f68c509f5acdb"/><file name="default_styling_nojs.css" hash="d4bc0421cce0fffa9708cd048db2e891"/><file name="failed.phtml" hash="6126855f97a7efc4defbd8c3ed051799"/><file name="form.phtml" hash="a2fe2963491a9742b40f50d7fc35d0c7"/><file name="magento_styling.css" hash="cb7bc729a64a7efd29bfa19a06d02bf3"/><file name="magento_styling_nojs.css" hash="e9fcb8f00e73fc5bee029298fa61fc0c"/><dir name="onepage"><file name="progress.phtml" hash="c1dd84dcf00cd10330d492767684dce1"/><dir name="success"><file name="token.phtml" hash="8743dbdeb2de8d63fc712af2b040773b"/></dir></dir><file name="success_redirect.phtml" hash="9616c7799e8c3cde544ae9522832cd12"/></dir><dir name="customer"><dir name="account"><dir name="token"><file name="view.phtml" hash="c23e1b9d6eef7706851079ce35d73029"/></dir></dir></dir><dir name="payment"><dir name="form"><file name="gateway.phtml" hash="24f8298198c9dbe7a1157a3af3bf905d"/><file name="recurring.phtml" hash="43ff5ed38cf301bfb2898d7df4647570"/><file name="token.phtml" hash="f3b1bf30a6587c5927cc1736c4de1605"/></dir><dir name="info"><file name="gateway.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="recurring.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="token.phtml" hash="1cd140b78afaddd992ee990482fbf229"/></dir></dir></dir><dir name="altapaypaymentextragateways"><dir name="form"><file name="gateway2.phtml" hash="24f8298198c9dbe7a1157a3af3bf905d"/><file name="gateway3.phtml" hash="24f8298198c9dbe7a1157a3af3bf905d"/><file name="gateway4.phtml" hash="24f8298198c9dbe7a1157a3af3bf905d"/><file name="gateway5.phtml" hash="24f8298198c9dbe7a1157a3af3bf905d"/></dir><dir name="info"><file name="gateway2.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="gateway3.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="gateway4.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="gateway5.phtml" hash="1cd140b78afaddd992ee990482fbf229"/></dir><dir name="pdf"><file name="gateway2.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="gateway3.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="gateway4.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="gateway5.phtml" hash="1cd140b78afaddd992ee990482fbf229"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_GB"><file name="Altapay_Payment.csv" hash="2a097614d7a9414f5a06b082814b38a2"/></dir><dir name="en_US"><file name="Altapay_Payment.csv" hash="2a097614d7a9414f5a06b082814b38a2"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><file name="altapay.css" hash="4c522d61f889ff448bd45d1bbcf35a0e"/><dir name="images"><file name="altapay.png" hash="b10208d0a82dd80562eb03e7508e97b4"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="altapay"><dir name="css"><file name="altapay.css" hash="aa3ded5e41e19abc114b39c5c7bcbdcc"/></dir><dir name="images"><file name="ajax-loader.gif" hash="2ef5e9c1839462b187c93535a1670b92"/><file name="error.png" hash="1e1534f925cb26b45ad30536f1bc1896"/><file name="success.png" hash="5ea5d6dac9344616dd7de4b8c2695937"/></dir><dir name="js"><file name="altapay.js" hash="59bd1ba2566fec5ba134340d8a750eb7"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Altapay_Payment.xml" hash="a0ccc3aba96392eaf0703e2a7616df32"/></dir></target></contents>
18
  <compatible/>
19
- <dependencies><required><php><min>5.4.45</min><max>7.0.10</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>AltaPay_for_Magento1</name>
4
+ <version>1.2.3</version>
5
  <stability>stable</stability>
6
  <license>The MIT License (MIT)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Plugin that integrates Magento to the AltaPay payment gateway.</summary>
10
  <description>AltaPay has made it much easier for you as merchant/developer to receive secure payments in your Magento web shop. AltaPay is fully integrated with Magento via a plug-in.</description>
11
+ <notes>Bug correction for the Authorize and Capture function. PHP max version changed to 7.0.15</notes>
 
 
12
  <authors><author><name>AltaPay Integration Team</name><user>altapay_int</user><email>integration@altapay.com</email></author></authors>
13
+ <date>2017-06-26</date>
14
+ <time>13:35:39</time>
15
+ <contents><target name="magecommunity"><dir name="Altapay"><dir name="Payment"><dir name="Block"><dir name="Customer"><dir name="Account"><file name="Token.php" hash="62e630661f5a28a033773f30041667a2"/></dir></dir><dir name="Form"><file name="Gateway.php" hash="10963a08e6553eafb6c13b3211d1873a"/><file name="Moto.php" hash="c722348e5e2f3b17ea3b06402bfba4f9"/><file name="Recurring.php" hash="2cac58ab0231f7071479fe0770c5b2fe"/><file name="Token.php" hash="77763cc1be021e04d46f3d8754e7077a"/></dir><dir name="Info"><file name="Gateway.php" hash="b3a133fb41b393da80658a35417967b1"/><file name="Moto.php" hash="86b593e08d0ab00f86e7c41ef711d8a2"/><file name="Recurring.php" hash="0c4da217141f7ba8aecd8fe564e344ce"/><file name="Token.php" hash="2ce16d8a5c01b193092611ff6c9fc8a8"/></dir><dir name="Onepage"><file name="Failed.php" hash="445738a686c709fd59343aff587c73f4"/><file name="Form.php" hash="b23ad18f71e2ace2e6a44320d747b7a1"/><dir name="Success"><file name="Token.php" hash="6aa5da3158d6ec668e0d001254b4d99d"/></dir><file name="Success.php" hash="2564809634dc37e16ceb81ef9b86d34b"/></dir><file name="Onepage.php" hash="ad81e2d0e68761f9a8c9b0237a3c36ff"/></dir><dir name="Helper"><file name="CurrencyMapper.php" hash="03088924615092d202ec3dfe3c2ad9a3"/><file name="Data.php" hash="f5350cf643355583e62bf97f066582c9"/><file name="Logger.php" hash="9e2ab6436a5e22af40ae39108d9d4ea5"/><file name="Utilities.php" hash="3c55a010f3b4705b3cd168257f43dfea"/></dir><dir name="Model"><file name="Altapay.php" hash="ab551084b21dd8a075a35661818679f5"/><dir name="Api"><file name="ALTAPAY_VERSION.php" hash="e11d3b792d86706ca9bec017bfec74e3"/><file name="AltapayCallbackHandler.class.php" hash="964370c9295b1823fa65b2760d1b8d28"/><file name="AltapayMerchantAPI.class.php" hash="429831af898d1b7b83dda0b93aef9022"/><file name="IAltapayCommunicationLogger.class.php" hash="99b8f25360bbbd29e50ea829d3bfe5b7"/><dir name="exceptions"><file name="AltapayConnectionFailedException.class.php" hash="652416bff05f7534c9d723c0f6108dc6"/><file name="AltapayInvalidResponseException.class.php" hash="ddbf173a9f40444c20e90a3a27b9519c"/><file name="AltapayMerchantAPIException.class.php" hash="50237012813c5525df1aabfe35ebaf31"/><file name="AltapayRequestTimeoutException.class.php" hash="dd37a9977e4485f6512a583accc98ef6"/><file name="AltapayUnauthorizedAccessException.class.php" hash="b52faff4abd48c75ab483d100e87cb36"/><file name="AltapayUnknownMerchantAPIException.class.php" hash="1e19cd3c3bbec2224eb4e4f221caf7ff"/><file name="AltapayXmlException.class.php" hash="19a435d6c5ae0d6c37cda11e1e18e09b"/></dir><dir name="http"><file name="AltapayCurlBasedHttpUtils.class.php" hash="cb47ed7599fc36cf6da0dcd8ec5e9d5e"/><file name="AltapayFOpenBasedHttpUtils.class.php" hash="596956789903c8b201c4c8a645264666"/><file name="AltapayHttpRequest.class.php" hash="97955f33a1b127e892264ed0dd8c84a6"/><file name="AltapayHttpResponse.class.php" hash="de62a9d507ae836bdd8e7773194ffd47"/><file name="IAltapayHttpUtils.class.php" hash="63007aaa93e155019ef670a77ef4541b"/></dir><dir name="request"><file name="AltapayAPITransactionsRequest.class.php" hash="c723def7d72c961fa2b5213396126733"/></dir><dir name="response"><file name="AltapayAPIAddress.class.php" hash="f9f2f225ca4b2e5155e57bd112cb047e"/><file name="AltapayAPIChargebackEvent.class.php" hash="bcb0b4430aa943c7389edde862364af7"/><file name="AltapayAPIChargebackEvents.class.php" hash="0ab35b4c56f9f5a79eb028ed6e5c2a53"/><file name="AltapayAPICountryOfOrigin.class.php" hash="c24653e0dee13c3229a778c4bbc26b13"/><file name="AltapayAPICustomerInfo.class.php" hash="4be6bf4e24d749979edd95556dc55ec1"/><file name="AltapayAPIFunding.class.php" hash="71fdfbe0113702bf9292224d10e1b845"/><file name="AltapayAPIPayment.class.php" hash="2292b4c8715d5a7bdba8e5f4af5943bc"/><file name="AltapayAPIPaymentInfos.class.php" hash="926b2335da38c6e8209b450659e3a32b"/><file name="AltapayAPIPaymentNatureService.class.php" hash="ff99401cf50429dcd2845a77673882c8"/><file name="AltapayAPIReconciliationIdentifier.class.php" hash="0b75f7ba353d304e021612043f64471b"/><file name="AltapayAbstractPaymentResponse.class.php" hash="8b8920f3f331d81eff7109d4c9bbd1f6"/><file name="AltapayAbstractResponse.class.php" hash="36c199c005dfd92b6bfb7618fd0dce82"/><file name="AltapayCalculateSurchargeResponse.class.php" hash="f22251db3145e8d895af0ff993522ce6"/><file name="AltapayCaptureRecurringResponse.class.php" hash="559967cc555bf7e79ab2717a06fbefe4"/><file name="AltapayCaptureResponse.class.php" hash="8fd5d56c9df9e61233432fb79270d84a"/><file name="AltapayCreatePaymentRequestResponse.class.php" hash="1999636b78fc5988e1f899f7e1ef7eb5"/><file name="AltapayFundingListResponse.class.php" hash="e8994ffe5e039c273a649d8779256769"/><file name="AltapayGetPaymentResponse.class.php" hash="fb83e969b9dd1647cd4d2ac9e2de9644"/><file name="AltapayGetTerminalsResponse.class.php" hash="d6b471ef2579c791ce15ab99f426727c"/><file name="AltapayLoginResponse.class.php" hash="17a33bf9f1359f52441c24c86cc88471"/><file name="AltapayPreauthRecurringResponse.class.php" hash="9d4b71a0a26b398b4ef84e981afb0b30"/><file name="AltapayRefundResponse.class.php" hash="5a5275d4a4c8ea52a60e775a7b54158b"/><file name="AltapayReleaseResponse.class.php" hash="31c751505ce70222e394fb7f1c48e8f8"/><file name="AltapayReservationResponse.class.php" hash="e77596681b58a39949a4e23e0c5ff98b"/><file name="AltapayTerminal.class.php" hash="3e467641e1d612be5380ccb99c9a733d"/></dir></dir><file name="Constants.php" hash="40ae3d205720eef516acf29dd2c70791"/><dir name="Method"><file name="Abstract.php" hash="96cf860cfe63a073e6660b8a71313193"/><file name="Gateway.php" hash="513e22fe413811d275daa8ee7ce05b12"/><file name="Moto.php" hash="b21e961bc6eeea479f1b6fd70597fa29"/><file name="Recurring.php" hash="f0107de1c333a264a55770e9265e1d59"/><file name="Token.php" hash="2abe1866f4d467176535591717964472"/></dir><file name="Observer.php" hash="79cff57b4406853f8054ba0bf8913462"/><dir name="Resource"><dir name="Subscription"><file name="Collection.php" hash="75569c1889f06201d07420f7fbb225a2"/></dir><file name="Subscription.php" hash="3122e10012cb8ff5697abe3f2445c27b"/><dir name="Token"><file name="Collection.php" hash="fb0bbaa1c5d4cf71c8f5099db31f0782"/></dir><file name="Token.php" hash="9e75ce9111f171e3841bb99df5928632"/></dir><dir name="Source"><file name="PaymentAction.php" hash="0ff49129bfdb9a74899e7603ba18e9b2"/><file name="Terminals.php" hash="73d01eb63dab4ea16c07a8e33904bc09"/></dir><file name="Subscription.php" hash="6c86a22de4c6dc6a53ba8ed5624a81ad"/><file name="Token.php" hash="4bb26c0862c5425075c180c82e56485d"/></dir><dir name="controllers"><file name="OnepageController.php" hash="2ee43ebb549f06a804854f553945edfa"/><file name="OnepageController.php.bak" hash="713236f1490d0aee69026a42f914263d"/><file name="TokenController.php" hash="c0f15cb458edcd4ec3c4dbc989cfdf99"/></dir><dir name="etc"><file name="adminhtml.xml" hash="38829e4c43a434d811f52315e0127af7"/><file name="config.xml" hash="55b7e73939eec0736d8356f43aa6d95f"/><file name="config.xml.bak" hash="b1de4e97b822f411159786f6e6fdf96e"/><file name="system.xml" hash="dccf8992ce4e6e12b5716151f9cc8bc5"/></dir><dir name="sql"><dir name="altapaypayment_setup"><file name="install-1.0.0.php" hash="45d8306bc7d51feff9a795d5107b02dc"/><file name="upgrade-1.0.0-1.0.1.php" hash="492b11587e232b46030e1c7702e1ea01"/></dir></dir></dir><dir name="PaymentExtraGateways"><dir name="Block"><dir name="Form"><file name="Gateway2.php" hash="37ade71ea30349235e277f47e3ba3227"/><file name="Gateway3.php" hash="c4c452e19a540c5d77cb0d73dfe1b4bb"/><file name="Gateway4.php" hash="0823082e059f59bbe5d9f2b2e7ec3ef3"/><file name="Gateway5.php" hash="e2dddc767418b4fdbbbe6d8377b90c72"/></dir><dir name="Info"><file name="Gateway2.php" hash="b6a6e2f5a4ff01121c4fedc20bd73f14"/><file name="Gateway3.php" hash="cbe7ea00eef6ada31e0f780f79322337"/><file name="Gateway4.php" hash="6290ae35d42980078044c2c5d46e7ad7"/><file name="Gateway5.php" hash="a081d9725ea572ae4b8728f55c2aa04c"/></dir></dir><dir name="Helper"><file name="Data.php" hash="a5528a3ae5cbad0250f09be2daa31ca0"/></dir><dir name="Model"><file name="Constants.php" hash="79d7bddf1954eb9dfcbe9067931c2076"/><dir name="Method"><file name="Gateway2.php" hash="cb8150a30ebc0da765be8c242c2d258c"/><file name="Gateway3.php" hash="b0ecd8a250613fac0fbc0e961c9f106b"/><file name="Gateway4.php" hash="fed39f65a425c3143ca3dcd4d60de475"/><file name="Gateway5.php" hash="2504fb66cb830c7711188975badd0ccf"/></dir></dir><dir name="etc"><file name="config.xml" hash="b210e030a38040288f52b92b81e45f5d"/><file name="system.xml" hash="76419dad9a7da5622a9a013bb142c2a1"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="altapay.xml" hash="4155d8d8f691f56322231374573a4ff7"/></dir><dir name="template"><dir name="altapay"><dir name="payment"><dir name="form"><file name="moto.phtml" hash="4ff0daaa4221e2f2457e9a8353de6626"/></dir><dir name="info"><file name="gateway.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="moto.phtml" hash="f327b26f0e978536f5d28271513a3efa"/><file name="recurring.phtml" hash="3fe4c5e2c9bd278f28ada23823c7a13a"/></dir></dir></dir><dir name="altapaypaymentextragateways"><dir name="info"><file name="gateway2.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="gateway3.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="gateway4.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="gateway5.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/></dir><dir name="pdf"><file name="gateway2.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="gateway3.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="gateway4.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/><file name="gateway5.phtml" hash="35c1107df98fcc3fa5038913e83e676a"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="altapay.xml" hash="dc807d4620cf6ea464b317325c29ee19"/></dir><dir name="template"><dir name="altapay"><dir name="checkout"><file name="default_styling.css" hash="ecdee520dfae2bb7330f68c509f5acdb"/><file name="default_styling_nojs.css" hash="d4bc0421cce0fffa9708cd048db2e891"/><file name="failed.phtml" hash="6126855f97a7efc4defbd8c3ed051799"/><file name="form.phtml" hash="a2fe2963491a9742b40f50d7fc35d0c7"/><file name="info_title.phtml" hash="3f62637f7cc99a1e25279ed804d2c02e"/><file name="magento_styling.css" hash="d7a9571106e240838307f3f125053158"/><file name="magento_styling_nojs.css" hash="e9fcb8f00e73fc5bee029298fa61fc0c"/><dir name="onepage"><file name="progress.phtml" hash="c1dd84dcf00cd10330d492767684dce1"/><dir name="success"><file name="token.phtml" hash="8743dbdeb2de8d63fc712af2b040773b"/></dir></dir><file name="success_redirect.phtml" hash="9616c7799e8c3cde544ae9522832cd12"/></dir><dir name="customer"><dir name="account"><dir name="token"><file name="view.phtml" hash="c23e1b9d6eef7706851079ce35d73029"/></dir></dir></dir><dir name="payment"><dir name="form"><file name="gateway.phtml" hash="24f8298198c9dbe7a1157a3af3bf905d"/><file name="recurring.phtml" hash="43ff5ed38cf301bfb2898d7df4647570"/><file name="token.phtml" hash="f3b1bf30a6587c5927cc1736c4de1605"/></dir><dir name="info"><file name="gateway.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="recurring.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="token.phtml" hash="1cd140b78afaddd992ee990482fbf229"/></dir></dir></dir><dir name="altapaypaymentextragateways"><dir name="form"><file name="gateway2.phtml" hash="24f8298198c9dbe7a1157a3af3bf905d"/><file name="gateway3.phtml" hash="24f8298198c9dbe7a1157a3af3bf905d"/><file name="gateway4.phtml" hash="24f8298198c9dbe7a1157a3af3bf905d"/><file name="gateway5.phtml" hash="24f8298198c9dbe7a1157a3af3bf905d"/></dir><dir name="info"><file name="gateway2.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="gateway3.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="gateway4.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="gateway5.phtml" hash="1cd140b78afaddd992ee990482fbf229"/></dir><dir name="pdf"><file name="gateway2.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="gateway3.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="gateway4.phtml" hash="1cd140b78afaddd992ee990482fbf229"/><file name="gateway5.phtml" hash="1cd140b78afaddd992ee990482fbf229"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_GB"><file name="Altapay_Payment.csv" hash="2a097614d7a9414f5a06b082814b38a2"/></dir><dir name="en_US"><file name="Altapay_Payment.csv" hash="2a097614d7a9414f5a06b082814b38a2"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><file name="altapay.css" hash="4c522d61f889ff448bd45d1bbcf35a0e"/><dir name="images"><file name="altapay.png" hash="b10208d0a82dd80562eb03e7508e97b4"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="altapay"><dir name="css"><file name="altapay.css" hash="aa3ded5e41e19abc114b39c5c7bcbdcc"/></dir><dir name="images"><file name="ajax-loader.gif" hash="2ef5e9c1839462b187c93535a1670b92"/><file name="error.png" hash="1e1534f925cb26b45ad30536f1bc1896"/><file name="success.png" hash="5ea5d6dac9344616dd7de4b8c2695937"/></dir><dir name="js"><file name="altapay.js" hash="59bd1ba2566fec5ba134340d8a750eb7"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Altapay_Payment.xml" hash="a0ccc3aba96392eaf0703e2a7616df32"/></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.4.45</min><max>7.0.15</max></php></required></dependencies>
18
  </package>