-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from gmatsuoka/master
Version 2.2.0
- Loading branch information
Showing
19 changed files
with
29 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
@@ -690,7 +690,7 @@ function makePreferenceV1($cart, $order, $payment_method){ | |
|
||
$payment['description'] = $this->vendor->vendor_store_name . " - " . $order['details']['BT']->virtuemart_order_id; | ||
|
||
$payment['transaction_amount'] = (float) number_format($cart->cartPrices['billTotal'], 2); | ||
$payment['transaction_amount'] = (float) number_format($cart->cartPrices['billTotal'], 2, '.', ''); | ||
|
||
$payment['external_reference'] = $order['details']['BT']->virtuemart_order_id; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
@@ -25,7 +25,7 @@ protected function getInput() { | |
$html = '<img src="' . $banner . '" />'; | ||
$html .= '<input type="hidden" name="mercadopago_sponsor_id" value="VALUE_SPONSOR_ID" />'; | ||
$html .= '<input type="hidden" name="mercadopago_site_id" value="VALUE_SITE_ID" />'; | ||
$html .= '<br/>Module Version: <strong>2.1.0</strong>'; | ||
$html .= '<br/>Module Version: <strong>2.2.0</strong>'; | ||
|
||
return $html; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Mercado Pago plugin | ||
* | ||
* @author Developers Mercado Pago <[email protected]> | ||
* @version 2.1.0 | ||
* @version 2.2.0 | ||
* @package VirtueMart | ||
* @subpackage payment | ||
* @link https://www.mercadopago.com | ||
|
ec76d37
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hola, tengo la version 2.2.0 pero ya hace unos dias que tengo problema con Checkout básico, ingreso las credenciales y al guardar me genera error 500 (intente con dos cuentas y ocurre lo mismo). Pero el Checkout personalizado si funciona, no genera ningun error. ¿que puede ocurrir? antes funcionaba bien. Tengo la ultima version de joomla y de virtuemar.
500 error to call API LOGSMercadoPagoException: error to call API LOGSArray in /home/tiempojoven/campusumec.com/plugins/vmpayment/mercadopago/mercadopago/lib/mercadopago.php:619 Stack trace: #0 /home/tiempojoven/campusumec.com/plugins/vmpayment/mercadopago/mercadopago/lib/mercadopago.php(659): MPRestClient::exec(Array) #1 /home/tiempojoven/campusumec.com/plugins/vmpayment/mercadopago/mercadopago.php(1189): MPRestClient::put(Array) #2 /home/tiempojoven/campusumec.com/plugins/vmpayment/mercadopago/mercadopago.php(1159): plgVmPaymentMercadoPago->_twoCards(Array) #3 /home/tiempojoven/campusumec.com/libraries/joomla/event/event.php(70): plgVmPaymentMercadoPago->plgVmSetOnTablePluginPayment(Array, Object(TablePaymentmethods)) #4 /home/tiempojoven/campusumec.com/libraries/joomla/event/dispatcher.php(160): JEvent->update(Array) #5 /home/tiempojoven/campusumec.com/administrator/components/com_virtuemart/models/paymentmethod.php(199): JEventDispatcher->trigger('plgvmsetontable...', Array) #6 /home/tiempojoven/campusumec.com/administrator/components/com_virtuemart/helpers/vmcontroller.php(163): VirtueMartModelPaymentmethod->store(Array) #7 /home/tiempojoven/campusumec.com/administrator/components/com_virtuemart/controllers/paymentmethod.php(59): VmController->save(Array) #8 /home/tiempojoven/campusumec.com/libraries/src/MVC/Controller/BaseController.php(710): VirtuemartControllerPaymentmethod->save() #9 /home/tiempojoven/campusumec.com/administrator/components/com_virtuemart/virtuemart.php(76): Joomla\CMS\MVC\Controller\BaseController->execute('apply') #10 /home/tiempojoven/campusumec.com/libraries/src/Component/ComponentHelper.php(402): require_once('/home/tiempojov...') #11 /home/tiempojoven/campusumec.com/libraries/src/Component/ComponentHelper.php(377): Joomla\CMS\Component\ComponentHelper::executeComponent('/home/tiempojov...') #12 /home/tiempojoven/campusumec.com/libraries/src/Application/AdministratorApplication.php(101): Joomla\CMS\Component\ComponentHelper::renderComponent('com_virtuemart') #13 /home/tiempojoven/campusumec.com/libraries/src/Application/AdministratorApplication.php(159): Joomla\CMS\Application\AdministratorApplication->dispatch() #14 /home/tiempojoven/campusumec.com/libraries/src/Application/CMSApplication.php(196): Joomla\CMS\Application\AdministratorApplication->doExecute() #15 /home/tiempojoven/campusumec.com/administrator/index.php(51): Joomla\CMS\Application\CMSApplication->execute() #16 {main}