If I buy downloadable product, I not recieve mail about my order.
Error in this code (~line 650, function - ec_checkout_review_form_submit):
if ($txn->gross <= 0) {
store_send_invoice_email($txn->txnid); // ERROR HERE
drupal_set_message(t('Your order has been submitted.'));
return '';
}
Parameter of function store_send_invoice_email the object. In this code this funciton give ID.
This bug may be fixed like here
if ($txn->gross <= 0) {
store_send_invoice_email($txn);
drupal_set_message(t('Your order has been submitted.'));
return '';
}
Comments
Comment #1
danielb commentedI dunno what this has to do with my module.
Comment #2
gordon commentedI have actually abandoned the Drupal 5.x version of v4 as I needed to get it going on Drupal 6.x I would recommend you do the same.