Developer forum

Forum » Rapido » Usage per customer discount setting not honored

Usage per customer discount setting not honored

Melissa Borgmann
Melissa Borgmann
Reply

Hello,

We have an issue where the 'Usage per customer' setting on a discount is not being honored. That is, customers are able to re-use the discount code several times (Fig. 1) despite the 'Usage per customer' being set to a value of '1' (Fig. 2).

Figure 1
 

Figure 2
 

The only thing that stood out during troubleshooting is that the discount statistics do not appear to be updating based on the count of orders using the same discount code in the database (Fig. 3).

Figure 3


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Can you show the userid column on the ecomorders table?

And are you sure the "usage per customer" was set to 1 before the actual orders were created?

Can you reproduce the issue during checkout?

And last - any integration moving orders back and forth?

Many questions - thanks for clarifying.

BR Nicolai

 
Melissa Borgmann
Melissa Borgmann
Reply

Hi Nicolai,

Thank you for the fantastic follow-up questions, and the quick response.

While we were able to reproduce the issue during checkout for the discount in question, I'm semi-convinced that it was just a wonky discount record. After further troubleshooting, we were able to confirm that the 'Usage per customer' functionality is working as expected on newly created discount records. Apologies for the waste of your time!

 

For the sake of documentation in case anyone else runs across this thread in the future for a similar issue:

And are you sure the "usage per customer" was set to 1 before the actual orders were created?

Unfortunately we did not have a way of confirming this for past orders, but we did confirm it in the reprodution of the issue.

And last - any integration moving orders back and forth?

Yes.

 

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Melissa

Thank you for the feedback - just to be sure - you now have it working as intended?

Thanks, Nicolai

 
Melissa Borgmann
Melissa Borgmann
Reply

Nicolai,

Yes, we have it working as intended with a new discount record.

 

You must be logged in to post in the forum