Post by jules_nz » Thu Aug 20, 2009 6:45 am

Yes I meant I changed it in the Admin panel
I haven't touched the code

Active Member

Posts

Joined
Tue Aug 11, 2009 12:58 pm

Post by SuperJuice » Thu Aug 20, 2009 6:49 am

jules_nz wrote:Yes I meant I changed it in the Admin panel
I haven't touched the code
Phew!

Good stuff :D :)

Will make displaying the order number default in the next version.

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by Daniel » Mon Aug 24, 2009 7:10 am

is this extension ready?

if so can you please post it in the contributions?

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by SuperJuice » Mon Aug 24, 2009 8:35 pm

I have now added it to the contributions page.

It was available from http://www.pixeldrift.net/opencart/ too.

I will make the small adjustments and release 1.1 when I get a spare minute as the changes are minor. If anyone has other small suggestions or changes let me know.

Thanks Daniel.

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by Qphoria » Fri Sep 11, 2009 2:00 am

Is the order ref in the email subject working? I see you setting "ref" in the index. But in the callback there is no "ref" reference so the confirm function never gets that ref value.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by SuperJuice » Fri Sep 11, 2009 7:29 am

To clarify are you referring to the email sent from opencart or the email sent from paymate? I am away on work atm so can't take a look. Should get some time this weekend. If someone can recreate the problem let me know the steps to recreate and I'll take a look.

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by Qphoria » Fri Sep 11, 2009 10:44 am

Nevermind. I was reading it wrong.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by chapter5 » Sat Jul 10, 2010 11:36 am

hi!

everything works for me but when paymate redirects me back to the site i get this error:
Error: Could not load template catalog/view/theme/defaultcommon/success.tpl!

it looks like there should be a / between the default and common [default/common/success.tpl]
can't find the bugger! does any one know where i can fix it?

cheers!

Newbie

Posts

Joined
Fri Jul 09, 2010 3:42 pm

Post by chapter5 » Sat Jul 10, 2010 11:50 am

found it! in paymate.php file there's a missing /
this->template = $this->config->get('config_template') . 'common/success.tpl';
this->template = $this->config->get('config_template') . '/common/success.tpl';

NOTE: payMate increased their security so if you checkout with fake/test credit card details you'll get an error saying that openCart could not find the success.tpl! 8)

Newbie

Posts

Joined
Fri Jul 09, 2010 3:42 pm

Post by Qphoria » Mon Jul 12, 2010 11:38 pm

The correct fix is to replace:

Code: Select all

this->template = $this->config->get('config_template') . 'common/success.tpl';
WITH:

Code: Select all

if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/success.tpl')) {
				$this->template = $this->config->get('config_template') . '/template/common/success.tpl';
			} else {
				$this->template = 'default/template/common/success.tpl';
			}
The code is left over from 1.2.x and needs that full change to work with the latest. This has been fixed for 1.4.9

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by chapter5 » Tue Jul 13, 2010 6:46 am

awesome - thanks!

Newbie

Posts

Joined
Fri Jul 09, 2010 3:42 pm

Post by cmebd » Tue Jul 13, 2010 3:04 pm

Are there actually two versions of this module???? Just wondering because when I clicked on SuperJuices' link that reverted to the AussiePost thread????

May be that some of the posts here are outdated in regard to version(s) of OC? Does Q's module cover all the issues/changes made in the previous posts?


Cheers

A stupid question is the one you -don't- ask.........(Anon)

)C1.5.0.1 (IN devel)
OC V1.4.9.5
OC V1.4.9.2
OC V1.4.7
OC V1.3.4


User avatar
Active Member

Posts

Joined
Fri Nov 13, 2009 11:17 am
Location - Tasmania, Australia

Post by Qphoria » Tue Jul 13, 2010 11:15 pm

my module was made at a different time and has no known issues. I've not tested the one in the core but it looks like it was at least a little out of date.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 4 guests