Jump to content

How to translate: Remote Transaction Failure. Please Contact Support


souzadavi

Recommended Posts

2 hours ago, souzadavi said:

there is anyway to get it in next releases of whmcs? 

officially, you start a feature request - definitely won't go in the v7.7.1 maintenance release, so I would suspect you're looking at v8 in the Summer at the earliest.

btw - if you open a {debug} in the template, does $errormessage contain the above string that you want to translate? if so, perhaps change the value of $errormessage with a language string and return it to the template...

Link to comment
Share on other sites

@brian! nice! Hook again, below is how I fixed it for while....

 

add_hook('ClientAreaPageCreditCard', 1, function($vars) {

	return  array('errormessage' => 'Erro com o cartão de crédito');
});

 

Ps.: I created the request to be able to translate it... thanks

 

But I din´t figured out how to bring the information from _storeremote function to the hook.. There is any way to communicate from the module gateway to hooks??

 

 

thanks a lot!!!

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated