Posted: September 16, 2017 at 12:42 pm
September 16, 2017 at 12:42 pm In Belgium (like many European countries) sequential invoice numbers are mandatory; therefore they need to be generated right after registration. My code:
Question number 16 is an admin question called ‘invoice number’ added to the user details system group. This works most of the time, but randomly, the invoice number is not filled and remains empty. Any idea of what’s going wrong?
|
|
An update: a customer (accidentally) subscribed twice for the same event (albeit on two different days). The first time, no invoice number was assigned, the second time, there was. Same code, same event, same user data, different results. Strange. |
|
Hi there, I recommend creating an issue here: https://github.com/eventespresso/event-espresso-core/issues Our developers can review this there and provide some feedback. |
|
Haha, ok, I got it. Apparently when a user fills out the registration form and proceeds to the payment step, an AJAX call already registers him on the background before completing the payment step. The payment only adds a transaction entry to the registration. This means that if a user, after completing the user info step, presses the back button before paying, refills the registration form and then pays, he is registered twice for the same event, albeit with only one transaction. We had a user who did that 4 times, so now he is registered 4 times for the same event: 3 incomplete and 1 complete registration. It’s a little bit strange, but it sort of makes sense. |
|
The support post ‘Sequential invoice numbers – my solution works, almost…’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.