CMS MADE SIMPLE FORGE

Orders

 

[#9184] No payment form tpl

avatar
Created By: John Moore (jomoweb)
Date Submitted: Mon Apr 22 19:16:49 -0400 2013

Assigned To: Robert Campbell (calguy1000)
Version: 1.14
CMSMS Version: 1.11.5
Severity: Critical
Resolution: None
State: Open
Summary:
No payment form tpl
Detailed Description:
Just uninstalled orders and upgraded to 1.14 and there is no payment form in the
back end.  I do not seem to see one in the templates directory either. I tried
dropping 'orig_paymentform_template.tpl' from 1.12 to see if anything would
happen, and it did not seem to do anything.

Here is the error I receive after I continue / submit information after the
"ORDER PROCESSING:" information page with billing and shipping info.

ERROR: at line 127 in file
/pathtosite/lib/smarty/sysplugins/smarty_internal_templatebase.php:

Unable to load template module_db_tpl 'Orders;paymentform_'

This earlier bug seems to be similar, but was marked as fixed:
http://dev.cmsmadesimple.org/bug/view/7893

I should add that the module functions properly with Authnet SIM (1.0.3) and
PayPal (2.3.11) but not Authnet AIM (1.4), which is what reproduces the bug /
error.


History

Comments
avatar
Date: 2013-04-30 20:01
Posted By: John Moore (jomoweb)

After more exploration, this may just be a bug with Authnet AIM integration,
since I did ok with the off-site gateways.  I ended up using paypal, but Authnet
AIM would have been nice.
      
avatar
Date: 2013-05-27 20:14
Posted By: Cameron (smokeycam)

I think this could be a bug.... if someone else can anyone confirm (if i am just
being plain stoopid or if this is a bug..) with the Orders module, I was just
doing a dev site locally, trying to set up the offline Credit Card setup. Built
in with Orders module i believe?

Anyways, I was trying to find the part where you enter in the custom credit
card details, but to no avail. Via the front end of the webiste. Have filled in
all parameters ect. But all I get to on the confirm page is 'Proceed with
manuyal Checkout', which I then do but the order appears to bypass the credit
card form area (assuming there is one)  Using all the latest CG E-Commerce mods
and clean install ect.

I did an ugly hack to see if I could debug further:

 // if( orders_helper::requires_creditcard_number() ) {
	$destpage = $this->GetPreference('paymentpage',$returnid);
	if( $destpage < 1 ) $destpage = $returnid;
$this->Redirect($id, 'payment', $destpage, array('order_id' =>
$order->get_id()));
   

    //  }

so, forcing this came up with: 

A required parameter was missing

Cheers
      
avatar
Date: 2014-02-27 17:47
Posted By: Jon Halder (jhalder)

I was able to add the Payment tab back in by adding the following lines to the
action.admin_templates.php file:

echo $this->SetTabHeader('confirmorder',
			 $this->Lang('order_confirm_form_templates'));
//Added next line, previous line shown for context
echo $this->SetTabHeader('payment',
			 "Payment Templates");

//Now skip down
echo $this->StartTab('confirmorder');
include(dirname(__FILE__).'/function.confirmorder_tab.php');
echo $this->EndTab();

//Added these lines below, above lines for context
echo $this->StartTab('payment');
include(dirname(__FILE__).'/function.payment_tab.php');
echo $this->EndTab();


This allowed me to create and edit the payment form.  When I created the default
form and used it, I got an error on the page that a required parameter was
missing.  I am trying to use the AuthNetAIM module version 1.4 with the Orders
module 1.15.3.

It appears as if the AuthNetAIM module is no longer supported in the current
versions of the Orders module, is that the case?  Or will these updates I am
making be helpful in restoring the functionality of this module for future use
if I can get it working?
      
Updates

Updated: 2013-04-30 20:00
description: Just uninstalled orders and upgraded to 1.14 and there is no payment form in the back end. I do not seem to see one in the templates directory either. I tried dropping 'orig_paymentform_template.tpl' from 1.12 to see if anything would happen, and it did => Just uninstalled orders and upgraded to 1.14 and there is no payment form in the back end. I do not seem to see one in the templates directory either. I tried dropping 'orig_paymentform_template.tpl' from 1.12 to see if anything would happen, and it did

Updated: 2013-04-23 13:36
description: Just uninstalled orders and upgraded to 1.14 and there is no payment form in the back end. I do not seem to see one in the templates directory either. I tried dropping 'orig_paymentform_template.tpl' from 1.12 to see if anything would happen, and it did => Just uninstalled orders and upgraded to 1.14 and there is no payment form in the back end. I do not seem to see one in the templates directory either. I tried dropping 'orig_paymentform_template.tpl' from 1.12 to see if anything would happen, and it did

Updated: 2013-04-22 19:44
description: Just uninstalled orders and upgraded to 1.14 and there is no payment form in the back end. I do not seem to see one in the templates directory either. I tried dropping 'orig_paymentform_template.tpl' from 1.12 to see if anything would happen, and it did => Just uninstalled orders and upgraded to 1.14 and there is no payment form in the back end. I do not seem to see one in the templates directory either. I tried dropping 'orig_paymentform_template.tpl' from 1.12 to see if anything would happen, and it did
resolution_id: => 5