Post by Acropoli » Fri Nov 11, 2011 9:47 pm

Hi All,

Having a bit of an odd issue with paymate. I have uninstalled and reinstalled the module as part of the diagnosing method, and searched these forums thoroughly.

When performing a paymate transaction, after paymate accepts the transaction and the customer hits the "Confirm Order" button, they are then redirected back to the OpenCart site with the following error:
Notice: Undefined variable: breadcrumbs in /var/www/vhosts/acropolits.co.nz/httpdocs/store/catalog/view/theme/default/template/common/success.tpl on line 4Warning: Invalid argument supplied for foreach() in /var/www/vhosts/acropolits.co.nz/httpdocs/store/catalog/view/theme/default/template/common/success.tpl on line 4
Paymate Transaction Failed

Unfortunately there was an error processing your Paymate transaction.

Warning: Unable to locate or update your order status

Please verify your Paymate account balance before attempting to re-process this order

If you believe this transaction has completed successfully, or is showing as a deduction in your Paymate account, please Contact Us with your order details.
My success.tpl is as follows:

Code: Select all

<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <h1><?php echo $heading_title; ?></h1>
  <?php echo $text_message; ?>
  <div class="buttons">
    <div class="right"><a href="<?php echo $continue; ?>" class="button"><span><?php echo $button_continue; ?></span></a></div>
  </div>
  <?php echo $content_bottom; ?></div>
<?php echo $footer; ?>
Any help would be appreciated.

Newbie

Posts

Joined
Wed Jan 05, 2011 11:51 am

Post by Acropoli » Mon Nov 14, 2011 8:03 am

Well I've contacted paymate to see if they had anything to say, and there's certainly nothing changed on their end causing the issue, so I'm unsure what the issue is.

If anyone has any ideas, I'd be ever so greatful.

Newbie

Posts

Joined
Wed Jan 05, 2011 11:51 am

Post by bassdude » Fri Dec 02, 2011 5:46 pm

i have this same problem has anyone figured it out yet? realy realy need to get it sorted.

Newbie

Posts

Joined
Mon Nov 21, 2011 11:22 am

Post by bassdude » Mon Dec 05, 2011 5:54 pm

Anyone?. how can this be fixed

Newbie

Posts

Joined
Mon Nov 21, 2011 11:22 am

Post by jules_nz » Wed Dec 14, 2011 5:44 am

I updated my cart to the latest version (had 1.5.1 before this) and now have this error too
Anyone come up with a fix yet?

Active Member

Posts

Joined
Tue Aug 11, 2009 12:58 pm

Post by jules_nz » Thu Dec 15, 2011 3:50 pm

Anyone?

I have spent the afternoon testing the controller/payment/paymate.php file but no matter what have been unable to make the shop show anything other than the "unable to find order" error

Paymate is still working on a cart I have with 1.4.9, so it is definitely a bug with the new cart version

Active Member

Posts

Joined
Tue Aug 11, 2009 12:58 pm

Post by bassdude » Sat Dec 17, 2011 4:34 am

No one cares about us lol.

Newbie

Posts

Joined
Mon Nov 21, 2011 11:22 am

Post by jules_nz » Sat Dec 17, 2011 4:51 am

so it seems LOL

I wonder if acropolits.co.nz got it working
Their shop is in maintenance mode still

Active Member

Posts

Joined
Tue Aug 11, 2009 12:58 pm

Post by bassdude » Sat Dec 17, 2011 7:34 am

please. somone must have the answer?

Newbie

Posts

Joined
Mon Nov 21, 2011 11:22 am

Post by bassdude » Mon Dec 19, 2011 9:51 am

i found this. will this solve all my problems?

http://opencartguru.com/paymate

Newbie

Posts

Joined
Mon Nov 21, 2011 11:22 am

Post by jules_nz » Mon Dec 19, 2011 12:35 pm

I would ask if they have fixed the bug in the OpenCart default version in 1.5.1.3 before purchasing it

Active Member

Posts

Joined
Tue Aug 11, 2009 12:58 pm

Post by bassdude » Mon Dec 19, 2011 1:39 pm

oh man. who do i have to pay to get this sorted?

Newbie

Posts

Joined
Mon Nov 21, 2011 11:22 am

Post by Qphoria » Mon Dec 19, 2011 11:14 pm

Well my version on opencartguru will work for sure.. but we should still fix the one in the core.

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Mon Dec 19, 2011 11:57 pm

OK try this:

1. EDIT: catalog/controller/payment/paymate.php

2. FIND:

Code: Select all

$this->data['continue'] = $this->url->link('common/home');
3. AFTER, ADD:

Code: Select all

		$this->language->load('checkout/success');
			
		$this->data['breadcrumbs'] = array(); 

      		$this->data['breadcrumbs'][] = array(
        		'href'      => $this->url->link('common/home'),
        		'text'      => $this->language->get('text_home'),
        		'separator' => false
      		); 
			
      		$this->data['breadcrumbs'][] = array(
        		'href'      => $this->url->link('checkout/cart'),
        		'text'      => $this->language->get('text_basket'),
        		'separator' => $this->language->get('text_separator')
      		);
					
			$this->data['breadcrumbs'][] = array(
				'href'      => $this->url->link('checkout/checkout', '', 'SSL'),
				'text'      => $this->language->get('text_checkout'),
				'separator' => $this->language->get('text_separator')
			);	
						
      		$this->data['breadcrumbs'][] = array(
        		'href'      => $this->url->link('checkout/success'),
        		'text'      => $this->language->get('text_success'),
        		'separator' => $this->language->get('text_separator')
      		);

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bassdude » Tue Dec 20, 2011 6:57 am

hi guru dude. that did not seem to work ether.


still getting the

Paymate Transaction Failed
Unfortunately there was an error processing your Paymate transaction.

Warning: Unable to locate or update your order status

Please verify your Paymate account balance before attempting to re-process this order

If you believe this transaction has completed successfully, or is showing as a deduction in your Paymate account, please Contact Us with your order details.

Newbie

Posts

Joined
Mon Nov 21, 2011 11:22 am

Post by Qphoria » Tue Dec 20, 2011 8:39 am

bassdude wrote:hi guru dude. that did not seem to work ether.


still getting the

Paymate Transaction Failed
Unfortunately there was an error processing your Paymate transaction.

Warning: Unable to locate or update your order status

Please verify your Paymate account balance before attempting to re-process this order

If you believe this transaction has completed successfully, or is showing as a deduction in your Paymate account, please Contact Us with your order details.
I only fixed the breadcrumb error.. didn't see the other part

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Tue Dec 20, 2011 8:54 am

Ok Try the attached version.
Drop it into catalog/controller/payment

It looks like the problem is that it isn't finding the order id. So this will log all the response data back from paymate's servers to your System->Error Log area in the admin.

PM me with that information after you try checking out again

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Tue Dec 20, 2011 9:12 am

It wasn't meant to work. I want you to send me the debug information

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bassdude » Tue Dec 20, 2011 9:15 am

Qphoria wrote:It wasn't meant to work. I want you to send me the debug information
oh right where do i find that?.

never mind found it. and sent you a PM

Newbie

Posts

Joined
Mon Nov 21, 2011 11:22 am

Post by bassdude » Tue Dec 20, 2011 9:56 am

did i send you the right info?

Newbie

Posts

Joined
Mon Nov 21, 2011 11:22 am
Who is online

Users browsing this forum: No registered users and 8 guests