Closed ezequiel9 closed 3 years ago
I have no idea, but the message seems to pretty clearly identify the problem. You need to get the customer off of credit hold (I've never had this problem, perhaps it's something about your account settings). I see that there's a Customer::creditHoldOverride
property which is an object of the CustomerCreditHoldOverride
class. I'd probably look into experimenting with the controls associated with this flag. In the UI it looks like it corresponds to something in Setup -> Accounting -> Accounting Preferences. For what it's worth, My 'Customer Credit Limit Handling' is set to 'Warn Only'.
Closing because not a library issue.
Hi, sorry for opening a new issue. I am trying to submit a new sales order and it wont let me do it if the customer is on hold. The thing is that I need to place the sales order when users pay with credit card. See below:
Trying to submit by using this field: (I have tried
$sale->orderStatus = SalesOrderOrderStatus::_fullyBilled;
too)is there any help you can give me ? thanks! :)
Here my code: