JoJo
JoJo

Reputation: 161

Fatal error: Call to undefined function lang() in CI Merchant using CardSave

I have setup a checkout using CI Merchant and the payment gateway provider is with CardSave. Everything works perfectly using my test account and test card details however when trying a live transaction on a production account I get the following error:

Fatal error: Call to undefined function lang() in xxx\application\libraries\merchant\merchant_cardsave.php on line 160

Line 160 looks like:

$this->post_redirect($acs_url, $data, lang('merchant_3dauth_redirect'));

I've successfully integrated other merchants using CI Merchant and haven't come across this error before and haven't been able to find anything in Google either.

Has anyone come across and resolved this before?

Upvotes: 0

Views: 1475

Answers (0)

Related Questions