Tray_CheckoutRedir - Version 1.0.0.2

Version Notes

Atualização da URL de consulta no Tray Checkout.

Download this release

Release Info

Developer Igor
Extension Tray_CheckoutRedir
Version 1.0.0.2
Comparing to
See all releases


Code changes from version 1.0.0.1 to 1.0.0.2

app/code/community/Tray/CheckoutRedir/Model/Standard.php CHANGED
@@ -241,6 +241,7 @@ class Tray_CheckoutRedir_Model_Standard extends Mage_Payment_Model_Method_Abstra
241
  return 'http://checkout.sandbox.tray.com.br/payment/transaction';
242
  } else {
243
  return 'https://checkout.tray.com.br/payment/transaction';
 
244
  }
245
 
246
  }
241
  return 'http://checkout.sandbox.tray.com.br/payment/transaction';
242
  } else {
243
  return 'https://checkout.tray.com.br/payment/transaction';
244
+ // return 'http://gpereira.checkout.traycheckout.desenvolvimento.tray.intranet/payment/transaction';
245
  }
246
 
247
  }
app/code/community/Tray/CheckoutRedir/controllers/StandardController.php CHANGED
@@ -150,9 +150,9 @@ class Tray_CheckoutRedir_StandardController extends Mage_Core_Controller_Front_A
150
  {
151
  if ($sandbox == '1')
152
  {
153
- return "http://api.sandbox.checkout.tray.com.br/api/transactions/get_by_token";
154
  } else {
155
- return "http://api.checkout.tray.com.br/api/transactions/get_by_token";
156
  }
157
  }
158
 
150
  {
151
  if ($sandbox == '1')
152
  {
153
+ return "http://api.sandbox.checkout.tray.com.br/api/v1/transactions/get_by_token";
154
  } else {
155
+ return "http://api.checkout.tray.com.br/api/v1/transactions/get_by_token";
156
  }
157
  }
158
 
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tray_CheckoutRedir</name>
4
- <version>1.0.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Extens&#xE3;o Tray Checkout para Magento</summary>
10
  <description>O TrayCheckout &#xE9; um facilitador de pagamento que oferece benef&#xED;cios aos lojistas e aos compradores. Focado em praticidade e convers&#xE3;o, possibilita que as lojas virtuais ofere&#xE7;am diversas formas de pagamento, sem burocracia ou necessidade de contrato com operadoras financeiras.</description>
11
- <notes>Primeira vers&#xE3;o liberada no Magento Connect</notes>
12
  <authors><author><name>Igor</name><user>igor</user><email>ifredi@tray.net.br</email></author></authors>
