Opencart integration (orders)

Request for general support related to Logic Invoice.
Post Reply
LuxmanS
Posts: 2
Joined: Tue Mar 27, 2018 10:09 pm

Opencart integration (orders)

Post by LuxmanS » Tue Mar 27, 2018 10:47 pm

We have been testing the Opencart integration and have found:
When exporting only processed orders from OC Logic invoice assigns the sequential number to that order, this means when a customer looks for the invoice number to pay it is different from the one sent from OC. e.g. first to export is Inv-46… Logic assigns Inv-1.
If all orders are exported and a new invoice is then created from Logic invoice, it assigns the next sequential number to that invoice. If an order is sent from OC the OC invoice is assigned the next number, not its OC invoice number thus throwing off the OC order numbers. Any help appreciated.

User avatar
Esmond
Site Admin
Posts: 300
Joined: Tue Sep 15, 2015 3:08 pm
Location: Singapore
Contact:

Re: Opencart integration (orders)

Post by Esmond » Wed Mar 28, 2018 10:15 am

It is meant to be that way as invoice number may not be equivalent to an order number. If you wish to keep both IDs in sync, you will need to adjust the database column to change the auto increment count.

LuxmanS
Posts: 2
Joined: Tue Mar 27, 2018 10:09 pm

Re: Opencart integration (orders)

Post by LuxmanS » Wed Mar 28, 2018 3:55 pm

Our apologies, last sentence should say throwing off the OC invoice numbers. It is the invoice number we are referring to not the order number. It is keeping the invoice numbers in sync. e.g. if the first OC invoice to export is Inv-46… want Logic to assign Inv-46 not 1. We can look at the DB and your code, just wanted to ask first.

User avatar
Esmond
Site Admin
Posts: 300
Joined: Tue Sep 15, 2015 3:08 pm
Location: Singapore
Contact:

Re: Opencart integration (orders)

Post by Esmond » Thu Mar 29, 2018 10:18 am

Invoice and opencart IDs wouldn't be in sync, but if you wish to, you can adjust the auto increment count in the logic invoice database.

Post Reply