2

I am using this MiGS Payment Gateway plugin. I input all fields in the plugin settings ( System > Configuration > Payment Methods > MIGS Payment Gateway ) and enabled the settings. I use One Page Checkout and disabled Multishipping.

However, after I pressed Checkout > Checkout as Guest > filled in basic information, address, shipping method. However, when I reached Step 5, it said:

Your order cannot be completed at this time as there is no payment methods available for it.

What did I miss ? Anything I should provide for you guys to debug?

Using Magento 1.9.1


UPDATE I updated the info.phtml of app/design/frontend/{theme_name}/{package_name}/template/checkout/onepage/payment/ to have the following codes:

$payments = Mage::getSingleton('payment/config')->getActiveMethods();
$methods = array(array('value'=>'', 'label'=>Mage::helper('adminhtml')->__('--Please Select--')));
foreach ($payments as $paymentCode=>$paymentModel) {
    $paymentTitle = Mage::getStoreConfig('payment/'.$paymentCode.'/title');
    $methods[$paymentCode] = array(
        'label'   => $paymentTitle,
        'value' => $paymentCode,
    );
}
print_r($methods);

It successfully shows the MIGS as "Active methods". Why does One Page Checkout not available to show payment methods?

The output of the print_r() is as follow:

Array ( 
  [0] => Array ( [value] => [label] => --Please Select-- ) 
  [free] => Array ( [label] => No Payment Information Required [value] => free ) 
  [purchaseorder] => Array ( [label] => Purchase Order [value] => purchaseorder ) 
  [banktransfer] => Array ( [label] => Bank Transfer [value] => banktransfer )
  [cashondelivery] => Array ( [label] => Cash On Delivery [value] => cashondelivery ) 
  [hosted_pro] => Array ( [label] => Paid by Credit Card [value] => hosted_pro ) 
  [migsvpc_server] => Array ( [label] => MiGS [value] => migsvpc_server )
  [paypal_here] => Array ( [label] => Credit Card Payment [value] => paypal_here ) 
)

UPDATE I further found out that when I click "Next" in Shipping Method, the request to saveShippingMethod/ returns an error:

Fatal error: Call to a member function getGiftMessageId() on a non-object in /path/to/magento/app/code/core/Mage/GiftMessage/Model/Observer.php on line 137

  • Compatible with: 1.6, 1.6.1, 1.6.2.0, 1.7 you must read before install the extension – Qaisar Satti Aug 26 '16 at 12:19
  • The Q&A said it's compatible with 1.9 also – Raptor Aug 26 '16 at 12:21
  • extension is shown in admin? and did you refresh the cache and give file permission? – Qaisar Satti Aug 26 '16 at 12:24
  • Yes, cleared cache, disabled compilation & the extension is shown in System > Configuration > Payment Methods correctly. – Raptor Aug 26 '16 at 12:27
  • use this extension magentocommerce.com/magento-connect/… – Qaisar Satti Aug 26 '16 at 12:35
1

use this extension for mig payment

https://www.magentocommerce.com/magento-connect/migs-vpc-payment-method-integration.html

only one thing is this extension on sandbox mode it always show the KWD 1 order total don't worry about that.

enter image description here

  • Tried to use this extension. Enabled "MIGS VPC Server Hosted" (and filled in appropriate information, such as Access Code and Secure Hash Secret) and cleared cache, but the one page checkout of Magento still said no payment method available. – Raptor Aug 27 '16 at 8:31
  • Additionally, I enabled Cash of Delivery and Purchase Order to cross-check whether the One Page Checkout is behaving normal or not. After I enabled these payment methods, the Checkout page still shows no payment method available. How come? Is is possible the theme restricted payment method? – Raptor Aug 27 '16 at 8:32
  • @Raptor disabled the other extension then check.. or try on default there – Qaisar Satti Aug 27 '16 at 16:58
  • the Magento didn't enable other third party extensions; only the default ones are installed. Still cannot figure out why. – Raptor Aug 29 '16 at 4:24
  • One thing I found out that if I picked Default Store View in Configuration, the MIGS disappears from "Payment Methods". Is that normal? – Raptor Aug 29 '16 at 6:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.