OrderID en InvoiceID

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 Jahre weitere
An order isn't always completed. (payment not received for instance). An invoice is only available after the order is completed. Invoice numbers should always be consecutive.  So an invoice number is not the same as an orderid. How do one go about this in nopcommerce?
4 Jahre weitere
Add a column InvoiceNumber. Initially insert null value for this column. When customer complete  payment, get maximum invoice  number and update the recently paid order invoice number by maximum number+1.
4 Jahre weitere
atyoursite wrote:
An order isn't always completed. (payment not received for instance). An invoice is only available after the order is completed. Invoice numbers should always be consecutive.  So an invoice number is not the same as an orderid. How do one go about this in nopcommerce?


For this purpose from nopCommerce 3.9 CustomOrderNumber column has been added. You can use this field as the invoice number and follow mhsjaber steps.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.