PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, November 10, 2022

[FIXED] How to turn off the reqtime parameter in magento checkout

 November 10, 2022     magento, magento-1.6, magento-1.7     No comments   

Issue

i am using a 3rd party payment gateway extension. I installed it successfully and all the things are working perfectly fine. While redirecting the products to the citrus official page.Then it is showing me the following error:-

Bad Request: Request is too old to be processed 

I asked that problem to the citrus payment office and they replied me:-

This happened because of reqtime parameter where it takes System time. Kindly check server time from where you are testing it.

You can also remove reqtime as the same is non-mandatory.

I checked the time and date, it is taking the exact time and date. How can i turn off the required time parameter. Any help would be appreciated the most :)


Solution

Okays, so i got the answer. Just go to

app/code/community/CitrusPay/Moto/Block/Form/Pay.php

Search for reqtime and comment the below line and it will work :)

//$form->addField('ReqTime', 'hidden', array('name'=>'reqtime', 'value'=> (time()*1000)));

Problem solved :)



Answered By - A Nerd
Answer Checked By - Marilyn (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing