Author Topic: How to check payment method is enabled or disabled on confirm order page  (Read 4016 times)

Offline vishwanath

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Hi,
How can i check a payment method is enabled or disabled on confirm page ? Like as suppose, if we have first enabled the XYZ payment method form admin and customer have chosen the XYZ payment method and goes to confirm page meanwhile we have disabled the XYZ payment method form admin and customer click on confirm order button. But since payment method is disabled form admin so it wouldn't work. But i want to check first that XYZ is enabled or not if it is disabled then it will give a alert message with "The requested payment method in not available." like as in Magento and if it is enabled then it will work as normal.

How can i do this in Abantecart?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: How to check payment method is enabled or disabled on confirm order page
« Reply #1 on: November 03, 2016, 01:33:11 AM »
Hello.

You can set your site into Maintenance Mode when you configure it.

 

Powered by SMFPacks Social Login Mod