diff --git a/app/code/community/Razorpay/Payments/Model/Paymentmethod.php b/app/code/community/Razorpay/Payments/Model/Paymentmethod.php index 7634b718..7f634c60 100644 --- a/app/code/community/Razorpay/Payments/Model/Paymentmethod.php +++ b/app/code/community/Razorpay/Payments/Model/Paymentmethod.php @@ -5,7 +5,7 @@ class Razorpay_Payments_Model_Paymentmethod extends Mage_Payment_Model_Method_Ab const CHANNEL_NAME = 'Razorpay/Magento%s_%s/%s'; const METHOD_CODE = 'razorpay'; const CURRENCY = 'INR'; - const VERSION = '0.2.0'; + const VERSION = '0.2.2'; protected $_code = self::METHOD_CODE; protected $_canOrder = true; @@ -30,7 +30,7 @@ public function __construct() /** * Authorizes specified amount - * + * * @param Varien_Object $payment * @param decimal $amount */ @@ -41,7 +41,7 @@ public function authorize(Varien_Object $payment, $amount) /** * Captures specified amount - * + * * @param Varien_Object $payment * @param decimal $amount * @return Razorpay_Payments_Model_Paymentmethod @@ -92,7 +92,7 @@ public function capture(Varien_Object $payment, $amount) /** * Format param "channel" for transaction - * + * * @return string */ public function _getChannel() diff --git a/app/code/community/Razorpay/Payments/etc/config.xml b/app/code/community/Razorpay/Payments/etc/config.xml index 18f9e420..82235301 100644 --- a/app/code/community/Razorpay/Payments/etc/config.xml +++ b/app/code/community/Razorpay/Payments/etc/config.xml @@ -2,7 +2,7 @@ - 0.2.0 + 0.2.2 diff --git a/app/design/frontend/base/default/layout/razorpay.xml b/app/design/frontend/base/default/layout/razorpay.xml index 2b50c5fa..4b214822 100644 --- a/app/design/frontend/base/default/layout/razorpay.xml +++ b/app/design/frontend/base/default/layout/razorpay.xml @@ -54,4 +54,29 @@ + + + + + + + ]]> + + + + razorpay/razorpay-utils.js + + + + + + + + form_id + co-payment-form + + + + + \ No newline at end of file diff --git a/app/design/frontend/base/default/template/razorpay/extensions/firecheckout/payments.phtml b/app/design/frontend/base/default/template/razorpay/extensions/firecheckout/payments.phtml new file mode 100644 index 00000000..2e40e7d5 --- /dev/null +++ b/app/design/frontend/base/default/template/razorpay/extensions/firecheckout/payments.phtml @@ -0,0 +1,63 @@ + +isRazorpayEnabled()) : ?> + + + diff --git a/app/design/frontend/base/default/template/razorpay/extensions/iwd_opc/payments.phtml b/app/design/frontend/base/default/template/razorpay/extensions/iwd_opc/payments.phtml index 385f234e..5f820879 100644 --- a/app/design/frontend/base/default/template/razorpay/extensions/iwd_opc/payments.phtml +++ b/app/design/frontend/base/default/template/razorpay/extensions/iwd_opc/payments.phtml @@ -42,10 +42,6 @@ // Payment method is Razorpay Credit Card IWD.OPC.Checkout.showLoader(); - var $paymentId = $(paymentIdField); - - var captureOrder = $paymentId && ($paymentId.value != ''); - if (razorpayUtils.isOrderSet()) { placeRazorpayOrder(); } else { diff --git a/package.xml b/package.xml index 86228aa0..a2c9b860 100644 --- a/package.xml +++ b/package.xml @@ -1,7 +1,7 @@ Razorpay_Payments - 0.2.1 + 0.2.2 beta MIT community @@ -16,8 +16,8 @@ vivek@razorpay.com - 2016-04-09 - + 2016-04-13 + @@ -30,13 +30,13 @@ - + - + @@ -47,13 +47,16 @@ - + + + + - +