MSHOP_ORDER_BASE.CUSTOMERID IS "SOMETIMES" EMPTY!!

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!
NOAhgomes
Posts: 2
Joined: 01 May 2019, 12:08

MSHOP_ORDER_BASE.CUSTOMERID IS "SOMETIMES" EMPTY!!

Post by NOAhgomes » 01 May 2019, 12:09

Hello!

Software used:

TYPO3 8.7.18
aimeos 17.10.1
aimeio_pay 17.8.2

Situation:
The shop functionality was extended. Every user is forced to create an user account. The normal checkbox was replaced by a hidden input field.

CODE: SELECT ALL
<?php if( !isset( $this->customerId ) ) : ?>
<input
id="option-account"
type="hidden"
value="1"
name="<?= $enc->attr( $this->formparam( array( 'cs_option_account' ) ) ); ?>"
/>
<?php endif; ?>

This worked like a charm. Expect for less than 0.1% of all orders.

For some reason customerid is sometimes empty. I wasted hours of investigating this behavior but did not found any clue. There are no recurring patterns, errors nor anything that leads to this error.

What I tried out:
- I tried every possible way to order a product but could not reproduce this behavior: F5, cancel order and go back, order as registered user, order as new user, order again and again, etc
- the field customerid was sometimes empty on registered users orders and new users orders aswell
- the field customerid was sometimes empty on any statuspayment
Thank you

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

Re: MSHOP_ORDER_BASE.CUSTOMERID IS "SOMETIMES" EMPTY!!

Post by aimeos » 02 May 2019, 11:41

The 17.10 version is only supported via the ELTS subscription of the Aimeos company (https://aimeos.com/support). Either you upgrade to a current version or pay them to have a look.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply