Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to customise payment error pages?


fmlugh

Recommended Posts

For credit card payments I've been told that the default error page is not good enough.

 

That if your credit card has an error it needs to say the specific error.

The problem is I have no idea how I go about doing that?

 

I'm using the MIGS ANZ eGate addon...

 

The current error message is this:

	$error = array('title' => MODULE_PAYMENT_MIGS_TEXT_ERROR, 'error' => ((isset($HTTP_GET_VARS['error'])) ? stripslashes(urldecode($HTTP_GET_VARS['error'])) : MODULE_PAYMENT_MIGS_TEXT_ERROR_DESCRIPTION));
	return $error;
}

 

Which shows this on the payment page:

A credit card error has occured. Please verify your submitted details and resubmit. If this problem persists and please contact us.

 

Instead however it needs to use this "vpc_TxnResponseCode" which is a bank code and the exact error such as "insufficient funds"

 

I've spent hours trying to get that damn code to work. But I can't find any way to make it show up :/

 

Is anyone else using ANZ eGate and managed to resolve a similar problem? :/ I am seriously going crazy over this ;_; so please help?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...