Omise_Gateway - Version 1.9.0.5

Version Notes

- Fixed Check authorized and captured status before continue the charge action.

- Fixed Disable submit button action when user clicks submit.

- Updated Extends Mage_Payment_Model_Method_Abstract class instead of Mage_Payment_Model_Method_Cc in the payment method class.

Download this release

Release Info

Developer Omise
Extension Omise_Gateway
Version 1.9.0.5
Comparing to
See all releases


Code changes from version 1.9.0.3 to 1.9.0.5

app/code/community/Omise/Gateway/Model/Omise.php CHANGED
@@ -1,4 +1,12 @@
1
  <?php
 
 
 
 
 
 
 
 
2
  class Omise_Gateway_Model_Omise extends Mage_Core_Model_Abstract
3
  {
4
  /**
1
  <?php
2
+ // Define 'OMISE_USER_AGENT_SUFFIX'
3
+ if(!defined('OMISE_USER_AGENT_SUFFIX'))
4
+ define('OMISE_USER_AGENT_SUFFIX', 'OmiseMagento/1.9.0.5 Magento/'.Mage::getVersion());
5
+
6
+ // Define 'OMISE_API_VERSION'
7
+ if(!defined('OMISE_API_VERSION'))
8
+ define('OMISE_API_VERSION', '2014-07-27');
9
+
10
  class Omise_Gateway_Model_Omise extends Mage_Core_Model_Abstract
11
  {
12
  /**
app/code/community/Omise/Gateway/Model/PaymentMethod.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- class Omise_Gateway_Model_PaymentMethod extends Mage_Payment_Model_Method_Cc
3
  {
4
  /** @var string */
5
  protected $_code = 'omise_gateway';
@@ -40,6 +40,9 @@ class Omise_Gateway_Model_PaymentMethod extends Mage_Payment_Model_Method_Cc
40
  if (isset($charge['error']))
41
  Mage::throwException(Mage::helper('payment')->__('OmiseCharge:: '.$charge['error']));
42
 
 
 
 
43
  $this->getInfoInstance()->setAdditionalInformation('omise_charge_id', $charge['id']);
44
 
45
  Mage::log('This transaction was authorized! (by OmiseCharge API)');
@@ -54,7 +57,8 @@ class Omise_Gateway_Model_PaymentMethod extends Mage_Payment_Model_Method_Cc
54
  */
55
  public function capture(Varien_Object $payment, $amount)
56
  {
57
- $authorized = isset($payment->getData('additional_information')['omise_charge_id']) ? $payment->getData('additional_information')['omise_charge_id'] : false;
 
58
  if ($authorized) {
59
  // Capture only.
60
  Mage::log('Start capture with OmiseCharge API!');
@@ -76,6 +80,9 @@ class Omise_Gateway_Model_PaymentMethod extends Mage_Payment_Model_Method_Cc
76
  if (isset($charge['error']))
77
  Mage::throwException(Mage::helper('payment')->__('OmiseCharge:: '.$charge['error']));
78
 
 
 
 
79
  Mage::log('This transaction was authorized and captured! (by OmiseCharge API)');
80
  return $this;
81
  }
1
  <?php
2
+ class Omise_Gateway_Model_PaymentMethod extends Mage_Payment_Model_Method_Abstract
3
  {
4
  /** @var string */
5
  protected $_code = 'omise_gateway';
40
  if (isset($charge['error']))
41
  Mage::throwException(Mage::helper('payment')->__('OmiseCharge:: '.$charge['error']));
42
 
43
+ if (!$charge['authorized'])
44
+ Mage::throwException(Mage::helper('payment')->__('Your authorize failed:: ('.$charge['failure_code'].') - '.$charge['failure_code']));
45
+
46
  $this->getInfoInstance()->setAdditionalInformation('omise_charge_id', $charge['id']);
47
 
48
  Mage::log('This transaction was authorized! (by OmiseCharge API)');
57
  */
58
  public function capture(Varien_Object $payment, $amount)
59
  {
60
+ $additional_information = $payment->getData('additional_information');
61
+ $authorized = isset($additional_information['omise_charge_id']) ? $additional_information['omise_charge_id'] : false;
62
  if ($authorized) {
63
  // Capture only.
64
  Mage::log('Start capture with OmiseCharge API!');
80
  if (isset($charge['error']))
81
  Mage::throwException(Mage::helper('payment')->__('OmiseCharge:: '.$charge['error']));
82
 
83
+ if (!$charge['authorized'] || !$charge['captured'])
84
+ Mage::throwException(Mage::helper('payment')->__('Your payment failed:: ('.$charge['failure_code'].') - '.$charge['failure_code']));
85
+
86
  Mage::log('This transaction was authorized and captured! (by OmiseCharge API)');
87
  return $this;
88
  }
app/code/community/Omise/Gateway/etc/config.xml CHANGED
@@ -14,7 +14,7 @@
14
  -->
15
  <modules>
16
  <Omise_Gateway>
17
- <version>1.9.0.3</version>
18
  </Omise_Gateway>
19
  </modules>
20
 
14
  -->
15
  <modules>
16
  <Omise_Gateway>
17
+ <version>1.9.0.5</version>
18
  </Omise_Gateway>
19
  </modules>
20
 
app/design/frontend/base/default/template/payment/form/omisecc.phtml CHANGED
@@ -20,6 +20,8 @@
20
  formValidation = form.find('.omise-validation-advice'),
21
  formValidationMsg = formValidation.find('.validation-advice');
22
 
 
 
23
  // Serialize the form fields into a valid card object.
24
  var card = {
25
  "name": form.find("[data-omise=holder_name]").val(),
@@ -41,11 +43,21 @@
41
  // Display an error message - "Omise Response: "+response.message.
42
  formValidation.css({'opacity': 1, 'display': 'block'});
43
  formValidationMsg.html("Omise Response: "+response.message);
 
 
44
  } else if (typeof response.card != 'undefined' && !response.card.security_code_check) {
45
  // Display an error message - "Omise Response: Card authorization failure.".
46
  formValidation.css({'opacity': 1, 'display': 'block'});
47
  formValidationMsg.html("Omise Response: Card authorization failure.");
 
 
48
  } else {
 
 
 
 
 
 
49
  form.find("[data-omise=omise_token]").val(response.id);
50
 
51
  return superMethod();
@@ -120,7 +132,7 @@
120
  <li>
121
  <label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
122
  <div class="input-box">
123
- <input type="text" data-omise="number" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
124
  </div>
125
  </li>
126
 
@@ -154,7 +166,7 @@
154
  <label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
155
  <div class="input-box">
156
  <div class="v-fix">
157
- <input data-omise="security_code" type="password" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
158
  </div>
159
  <a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
160
  </div>
20
  formValidation = form.find('.omise-validation-advice'),
21
  formValidationMsg = formValidation.find('.validation-advice');
22
 
23
+ jQuery("#payment-buttons-container").find("button").prop("disabled", true);
24
+
25
  // Serialize the form fields into a valid card object.
26
  var card = {
27
  "name": form.find("[data-omise=holder_name]").val(),
43
  // Display an error message - "Omise Response: "+response.message.
44
  formValidation.css({'opacity': 1, 'display': 'block'});
45
  formValidationMsg.html("Omise Response: "+response.message);
46
+
47
+ jQuery("#payment-buttons-container").find("button").prop("disabled", false);
48
  } else if (typeof response.card != 'undefined' && !response.card.security_code_check) {
49
  // Display an error message - "Omise Response: Card authorization failure.".
50
  formValidation.css({'opacity': 1, 'display': 'block'});
51
  formValidationMsg.html("Omise Response: Card authorization failure.");
52
+
53
+ jQuery("#payment-buttons-container").find("button").prop("disabled", false);
54
  } else {
55
+ form.find("[data-omise=holder_name]").prop("disabled", true);
56
+ form.find("[data-omise=number]").prop("disabled", true);
57
+ form.find("[data-omise=expiration_month]").prop("disabled", true);
58
+ form.find("[data-omise=expiration_year]").prop("disabled", true);
59
+ form.find("[data-omise=security_code]").prop("disabled", true);
60
+
61
  form.find("[data-omise=omise_token]").val(response.id);
62
 
63
  return superMethod();
132
  <li>
133
  <label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
134
  <div class="input-box">
135
+ <input autocomplete="off" type="text" data-omise="number" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
136
  </div>
137
  </li>
138
 
166
  <label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
167
  <div class="input-box">
168
  <div class="v-fix">
169
+ <input autocomplete="off" data-omise="security_code" type="password" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
170
  </div>
171
  <a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
172
  </div>
lib/omise-php/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
  # Change Log
2
 
3
- An [unreleased] version is not available on `master` branch. Elements of unreleased list may be edited or removed at any time.
 
 
 
 
 
4
 
5
  ## [2.3.1] 2015-07-29
6
  - [Added] New DigiCert CA certificates.
1
  # Change Log
2
 
3
+ ## [2.4.0] 2015-11-13
4
+ - [Added] Add Omise-Version header to request.
5
+ - [Added] Add `OMISE_USER_AGENT_SUFFIX` constant that let's people add the suffix into the `user-agent` string.
6
+
7
+ ## [2.3.2] 2015-09-30
8
+ - [Fixed] Pass key values into the OmiseRefundList object when call a refunds() method inside the OmiseCharge instance.
9
 
10
  ## [2.3.1] 2015-07-29
11
  - [Added] New DigiCert CA certificates.
lib/omise-php/README.md CHANGED
@@ -56,6 +56,24 @@ require_once dirname(__FILE__).'/omise-php/lib/Omise.php';
56
 
57
  Please see usage section below for usage examples.
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  ## Usage
60
 
61
  ### 1. Flow
56
 
57
  Please see usage section below for usage examples.
58
 
59
+ ### API version
60
+
61
+ You can choose which API version to use with Omise. Each API version has new features and might not be compatible with previous versions. You can change the default version by visiting your Omise Dashboard.
62
+
63
+ To overwrite the API version to use, you can specify it by defining OMISE_API_VERSION.
64
+ The version configured here will have higher priority than the version set in your Omise account.
65
+ This is useful if you have multiple environments with different API versions for testing.
66
+ (e.g. Development on the latest version but production is on an older version).
67
+
68
+ ```php
69
+ require_once dirname(__FILE__).'/omise-php/lib/Omise.php';
70
+
71
+ define('OMISE_API_VERSION', '2014-07-27');
72
+ ```
73
+
74
+ It is highly recommended to set this version to the current version
75
+ you're using.
76
+
77
  ## Usage
78
 
79
  ### 1. Flow
lib/omise-php/lib/omise/OmiseCharge.php CHANGED
@@ -65,7 +65,7 @@ class OmiseCharge extends OmiseApiResource {
65
  */
66
  public function refunds() {
67
  $result = parent::execute(self::getUrl($this['id']).'/refunds', parent::REQUEST_GET, parent::getResourceKey());
68
- return new OmiseRefundList($result, $this['id']);
69
  }
70
 
71
  /**
65
  */
66
  public function refunds() {
67
  $result = parent::execute(self::getUrl($this['id']).'/refunds', parent::REQUEST_GET, parent::getResourceKey());
68
+ return new OmiseRefundList($result, $this['id'], $this->_publickey, $this->_secretkey);
69
  }
70
 
71
  /**
lib/omise-php/lib/omise/res/OmiseApiResource.php CHANGED
@@ -3,8 +3,7 @@
3
  require_once dirname(__FILE__).'/obj/OmiseObject.php';
4
  require_once dirname(__FILE__).'/../exception/OmiseExceptions.php';
5
 
6
- define('OMISE_PHP_LIB_VERSION', '2.3.1');
7
- define('OMISE_API_VERSION', '2014-07-27');
8
  define('OMISE_API_URL', 'https://api.omise.co/');
9
  define('OMISE_VAULT_URL', 'https://vault.omise.co/');
10
 
@@ -208,13 +207,14 @@ class OmiseApiResource extends OmiseObject {
208
  * @return array
209
  */
210
  private function genOptions($requestMethod, $userpwd, $params) {
 
 
 
211
  $options = array(
212
  // Set the HTTP version to 1.1.
213
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
214
  // Set the request method.
215
  CURLOPT_CUSTOMREQUEST => $requestMethod,
216
- // Set the user agent.
217
- CURLOPT_USERAGENT => "OmiseMagento/1.9.0.3 OmisePHP/".OMISE_PHP_LIB_VERSION." OmiseAPI/".OMISE_API_VERSION,
218
  // Make php-curl returns the data as string.
219
  CURLOPT_RETURNTRANSFER => true,
220
  // Do not include the header in the output.
@@ -234,6 +234,19 @@ class OmiseApiResource extends OmiseObject {
234
  CURLOPT_CAINFO => dirname(__FILE__).'/../../../data/ca_certificates.pem'
235
  );
236
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
  // Also merge POST parameters with the option.
238
  if(count($params) > 0) $options += array(CURLOPT_POSTFIELDS => http_build_query($params));
239
 
3
  require_once dirname(__FILE__).'/obj/OmiseObject.php';
4
  require_once dirname(__FILE__).'/../exception/OmiseExceptions.php';
5
 
6
+ define('OMISE_PHP_LIB_VERSION', '2.4.0');
 
7
  define('OMISE_API_URL', 'https://api.omise.co/');
8
  define('OMISE_VAULT_URL', 'https://vault.omise.co/');
9
 
207
  * @return array
208
  */
209
  private function genOptions($requestMethod, $userpwd, $params) {
210
+ $user_agent = "OmisePHP/".OMISE_PHP_LIB_VERSION;
211
+ $omise_api_version = defined('OMISE_API_VERSION') ? OMISE_API_VERSION : null;
212
+
213
  $options = array(
214
  // Set the HTTP version to 1.1.
215
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
216
  // Set the request method.
217
  CURLOPT_CUSTOMREQUEST => $requestMethod,
 
 
218
  // Make php-curl returns the data as string.
219
  CURLOPT_RETURNTRANSFER => true,
220
  // Do not include the header in the output.
234
  CURLOPT_CAINFO => dirname(__FILE__).'/../../../data/ca_certificates.pem'
235
  );
236
 
237
+ // Config Omise API Version
238
+ if ($omise_api_version) {
239
+ $options += array(CURLOPT_HTTPHEADER => array("Omise-Version: ".$omise_api_version));
240
+
241
+ $user_agent .= ' OmiseAPI/'.$omise_api_version;
242
+ }
243
+
244
+ // Config UserAgent
245
+ if (defined('OMISE_USER_AGENT_SUFFIX'))
246
+ $options += array(CURLOPT_USERAGENT => $user_agent." ".OMISE_USER_AGENT_SUFFIX);
247
+ else
248
+ $options += array(CURLOPT_USERAGENT => $user_agent);
249
+
250
  // Also merge POST parameters with the option.
251
  if(count($params) > 0) $options += array(CURLOPT_POSTFIELDS => http_build_query($params));
252
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Omise_Gateway</name>
4
- <version>1.9.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
7
  <channel>community</channel>
@@ -16,13 +16,17 @@
16
  4. Show briefly Omise payment information&lt;br /&gt;&#xD;
17
  5. Integrate Omise refund with Magento refund system&lt;br /&gt;&#xD;
18
  7. Omise dashbord show the lastest transaction&lt;br /&gt;&#xD;
19
- 8. Allow sending transfer request from omise account to bank account &lt;br /&gt;&#xD;
20
- </description>
21
- <notes>First stable release</notes>
22
- <authors><author><name>jun hasegawa</name><user>omise</user><email>support@omise.co</email></author></authors>
23
- <date>2015-08-16</date>
24
- <time>23:34:38</time>
25
- <contents><target name="magecommunity"><dir name="Omise"><dir name="Gateway"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Edit"><file name="Form.php" hash="054202ddf6a68ca939a91e83f11c69a5"/></dir><file name="Edit.php" hash="2809bd01cafdae402b4e13cb4ad65634"/></dir><dir name="Dashboard"><file name="Dashboard.php" hash="3576b49045c637c0f5945f0c9efa8a77"/></dir></dir><dir name="Form"><file name="Cc.php" hash="732fc793c78406cae18607fcbfa853b6"/></dir></dir><dir name="Helper"><file name="Data.php" hash="452185cad964f13ea481c9d6bced22b1"/></dir><dir name="Model"><dir name="Config"><dir name="Var"><file name="Currency.php" hash="9f2f2e2e0a6e8afe4035cf86cc5df109"/><file name="Paymentaction.php" hash="a1337a3e869c8b563d434b1b691b5d53"/></dir></dir><file name="Config.php" hash="50be3ce038026a6554cf87af96ed3ab9"/><file name="Omise.php" hash="7af024aaba2401391faa497cf431d759"/><file name="OmiseAccount.php" hash="d4de8e3237a4b8c906035eb00d4ec591"/><file name="OmiseBalance.php" hash="b2f03f29d2682a1b8a01be8358f2a7fc"/><file name="OmiseCharge.php" hash="19c077d6ab0f58e4636318ef1e2ef581"/><file name="OmiseTransfer.php" hash="3e03c0b51419ffe73d29b16a1119afcb"/><file name="PaymentMethod.php" hash="9919753e7120830c8f37113a04de490f"/><dir name="Resource"><file name="Config.php" hash="4e7f6d668ef0e61b6b9dfb67ea943d3d"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="OmiseController.php" hash="d76592c3f3cb70c11317191aaecf9fca"/></dir></dir><dir name="data"><dir name="omise_gateway_setup"><file name="data-install-0.0.0.1.php" hash="28ffdd99157244db56f444ee2fd4fffb"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="6904e384ede6b5e4ba3203d748e9d802"/><file name="config.xml" hash="1aaefbae3c0f0ef3d8cf6e588747e6c0"/><file name="system.xml" hash="34cfa722e906fcfbbfeef5e45727da08"/></dir><dir name="sql"><dir name="omise_gateway_setup"><file name="install-0.0.0.1.php" hash="413280bc428e285a4ee29200668bcf96"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Omise_Gateway.xml" hash="6d354708ee537b9bd833e0916135e6bf"/></dir></target><target name="magelib"><dir name="omise-php"><file name="CHANGELOG.md" hash="2d56e7ccfa10165463ba149ec0b0387c"/><file name="LICENSE" hash="4b764c86995cbfed1e733d4e1b28edc1"/><file name="README.md" hash="1be568340e9132a38263a4063319f707"/><file name="circle.yml" hash="fd592afc9207e55436bc6a50d226f5cd"/><file name="composer.json" hash="bfbc905757e707cd906f500b8a75752f"/><file name="composer.lock" hash="d25cddda4be6bcba9456f234ae01e0fd"/><dir name="data"><file name="ca_certificates.pem" hash="e2c6e1ebee2ffc481d3be02aaf12c46c"/></dir><dir name="lib"><file name="Omise.php" hash="fcc47369f482d3b32bd8b5d180e51977"/><dir name="omise"><file name="OmiseAccount.php" hash="4ace83cd415ca6fd79f1bc6ab228edbc"/><file name="OmiseBalance.php" hash="f3e3ebdd3e44d62bc5495c445663b3e3"/><file name="OmiseCard.php" hash="51978bfca8b983ca9acfe474007779c2"/><file name="OmiseCardList.php" hash="8b6aefa9cc128af0763e83852614f3a2"/><file name="OmiseCharge.php" hash="3056ab4ab8e8f13e990e962a3b567826"/><file name="OmiseCustomer.php" hash="f824255b8bd48b17432428f5166d6f86"/><file name="OmiseDispute.php" hash="64e936274241550cb95c0ee3011856ab"/><file name="OmiseRecipient.php" hash="60240921485d59071ac3da516b698bef"/><file name="OmiseRefund.php" hash="c117d970052cd477c50f12b0c655c489"/><file name="OmiseRefundList.php" hash="6e5fcb11b14b95d7af3dfeaf84a7faa4"/><file name="OmiseTest.php" hash="13446fbdd16b279a72b00c54504a8737"/><file name="OmiseToken.php" hash="1f3afeff7989118be61676c42e71a7a9"/><file name="OmiseTransaction.php" hash="4c2667aa507feba21c4a2411127e5ff7"/><file name="OmiseTransfer.php" hash="c1cf4132509c35fe043ca09183a91781"/><dir name="exception"><file name="OmiseExceptions.php" hash="88cc98f46392a3803e0cb3d36ef3fd58"/></dir><dir name="res"><file name="OmiseApiResource.php" hash="170c055559242db6a8d680687d245de3"/><file name="OmiseVaultResource.php" hash="c581b12a6ee35ce3d296377b654534d8"/><dir name="obj"><file name="OmiseObject.php" hash="818880c775de17b1187cae8f1220ed34"/></dir></dir></dir></dir><file name="phpunit.xml" hash="10b1894c6e40b45e1166876607894599"/><dir name="tests"><dir name="fixtures"><dir name="api.omise.co"><file name="account-get.json" hash="dd0af5ba4e83c37dce0f528ae55265e1"/><file name="balance-get.json" hash="2411326d435dac7e322982809ad2f0a6"/><dir name="charges"><dir name="chrg_test_4zmrjgxdh4ycj2qncoj"><file name="capture-post.json" hash="2e2f1d5f84978a706c4861fd5fa32bf2"/><dir name="refunds"><file name="rfnd_test_4zmrjhlbqy587sw6fwt-get.json" hash="63abc2d0c623f9fd9b861fed39491250"/></dir><file name="refunds-get.json" hash="724c40cf4fe34aa5646b34a8291e98d7"/><file name="refunds-post.json" hash="63abc2d0c623f9fd9b861fed39491250"/></dir><file name="chrg_test_4zmrjgxdh4ycj2qncoj-get.json" hash="a2cf3a2e9a9e98e5df2b3cce956eeb9b"/><file name="chrg_test_4zmrjgxdh4ycj2qncoj-patch.json" hash="7a17e253ee103c65e630b9f12a02a0cf"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name="charges-get.json" hash="8de2a2546605ddd0463adb693b789fc4"/><file name="charges-post.json" hash="5b42f42b3d37ed1f2985cb87ed6b4c91"/><dir name="customers"><dir name="cust_test_4zmrjg2hct06ybwobqc"><dir name="cards"><file name="card_test_4zmrjfzf0spz3mh63cs-delete.json" hash="7e2355759cb45b39648e47b66d674e82"/><file name="card_test_4zmrjfzf0spz3mh63cs-get.json" hash="93db2746e1ab36922c53a5a46df49313"/><file name="card_test_4zmrjfzf0spz3mh63cs-patch.json" hash="658fe2f9d32e06ed9690c711907c35ea"/></dir></dir><file name="cust_test_4zmrjg2hct06ybwobqc-delete.json" hash="39393c074fbfc549d54a4462d0418ae2"/><file name="cust_test_4zmrjg2hct06ybwobqc-get.json" hash="2359ed7cac6f06e7ab2134b78f0a80c0"/><file name="cust_test_4zmrjg2hct06ybwobqc-patch.json" hash="c9f43bc5d6abda836af2219b89d37322"/></dir><file name="customers-get.json" hash="94004c38dc91a85508111b8aa5f6f4db"/><file name="customers-post.json" hash="9ab098c4d510a2eb19e54619bae1ac5f"/><dir name="disputes"><file name="closed-get.json" hash="3b42074f4c51022cb697043d3c269476"/><file name="dspt_test_4zgf15h89w8t775kcm8-get.json" hash="74c867b793f5c44c202d34e15b43545c"/><file name="dspt_test_4zgf15h89w8t775kcm8-patch.json" hash="4a0a57988efa7b5b2906108e27172afd"/><file name="open-get.json" hash="d594c8a57bc478840ef257a7c0a4d247"/><file name="pending-get.json" hash="c4df6e0b877658489e0dcf521104dbca"/></dir><file name="disputes-get.json" hash="a41dae7bc2453230e63028fbb012d6af"/><dir name="recipients"><file name="recp_test_508a9dytz793gxv9m77-delete.json" hash="8f2911b4009127be4fae4c74ea7807dc"/><file name="recp_test_508a9dytz793gxv9m77-get.json" hash="c2b6e427c63e74feb4805da8fc64b1aa"/><file name="recp_test_508a9dytz793gxv9m77-patch.json" hash="d2a8fdd18d6989b472297fcb01529670"/></dir><file name="recipients-get.json" hash="e932beb18693f23bce525d2b8ff80104"/><file name="recipients-post.json" hash="c2b6e427c63e74feb4805da8fc64b1aa"/><dir name="transactions"><file name="trxn_test_4zmrjhlflnz6id6q0bo-get.json" hash="07eec8be08692f87f43a9c20b37f9be4"/></dir><file name="transactions-get.json" hash="4046a654d53076e4c11439fe560820fc"/><dir name="transfers"><file name="trsf_test_4zmrjicrvw7j6uhv1l4-delete.json" hash="c33d94ae8855086a6347f231401f7d62"/><file name="trsf_test_4zmrjicrvw7j6uhv1l4-get.json" hash="324d71559ca7f3a57181ba94d8b35d10"/><file name="trsf_test_4zmrjicrvw7j6uhv1l4-patch.json" hash="14eb0ad78c28df8ee1adc2447ad5568a"/></dir><file name="transfers-get.json" hash="4661e19d530501a9bd82a8272f7f35ef"/><file name="transfers-post.json" hash="324d71559ca7f3a57181ba94d8b35d10"/></dir><dir name="vault.omise.co"><dir name="tokens"><file name="tokn_test_4zmrjhuk2rndz24a6x0-get.json" hash="bed4f9d84db36bc8ee2394d46e098299"/></dir><file name="tokens-post.json" hash="bed4f9d84db36bc8ee2394d46e098299"/></dir></dir><dir name="omise"><file name="AccountTest.php" hash="2b31cc6ec17a55849c8545fe95c62285"/><file name="BalanceTest.php" hash="e6754c58230c754dd5dbd6d181d0463f"/><file name="CardTest.php" hash="579bd6674eec60869f03d503dcac546f"/><file name="ChargeTest.php" hash="4ffa6412c4061e9ccaa0163685908c33"/><file name="CustomerTest.php" hash="77fe9af1773a27517ba7ba6999c52f78"/><file name="DisputeTest.php" hash="e28bf8dbd3f65b4005feaf54eba7a1bb"/><file name="RecipientTest.php" hash="622056f6ab1cc07e660a0e728e6aaba0"/><file name="RefundTest.php" hash="2476fee14d25e739594e2a4418fc35df"/><file name="TestConfig.php" hash="0582a4d154688d30e247d14584f5189c"/><file name="TokenTest.php" hash="2ae61745b127c9545218b98e69f7efdd"/><file name="TransactionTest.php" hash="73b76cae43f3f439852d8565ab36a343"/><file name="TransferTest.php" hash="c32dd0a74d83f2fc26a5da347870f8f6"/><dir name="exception"><file name="OmiseExceptionTest.php" hash="6935decc4d1cc6758d773139e4529a9e"/></dir><dir name="res"><dir name="obj"><file name="OmiseObjectTest.php" hash="8c9e04bd9d6afb303827bc5f5d1afec2"/></dir></dir><file name="testall.sh" hash="4821c00f7473e7abffba790d91420c8a"/></dir></dir><dir name="vendor"><file name="autoload.php" hash="2d088074fcdc7135efe579be4f1de5cc"/><dir name="composer"><file name="ClassLoader.php" hash="34d839144753232357cd717d22a9aa90"/><file name="autoload_classmap.php" hash="e4eceb17fd6d34e1ed95eda4a849d66f"/><file name="autoload_namespaces.php" hash="35e12c7d76c4a81633bcf547c0e229a9"/><file name="autoload_psr4.php" hash="dd3a00f0d13eb29781edd8c77d4c5100"/><file name="autoload_real.php" hash="e96d72495e31602faa30331f7b564669"/><file name="installed.json" hash="58e0494c51d30eb3494f7c9198986bb9"/></dir></dir><file name=".gitignore" hash="04c5ce480da5e27bb9a1c2da304bbbca"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="omise"><file name="dashboard.phtml" hash="cc719fbf45e1639d97f573c786103d75"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="payment"><dir name="form"><file name="omisecc.phtml" hash="2a28f7a91e8e1681f19cdc7631cc1a8a"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="omise"><file name="omise-admin.css" hash="6a293ba8afa28789c349baa5e2fe1e18"/></dir></dir></dir></dir></target></contents>
 
 
 
 
26
  <compatible/>
27
- <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
28
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Omise_Gateway</name>
4
+ <version>1.9.0.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
7
  <channel>community</channel>
16
  4. Show briefly Omise payment information&lt;br /&gt;&#xD;
17
  5. Integrate Omise refund with Magento refund system&lt;br /&gt;&#xD;
18
  7. Omise dashbord show the lastest transaction&lt;br /&gt;&#xD;
19
+ 8. Allow sending transfer request from omise account to bank account &lt;br /&gt;</description>
20
+ <notes>- Fixed Check authorized and captured status before continue the charge action.&#xD;
21
+ &#xD;
22
+ - Fixed Disable submit button action when user clicks submit.&#xD;
23
+ &#xD;
24
+ - Updated Extends Mage_Payment_Model_Method_Abstract class instead of Mage_Payment_Model_Method_Cc in the payment method class.&#xD;
25
+ </notes>
26
+ <authors><author><name>Omise</name><user>Omise</user><email>apps@omise.co</email></author></authors>
27
+ <date>2016-01-05</date>
28
+ <time>09:13:26</time>
29
+ <contents><target name="magecommunity"><dir name="Omise"><dir name="Gateway"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Edit"><file name="Form.php" hash="054202ddf6a68ca939a91e83f11c69a5"/></dir><file name="Edit.php" hash="2809bd01cafdae402b4e13cb4ad65634"/></dir><dir name="Dashboard"><file name="Dashboard.php" hash="3576b49045c637c0f5945f0c9efa8a77"/></dir></dir><dir name="Form"><file name="Cc.php" hash="732fc793c78406cae18607fcbfa853b6"/></dir></dir><dir name="Helper"><file name="Data.php" hash="452185cad964f13ea481c9d6bced22b1"/></dir><dir name="Model"><dir name="Config"><dir name="Var"><file name="Currency.php" hash="9f2f2e2e0a6e8afe4035cf86cc5df109"/><file name="Paymentaction.php" hash="a1337a3e869c8b563d434b1b691b5d53"/></dir></dir><file name="Config.php" hash="50be3ce038026a6554cf87af96ed3ab9"/><file name="Omise.php" hash="7e6b1623159623fea77cc748bce8f70b"/><file name="OmiseAccount.php" hash="d4de8e3237a4b8c906035eb00d4ec591"/><file name="OmiseBalance.php" hash="b2f03f29d2682a1b8a01be8358f2a7fc"/><file name="OmiseCharge.php" hash="19c077d6ab0f58e4636318ef1e2ef581"/><file name="OmiseTransfer.php" hash="3e03c0b51419ffe73d29b16a1119afcb"/><file name="PaymentMethod.php" hash="440043c5cd2851dddf815f9b6f97bb5a"/><dir name="Resource"><file name="Config.php" hash="4e7f6d668ef0e61b6b9dfb67ea943d3d"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="OmiseController.php" hash="d76592c3f3cb70c11317191aaecf9fca"/></dir></dir><dir name="data"><dir name="omise_gateway_setup"><file name="data-install-0.0.0.1.php" hash="28ffdd99157244db56f444ee2fd4fffb"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="6904e384ede6b5e4ba3203d748e9d802"/><file name="config.xml" hash="7e5ee537af090a0298edaf0597c4e4f4"/><file name="system.xml" hash="34cfa722e906fcfbbfeef5e45727da08"/></dir><dir name="sql"><dir name="omise_gateway_setup"><file name="install-0.0.0.1.php" hash="413280bc428e285a4ee29200668bcf96"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Omise_Gateway.xml" hash="6d354708ee537b9bd833e0916135e6bf"/></dir></target><target name="magelib"><dir name="omise-php"><file name="CHANGELOG.md" hash="1a62ce220b573dff8638721090bb60b6"/><file name="LICENSE" hash="4b764c86995cbfed1e733d4e1b28edc1"/><file name="README.md" hash="791f37d5a23d012a83d412f3b558574c"/><file name="circle.yml" hash="fd592afc9207e55436bc6a50d226f5cd"/><file name="composer.json" hash="bfbc905757e707cd906f500b8a75752f"/><dir name="data"><file name="ca_certificates.pem" hash="e2c6e1ebee2ffc481d3be02aaf12c46c"/></dir><dir name="lib"><file name="Omise.php" hash="fcc47369f482d3b32bd8b5d180e51977"/><dir name="omise"><file name="OmiseAccount.php" hash="4ace83cd415ca6fd79f1bc6ab228edbc"/><file name="OmiseBalance.php" hash="f3e3ebdd3e44d62bc5495c445663b3e3"/><file name="OmiseCard.php" hash="51978bfca8b983ca9acfe474007779c2"/><file name="OmiseCardList.php" hash="8b6aefa9cc128af0763e83852614f3a2"/><file name="OmiseCharge.php" hash="4c448bb8d7ddc57405896ab924526b47"/><file name="OmiseCustomer.php" hash="f824255b8bd48b17432428f5166d6f86"/><file name="OmiseDispute.php" hash="64e936274241550cb95c0ee3011856ab"/><file name="OmiseRecipient.php" hash="60240921485d59071ac3da516b698bef"/><file name="OmiseRefund.php" hash="c117d970052cd477c50f12b0c655c489"/><file name="OmiseRefundList.php" hash="6e5fcb11b14b95d7af3dfeaf84a7faa4"/><file name="OmiseTest.php" hash="13446fbdd16b279a72b00c54504a8737"/><file name="OmiseToken.php" hash="1f3afeff7989118be61676c42e71a7a9"/><file name="OmiseTransaction.php" hash="4c2667aa507feba21c4a2411127e5ff7"/><file name="OmiseTransfer.php" hash="c1cf4132509c35fe043ca09183a91781"/><dir name="exception"><file name="OmiseExceptions.php" hash="88cc98f46392a3803e0cb3d36ef3fd58"/></dir><dir name="res"><file name="OmiseApiResource.php" hash="b95cece57fd215429af2334bcb17f8e7"/><file name="OmiseVaultResource.php" hash="c581b12a6ee35ce3d296377b654534d8"/><dir name="obj"><file name="OmiseObject.php" hash="818880c775de17b1187cae8f1220ed34"/></dir></dir></dir></dir><file name="phpunit.xml" hash="10b1894c6e40b45e1166876607894599"/><dir name="tests"><dir name="fixtures"><dir name="api.omise.co"><file name="account-get.json" hash="dd0af5ba4e83c37dce0f528ae55265e1"/><file name="balance-get.json" hash="2411326d435dac7e322982809ad2f0a6"/><dir name="charges"><dir name="chrg_test_4zmrjgxdh4ycj2qncoj"><file name="capture-post.json" hash="2e2f1d5f84978a706c4861fd5fa32bf2"/><dir name="refunds"><file name="rfnd_test_4zmrjhlbqy587sw6fwt-get.json" hash="63abc2d0c623f9fd9b861fed39491250"/></dir><file name="refunds-get.json" hash="724c40cf4fe34aa5646b34a8291e98d7"/><file name="refunds-post.json" hash="63abc2d0c623f9fd9b861fed39491250"/></dir><file name="chrg_test_4zmrjgxdh4ycj2qncoj-get.json" hash="a2cf3a2e9a9e98e5df2b3cce956eeb9b"/><file name="chrg_test_4zmrjgxdh4ycj2qncoj-patch.json" hash="7a17e253ee103c65e630b9f12a02a0cf"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name="charges-get.json" hash="8de2a2546605ddd0463adb693b789fc4"/><file name="charges-post.json" hash="5b42f42b3d37ed1f2985cb87ed6b4c91"/><dir name="customers"><dir name="cust_test_4zmrjg2hct06ybwobqc"><dir name="cards"><file name="card_test_4zmrjfzf0spz3mh63cs-delete.json" hash="7e2355759cb45b39648e47b66d674e82"/><file name="card_test_4zmrjfzf0spz3mh63cs-get.json" hash="93db2746e1ab36922c53a5a46df49313"/><file name="card_test_4zmrjfzf0spz3mh63cs-patch.json" hash="658fe2f9d32e06ed9690c711907c35ea"/></dir></dir><file name="cust_test_4zmrjg2hct06ybwobqc-delete.json" hash="39393c074fbfc549d54a4462d0418ae2"/><file name="cust_test_4zmrjg2hct06ybwobqc-get.json" hash="2359ed7cac6f06e7ab2134b78f0a80c0"/><file name="cust_test_4zmrjg2hct06ybwobqc-patch.json" hash="c9f43bc5d6abda836af2219b89d37322"/></dir><file name="customers-get.json" hash="94004c38dc91a85508111b8aa5f6f4db"/><file name="customers-post.json" hash="9ab098c4d510a2eb19e54619bae1ac5f"/><dir name="disputes"><file name="closed-get.json" hash="3b42074f4c51022cb697043d3c269476"/><file name="dspt_test_4zgf15h89w8t775kcm8-get.json" hash="74c867b793f5c44c202d34e15b43545c"/><file name="dspt_test_4zgf15h89w8t775kcm8-patch.json" hash="4a0a57988efa7b5b2906108e27172afd"/><file name="open-get.json" hash="d594c8a57bc478840ef257a7c0a4d247"/><file name="pending-get.json" hash="c4df6e0b877658489e0dcf521104dbca"/></dir><file name="disputes-get.json" hash="a41dae7bc2453230e63028fbb012d6af"/><dir name="recipients"><file name="recp_test_508a9dytz793gxv9m77-delete.json" hash="8f2911b4009127be4fae4c74ea7807dc"/><file name="recp_test_508a9dytz793gxv9m77-get.json" hash="c2b6e427c63e74feb4805da8fc64b1aa"/><file name="recp_test_508a9dytz793gxv9m77-patch.json" hash="d2a8fdd18d6989b472297fcb01529670"/></dir><file name="recipients-get.json" hash="e932beb18693f23bce525d2b8ff80104"/><file name="recipients-post.json" hash="c2b6e427c63e74feb4805da8fc64b1aa"/><dir name="transactions"><file name="trxn_test_4zmrjhlflnz6id6q0bo-get.json" hash="07eec8be08692f87f43a9c20b37f9be4"/></dir><file name="transactions-get.json" hash="4046a654d53076e4c11439fe560820fc"/><dir name="transfers"><file name="trsf_test_4zmrjicrvw7j6uhv1l4-delete.json" hash="c33d94ae8855086a6347f231401f7d62"/><file name="trsf_test_4zmrjicrvw7j6uhv1l4-get.json" hash="324d71559ca7f3a57181ba94d8b35d10"/><file name="trsf_test_4zmrjicrvw7j6uhv1l4-patch.json" hash="14eb0ad78c28df8ee1adc2447ad5568a"/></dir><file name="transfers-get.json" hash="4661e19d530501a9bd82a8272f7f35ef"/><file name="transfers-post.json" hash="324d71559ca7f3a57181ba94d8b35d10"/></dir><dir name="vault.omise.co"><dir name="tokens"><file name="tokn_test_4zmrjhuk2rndz24a6x0-get.json" hash="bed4f9d84db36bc8ee2394d46e098299"/></dir><file name="tokens-post.json" hash="bed4f9d84db36bc8ee2394d46e098299"/></dir></dir><dir name="omise"><file name="AccountTest.php" hash="2b31cc6ec17a55849c8545fe95c62285"/><file name="BalanceTest.php" hash="e6754c58230c754dd5dbd6d181d0463f"/><file name="CardTest.php" hash="579bd6674eec60869f03d503dcac546f"/><file name="ChargeTest.php" hash="4ffa6412c4061e9ccaa0163685908c33"/><file name="CustomerTest.php" hash="77fe9af1773a27517ba7ba6999c52f78"/><file name="DisputeTest.php" hash="e28bf8dbd3f65b4005feaf54eba7a1bb"/><file name="RecipientTest.php" hash="622056f6ab1cc07e660a0e728e6aaba0"/><file name="RefundTest.php" hash="2476fee14d25e739594e2a4418fc35df"/><file name="TestConfig.php" hash="0582a4d154688d30e247d14584f5189c"/><file name="TokenTest.php" hash="2ae61745b127c9545218b98e69f7efdd"/><file name="TransactionTest.php" hash="73b76cae43f3f439852d8565ab36a343"/><file name="TransferTest.php" hash="c32dd0a74d83f2fc26a5da347870f8f6"/><dir name="exception"><file name="OmiseExceptionTest.php" hash="6935decc4d1cc6758d773139e4529a9e"/></dir><dir name="res"><dir name="obj"><file name="OmiseObjectTest.php" hash="8c9e04bd9d6afb303827bc5f5d1afec2"/></dir></dir><file name="testall.sh" hash="4821c00f7473e7abffba790d91420c8a"/></dir></dir><file name=".gitignore" hash="04c5ce480da5e27bb9a1c2da304bbbca"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="omise"><file name="dashboard.phtml" hash="cc719fbf45e1639d97f573c786103d75"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="payment"><dir name="form"><file name="omisecc.phtml" hash="e4baaf8b856e6bb0519764f495a17d67"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="omise"><file name="omise-admin.css" hash="6a293ba8afa28789c349baa5e2fe1e18"/></dir></dir></dir></dir></target></contents>
30
  <compatible/>
31
+ <dependencies><required><php><min>5.4.0</min><max>5.6.0</max></php><package><name/><channel>connect.magentocommerce.com/core</channel><min/><max/></package></required></dependencies>
32
  </package>