Skip to content

Commit

Permalink
fixed international amount display and version bump beta-3.3.4 (#222)
Browse files Browse the repository at this point in the history
Co-authored-by: Ram Prakash Singh <[email protected]>
  • Loading branch information
ramth05 and Ram Prakash Singh authored Jan 22, 2021
1 parent 6c53940 commit dd9621c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Controller/Payment/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function execute()
'order_id' => $receipt_id,
'amount' => $order->amount,
'quote_currency' => $mazeOrder->getOrderCurrencyCode(),
'quote_amount' => $amount,
'quote_amount' => number_format($mazeOrder->getGrandTotal(), 2, ".", ""),
'maze_version' => $maze_version,
'module_version' => $module_version,
];
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "razorpay/magento",
"description": "Razorpay Magento 2.0 plugin for accepting payments.",
"version": "beta-3.3.3",
"version": "beta-3.3.4",
"require": {
"php": "~5.5.0|~5.6.0|^7.0",
"razorpay/razorpay": "2.*"
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:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Razorpay_Magento" setup_version="beta-3.3.3">
<module name="Razorpay_Magento" setup_version="beta-3.3.4">
<sequence>
<module name="Magento_Sales" />
<module name="Magento_Payment" />
Expand Down

0 comments on commit dd9621c

Please sign in to comment.