ORDERS: Blank Confirmation page if Payment Gateway selected

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
spinfold
Forum Members
Forum Members
Posts: 44
Joined: Fri Nov 12, 2010 10:15 am

ORDERS: Blank Confirmation page if Payment Gateway selected

Post by spinfold »

Hi,

With the release of CMSMS2.0, I've been looking again at the CGeCommerce series of modules. I've had problems with various versions/features of this series of modules for the past two years, and whenever I do an eCommerce site I have to use a particular combination of modules from late 2013 to get everything I need to work.

So with the release of CMSMS2, I've been looking again to see if it's suitable for use on a new eCommerce site I will be starting in the new year.

The only problem I've encountered so far (with only the Promotions module left to fully test) is that when a payment gateway is selected in CGECommerceBase, the Orders module doesn't show the final confirmation page. Here is that page WITHOUT a payment gateway selected:

Image

As soon as I select a payment gateway in CGECommerceBase, I just get a blank page:

Image

I've tried with both StripeGateway and PayPalGateway, both of which appear to be correctly configured.

When trying with a payment gateway selected, the PHP error log states:
PHP Fatal error: Call to a member function fetch() on null in /home/stuartp/public_html/cmsms2/lib/classes/internal/module_support/modtemplates.inc.php on line 173
Here is that code (line 173 is the one that starts $result, five lines up from the bottom):

Code: Select all

/**
 * @access private
 */
function cms_module_ProcessTemplateFromDatabase(&$modinstance, $tpl_name, $designation = '', $cache = false, $modulename = '')
{
    $smarty = $modinstance->GetActionTemplateObject();
	if( $modulename == '' ) $modulename = $modinstance->GetName();

	$oldcache = $smarty->caching;
	if( $smarty->caching != Smarty::CACHING_OFF ) {
		$smarty->caching = ($modinstance->can_cache_output())?Smarty::CACHING_LIFETIME_CURRENT:Smarty::CACHING_OFF;
	}
	$result = $smarty->fetch('module_db_tpl:'.$modulename.';'.$tpl_name, '', ($designation != ''?$designation:$modulename));
	$smarty->caching = $oldcache;

	return $result;
}
Here is my CMSMS config:
CMSMS Version 2.0.1.1

Installed Modules
CGSimpleSmarty 2.0.2
CMSContentManager 1.0.1
DesignManager 1.0.1
FileManager 1.5.1
JQueryTools 1.3.7
MicroTiny 2.0
ModuleManager 2.0
Navigator 1.0.1
PaypalGateway 2.4
Search 1.50.1
CMSMailer 5.2.4
CGExtensions 1.49.11
CGEcommerceBase 1.5.2
CGPaymentGatewayBase 1.3.1
CGSmartImage 1.20.5
Cart2 1.1.3
FrontEndUsers 1.30.6
Orders 1.16.5
DestinationBasedShipping 1.1.2
FRTaxes 1.2.2
FRShipping 1.2.3
MinPriceHandling 1.0.1
Products 2.24.2
PriceBasedShipping 1.1.3
Promotions 1.2
SelfRegistration 1.9.3
StripeGateway 1.1.1
As this is a pure testing sandbox, I can grant access to FTP and CMSMS Admin if you'd like to check this out yourself. Let me know via PM.
spinfold
Forum Members
Forum Members
Posts: 44
Joined: Fri Nov 12, 2010 10:15 am

Re: ORDERS: Blank Confirmation page if Payment Gateway selec

Post by spinfold »

No-one else has this problem?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: ORDERS: Blank Confirmation page if Payment Gateway selec

Post by Jo Morg »

I believe this has been fixed in SVN already and should be in next release of CMSMS.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
spinfold
Forum Members
Forum Members
Posts: 44
Joined: Fri Nov 12, 2010 10:15 am

Re: ORDERS: Blank Confirmation page if Payment Gateway selec

Post by spinfold »

Thanks. Any idea of release date? And any link to the source of this bug report/SVN entry?

(In my testing with Promotions, I also discovered that some condition/reward combinations also triggered this blank page error)

Stuart
spinfold
Forum Members
Forum Members
Posts: 44
Joined: Fri Nov 12, 2010 10:15 am

Re: ORDERS: Blank Confirmation page if Payment Gateway selec

Post by spinfold »

Does anyone know if this is fixed with CMSMS 2.1?
spinfold
Forum Members
Forum Members
Posts: 44
Joined: Fri Nov 12, 2010 10:15 am

Re: ORDERS: Blank Confirmation page if Payment Gateway selec

Post by spinfold »

Just to confirm to anyone else with the same problem, this issue appears to be fixed in CMSMS 2.1

Stuart
Locked

Return to “Modules/Add-Ons”