Order ID getting lost

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
cyrotek
Posts: 58
Joined: 27 Jun 2019, 16:43

Re: Order ID getting lost

Post by cyrotek » 03 Jul 2019, 10:44

It pops up with every payment now it seems.

How do i backtrack the error?

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Order ID getting lost

Post by aimeos » 03 Jul 2019, 10:48

Did you make any other changes in the checkout process?
The madmin_log table contains the stack traces and you have to check what methods are called before and why the order ID is lost (propably removed from the session somewhere).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

cyrotek
Posts: 58
Joined: 27 Jun 2019, 16:43

Re: Order ID getting lost

Post by cyrotek » 03 Jul 2019, 11:02

How can it be lost, when it is correctly display like literally three lines underneath?

The madmin_log doesnt contain any hints regarding the missing order.id.

cyrotek
Posts: 58
Joined: 27 Jun 2019, 16:43

Re: Order ID getting lost

Post by cyrotek » 03 Jul 2019, 11:19

Well, it seems to be related to the rebate, whenever i add one, the error pops up, regardless of the payment method, when i dont have one added, it works.

Okay, it seems to only happen with 100% voucher, every other works fine.

It also seems that the basket isnt cleared, when i use the regular methods, the basket is empty, whenever i use the 100% voucher, it isnt.

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Order ID getting lost

Post by aimeos » 03 Jul 2019, 11:50

Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

cyrotek
Posts: 58
Joined: 27 Jun 2019, 16:43

Re: Order ID getting lost

Post by cyrotek » 03 Jul 2019, 12:45

That worked now. Seems like the $total <= 0 was throwing the error. Thank you.

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Order ID getting lost

Post by aimeos » 03 Jul 2019, 13:03

We've changed the code a bit. Does it work for you too?
https://github.com/aimeos/ai-client-htm ... 9cb692610c
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

cyrotek
Posts: 58
Joined: 27 Jun 2019, 16:43

Re: Order ID getting lost

Post by cyrotek » 04 Jul 2019, 07:31

Yes, works like a charm. Thank you.

Post Reply