Post by Qphoria » Sat Jan 23, 2010 1:53 pm

In the catalog/model/checkout/order.php file
Under the confirm function there is some code:

Code: Select all

if ($order_query->row['payment_address_format']) {
	$format = $order_info['payment_address_format'];
} else {
	$format = '{firstname} {lastname}' . "\n" . '{company}' . "\n" . '{address_1}' . "\n" . '{address_2}' . "\n" . '{city} {postcode}' . "\n" . '{zone}' . "\n" . '{country}';
}
There is no variable $order_info
If using a formatted address, the order will never be created

The fix is to replace that code with this code:

Code: Select all

if ($order_query->row['payment_address_format']) {
	$format = $order_query->row['payment_address_format'];
} else {
	$format = '{firstname} {lastname}' . "\n" . '{company}' . "\n" . '{address_1}' . "\n" . '{address_2}' . "\n" . '{city} {postcode}' . "\n" . '{zone}' . "\n" . '{country}';
}

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Daniel » Wed Jan 27, 2010 1:20 am

thx

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Purebeads » Sat Jul 24, 2010 7:13 pm

This thread is given as the solution to a problem in another thread:

http://forum.opencart.com/viewtopic.php?f=20&t=10121

The problem in that thread was that the payment process was hanging on "Please Wait" after the Confirm Order button was pressed, and the customers were not getting their confirmation pages. That's the problem that I am having right now. What confuses me is that this is an old thread and this problem should have been fixed in the release I am using. Does the above modification still need to be made in 1.4.8b?

Okay, I just searched that file for the undefined variable and couldn't find it, so I guess that has been fixed. So why is the payment process still hanging at the end?

Active Member

Posts

Joined
Fri Apr 30, 2010 12:07 pm

Post by NoExtraTime » Fri Jul 30, 2010 1:20 pm

I am in the same boat here, having the same problem. Any ideas anybody?

Thanks

Currently developing an awesome eBay integration extension for Open Cart
Demo is Live!
You can checkout screenshots and other development status on my website


New member

Posts

Joined
Wed Mar 03, 2010 5:17 pm
Who is online

Users browsing this forum: No registered users and 11 guests