13
- <date>2013-02-14</date>
14
- <time>12:53:58</time>
15
- <contents><target name="magecommunity"><dir name="Tray"><dir name="CheckoutRedir"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Label.php" hash="4b644caa67c70bbea2762ba16db35779"/></dir></dir></dir></dir><file name="Error.php" hash="eabab960a3c44358762cf531d04831fb"/><dir name="Form"><file name="Geral.php" hash="3964d2e6a2db70bc5a909009feb60103"/></dir><dir name="Info"><file name="Geral.php" hash="66bff552a355e90fefff155de67e043a"/></dir><file name="Link.php" hash="a019874d3407309ea721c818ae9dcf16"/><file name="Payment.php" hash="3f5291e1f400fee64fee340646648971"/><file name="Redirect.php" hash="a37c21f8d17b84c1c0cf61bfa1332fc9"/><file name="Return.php" hash="55c255d083acaff20252ba2ee99424d5"/></dir><dir name="Helper"><file name="Adress.php" hash="5c7df6a36b8865b3f076dd4a23514878"/><file name="Data.php" hash="28e9413b57967b95d8626bbae5e58b14"/></dir><dir name="Model"><file name="Config.php" hash="b5ef28f69a0386cae6956a8c50409009"/><file name="Geral.php" hash="ff8e60aa1208f9e3a8f4561e94e97e25"/><dir name="Mysql4"><file name="Setup.php" hash="762ac20737d9a60e706458e2f0af4129"/></dir><file name="Observer.php" hash="1089a6badfbd0a6d49e9920730ecf123"/><dir name="Source"><file name="Country.php" hash="0d88f7c80aa95e3bce20e36364aba098"/><file name="Specificcountries.php" hash="c1ed7900cdb7400f40f63bd6aefdddf0"/><file name="Webcheckout.php" hash="f513de61d0582f7b541872cf8a0bbfaa"/></dir><file name="Standard.php" hash="f3aa4d90c13a6065930eb30c96351ef4"/></dir><dir name="controllers"><file name="StandardController.php" hash="d6442202bf71881dfb752f1fed6d20e3"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e8d5be5396fdb8177a327597cb863d94"/><file name="config.xml" hash="2320bdb90bddf1fdf0717f7a3426f757"/><file name="system.xml" hash="3fbc4d4b6942747257f42bed8cf5507e"/></dir><dir name="sql"><dir name="checkoutredir_setup"><file name="mysql4-install-0.1.7.php" hash="5c2f7dbc2f38eea387c7bea0a53cae28"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tray"><dir name="checkoutredir"><file name="error.phtml" hash="575e0c286c99e173619eb2be6ee9fde2"/><dir name="form"><file name="geral.phtml" hash="a2c7e26734d1082a4db9706ff785f560"/><dir name="images"><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/></dir></dir><file name="head.phtml" hash="1f4103303b8c7de8daf1fe23e118fadf"/><dir name="info"><file name="geral.phtml" hash="f7eb257a40bdf69931ba5514859de82a"/></dir><file name="overlay.phtml" hash="28af78c90dd64911b6f857d94b9dbc79"/><file name="payment.phtml" hash="a8d5d3d2f7014711c8360c9dfc35ea92"/><file name="return.phtml" hash="07a60f0d3549e4fb49d7b3ab27917530"/></dir></dir></dir><dir name="layout"><file name="tray_checkoutredir.xml" hash="801629ab06f617f64f7a468ad06f80a6"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="tray"><dir name="checkoutredir"><dir name="form"><file name="geral.phtml" hash="7ea2cacf9c9eef1be914599bf6d00d23"/></dir><file name="getbaseurl.phtml" hash="17ceee44d6bb7af60e69baa39f031b0c"/><dir name="info"><file name="geral.phtml" hash="f7eb257a40bdf69931ba5514859de82a"/></dir></dir></dir></dir><dir name="layout"><file name="tray_checkoutredir.xml" hash="9215e9445b80df8e86c45383af64ab05"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="tray"><dir name="checkoutredir"><dir name="css"><file name="styles.css" hash="5d09463e234fd2f20622f63795019be6"/></dir><dir name="images"><file name="BannerTrayCheckout890px.png" hash="535d5a4a4f190d03df38664dcb6463f8"/><file name="banner_comlogo_formas.jpg" hash="e02a16c32109746786c24db177ddad3a"/><file name="banner_semlogo_formas.jpg" hash="4f13591f17ed96347f136eab09343121"/><file name="banner_semlogo_formas.png" hash="84a82c3d7ed9a42ade9660b8dd16511d"/><file name="close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="tray"><dir name="checkoutredir"><dir name="css"><file name="magentomodal.css" hash="2c6dd38e421f644475a121b8d6c96503"/></dir><dir name="images"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><dir name="js"><file name="exibitionsettingswebcheckout.js" hash="430c1ce2ecaab27f4ae1ab9a649667cd"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tray_CheckoutRedir.xml" hash="7d1a3d97b6c809036a887699f05dc24a"/></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0.0</min><max>1.7</max></package></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tray_CheckoutRedir</name>
4
+ <version>1.0.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Extens&#xE3;o Tray Checkout para Magento</summary>
10
  <description>O TrayCheckout &#xE9; um facilitador de pagamento que oferece benef&#xED;cios aos lojistas e aos compradores. Focado em praticidade e convers&#xE3;o, possibilita que as lojas virtuais ofere&#xE7;am diversas formas de pagamento, sem burocracia ou necessidade de contrato com operadoras financeiras.</description>
11
+ <notes>Atualiza&#xE7;&#xE3;o da URL de consulta no Tray Checkout.</notes>
12
  <authors><author><name>Igor</name><user>igor</user><email>ifredi@tray.net.br</email></author></authors>
