Skip to content

Commit

Permalink
Agrega contenido de carrito al comprobante de pago
Browse files Browse the repository at this point in the history
  • Loading branch information
JKacicM committed Dec 27, 2022
1 parent 8838d61 commit 81606ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Model/Simplified.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class Simplified extends \Magento\Payment\Model\Method\AbstractMethod
{

const KHIPU_MAGENTO_VERSION = "2.4.0";
const KHIPU_MAGENTO_VERSION = "2.4.1";

protected $_code = 'simplified';

Expand Down Expand Up @@ -126,7 +126,7 @@ public function getKhipuRequest(Order $order)

$opts = array(
"transaction_id" => $order->getIncrementId(),
"description" => join($description, ', '),
"body" => join($description, ', '),
"custom" => $payment->getAdditionalInformation('khipu_order_token'),
"return_url" => $this->urlBuilder->getUrl('checkout/onepage/success'),
"cancel_url" => $this->urlBuilder->getUrl('checkout/onepage/failure'),
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "khipu/magento2-khipu",
"type": "magento2-module",
"description": "khipu integration for Magento 2",
"version": "2.4.0",
"version": "2.4.1",
"homepage": "https://khipu.com",
"license": [
"OSL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noTestSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Khipu_Payment" setup_version="2.4.0" active="true">
<module name="Khipu_Payment" setup_version="2.4.1" active="true">
<sequence>
<module name="Magento_Sales"/>
<module name="Magento_Checkout"/>
Expand Down

0 comments on commit 81606ab

Please sign in to comment.