This error is occurring with an admin entered order with a custom entered product with no price, but with a shipping charge.

The card payment was also being processed by the admin.

Was able to process the card by giving the product a price and removing the shipping.

Comments

longwave’s picture

Status: Active » Fixed

Fix committed to CVS.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

LGLC’s picture

Version: 6.x-2.x-dev » 6.x-1.4
Status: Closed (fixed) » Needs review

Hi, thanks so much for this incredible module! I'm having this same issue with the description being missing for admin-created orders.

I've looked through the commit for the 6.x-2.x-dev branch and see that the description is no longer set to $data['description'] but now calls a private function (that is not present in the 6.x-1.x branches). For the 6.x-1.4 version, I've changed the description in line 407, inside uc_protx_vsp_direct_charge to match that of the 6.x-2.x-dev branch (i.e. 'Description' => _uc_protx_vsp_direct_description($order),)and have copied and pasted the function _uc_protx_vsp_direct_description($order) inside the module. Should this fix the problem? I'm sorry I haven't provided a patch - that's something I still need to learn how to do!

Thanks.

  • longwave committed 730e1eb on 6.x-3.x
    #1054916: Order description must not be empty.