13
+ <date>2013-02-21</date>
14
+ <time>14:04:46</time>
15
+ <contents><target name="magecommunity"><dir name="Tray"><dir name="CheckoutRedir"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Label.php" hash="4b644caa67c70bbea2762ba16db35779"/></dir></dir></dir></dir><file name="Error.php" hash="eabab960a3c44358762cf531d04831fb"/><dir name="Form"><file name="Geral.php" hash="3964d2e6a2db70bc5a909009feb60103"/></dir><dir name="Info"><file name="Geral.php" hash="66bff552a355e90fefff155de67e043a"/></dir><file name="Link.php" hash="a019874d3407309ea721c818ae9dcf16"/><file name="Payment.php" hash="3f5291e1f400fee64fee340646648971"/><file name="Redirect.php" hash="a37c21f8d17b84c1c0cf61bfa1332fc9"/><file name="Return.php" hash="55c255d083acaff20252ba2ee99424d5"/></dir><dir name="Helper"><file name="Adress.php" hash="5c7df6a36b8865b3f076dd4a23514878"/><file name="Data.php" hash="28e9413b57967b95d8626bbae5e58b14"/></dir><dir name="Model"><file name="Config.php" hash="b5ef28f69a0386cae6956a8c50409009"/><file name="Geral.php" hash="ff8e60aa1208f9e3a8f4561e94e97e25"/><dir name="Mysql4"><file name="Setup.php" hash="762ac20737d9a60e706458e2f0af4129"/></dir><file name="Observer.php" hash="1089a6badfbd0a6d49e9920730ecf123"/><dir name="Source"><file name="Country.php" hash="0d88f7c80aa95e3bce20e36364aba098"/><file name="Specificcountries.php" hash="c1ed7900cdb7400f40f63bd6aefdddf0"/><file name="Webcheckout.php" hash="f513de61d0582f7b541872cf8a0bbfaa"/></dir><file name="Standard.php" hash="fbd5e8cc02ad2dc3ea08178e256a8b4d"/></dir><dir name="controllers"><file name="StandardController.php" hash="d3f5fa3065b3f1cc9b9b862d66393fb1"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e8d5be5396fdb8177a327597cb863d94"/><file name="config.xml" hash="2320bdb90bddf1fdf0717f7a3426f757"/><file name="system.xml" hash="3fbc4d4b6942747257f42bed8cf5507e"/></dir><dir name="sql"><dir name="checkoutredir_setup"><file name="mysql4-install-0.1.7.php" hash="5c2f7dbc2f38eea387c7bea0a53cae28"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tray"><dir name="checkoutredir"><file name="error.phtml" hash="575e0c286c99e173619eb2be6ee9fde2"/><dir name="form"><file name="geral.phtml" hash="a2c7e26734d1082a4db9706ff785f560"/><dir name="images"><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/></dir></dir><file name="head.phtml" hash="1f4103303b8c7de8daf1fe23e118fadf"/><dir name="info"><file name="geral.phtml" hash="f7eb257a40bdf69931ba5514859de82a"/></dir><file name="overlay.phtml" hash="28af78c90dd64911b6f857d94b9dbc79"/><file name="payment.phtml" hash="a8d5d3d2f7014711c8360c9dfc35ea92"/><file name="return.phtml" hash="07a60f0d3549e4fb49d7b3ab27917530"/></dir></dir></dir><dir name="layout"><file name="tray_checkoutredir.xml" hash="801629ab06f617f64f7a468ad06f80a6"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="tray"><dir name="checkoutredir"><dir name="form"><file name="geral.phtml" hash="7ea2cacf9c9eef1be914599bf6d00d23"/></dir><file name="getbaseurl.phtml" hash="17ceee44d6bb7af60e69baa39f031b0c"/><dir name="info"><file name="geral.phtml" hash="f7eb257a40bdf69931ba5514859de82a"/></dir></dir></dir></dir><dir name="layout"><file name="tray_checkoutredir.xml" hash="9215e9445b80df8e86c45383af64ab05"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="tray"><dir name="checkoutredir"><dir name="css"><file name="styles.css" hash="5d09463e234fd2f20622f63795019be6"/></dir><dir name="images"><file name="BannerTrayCheckout890px.png" hash="535d5a4a4f190d03df38664dcb6463f8"/><file name="banner_comlogo_formas.jpg" hash="e02a16c32109746786c24db177ddad3a"/><file name="banner_semlogo_formas.jpg" hash="4f13591f17ed96347f136eab09343121"/><file name="banner_semlogo_formas.png" hash="84a82c3d7ed9a42ade9660b8dd16511d"/><file name="close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="overlay.png" hash="143d209e15051311fdae758b295036b5"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="tray"><dir name="checkoutredir"><dir name="css"><file name="magentomodal.css" hash="2c6dd38e421f644475a121b8d6c96503"/></dir><dir name="images"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><dir name="js"><file name="exibitionsettingswebcheckout.js" hash="430c1ce2ecaab27f4ae1ab9a649667cd"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tray_CheckoutRedir.xml" hash="7d1a3d97b6c809036a887699f05dc24a"/></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>