CMS MADE SIMPLE FORGE

Orders

 

[#4279] Order status is NOT updated, even if the payment is completed

avatar
Created By: Sofia Hauschildt (sonya)
Date Submitted: Thu Nov 05 07:46:31 -0500 2009

Assigned To: Robert Campbell (calguy1000)
Version: 1.6.7
CMSMS Version: None
Severity: Major
Resolution: Fixed
State: Closed
Summary:
Order status is NOT updated, even if the payment is completed
Detailed Description:
function ProcessGatewayResult(..) breaks the order processing if no e-mail
address was given during submitting order.

This piece of code tries to get e-mail address from the order, if e-mail is not
provided it returns an error string that is NOWHERE displayed:

    // Get the email address
    $billing = $order_obj->get_billing();
    $tmp = $billing->get_email();
    if( $tmp )
      {
	$email_addr = $tmp;
      }
    if( !$email_addr )
      {
return $this->Lang('error_noemailaddress'); <---------------- breaks order
updating
      }

Order processing is finished at this place without any debug notice. Order
status is not updated, e-mails are not sent out.

--------------------------------------
Possible solutions:
-------------------------------------
1. Make e-mail address mandatory in order form.
2. Get e-mail address from FEU-account if it was not provided during order
submit.


History

Updates

Updated: 2012-04-18 04:19
cmsms_version_id: => -1
state: Open => Closed

Updated: 2011-06-19 10:50
resolution_id: 5 => 7

Updated: 2009-11-15 04:01
description: function ProcessGatewayResult(..) breaks the order processing if no e-mail address was given during submitting order. This piece of code tries to get e-mail address from the order, if e-mail is not provided it returns an error string that is NOWHERE di => function ProcessGatewayResult(..) breaks the order processing if no e-mail address was given during submitting order. This piece of code tries to get e-mail address from the order, if e-mail is not provided it returns an error string that is NOWHERE di
resolution_id: => 5