Some times the payment fails in the last step and I'm redirected to the Payment Information page again with no signs of any erros"There has been an error processing your credit card."
The error was happened due to misplacement of tep_session_register('cc_array');
Find the following code : (Near line 251)
tep_session_register('cc_array');
$cc_array = array('card_type' => $this->cc_card_type,
'card_number' => $this->cc_card_number,
'card_code' => $this->cc_cvv,
'expiration' => $this->cc_expiry_month . substr($this->cc_expiry_year, -2));
Replace with :
$cc_array = array('card_type' => $this->cc_card_type,
'card_number' => $this->cc_card_number,
'card_code' => $this->cc_cvv,
'expiration' => $this->cc_expiry_month . substr($this->cc_expiry_year, -2));
tep_session_register('cc_array');
Note: This is not a Full Package. Error Fix only
More...




LinkBack URL
About LinkBacks









Bookmarks