cancel
Showing results for 
Search instead for 
Did you mean: 

Customer support Backoffice: duplicate refunds

premkumarnd
Discoverer
0 Kudos

Hi Experts,

In CS bakcoffice, we have the Refund Line Items and Refund Amount options to refund the product. When we click on Refund line items, a popup window will appear where we can select product, qty and then submit button. After submit, it will invoke a refund business process and complete the refund.


The issue here is, when we try to refund the same product from different browser at the same time, it will call the Business process almost same time and doing the duplicate refund.

We have tried to restrict it by introducing a flag and checking to avoid duplicate entry. Unfortunately, it is still making duplicate refunds. Seems the Bunsiess process is Asynchronous.

Do you have any suggestions to fix this issue?

Thanks in advance

Prem

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member633554
Active Participant
0 Kudos

Can you try setting this in local.properties

task.polling.interval.min =0

Also, are you running multiple nodes that are capable of task processing? If yes, it might be worth testing disabling the processing on one of the nodes

task.processing.enabled=true

premkumarnd
Discoverer
0 Kudos

leoryan ,

Thanks. I've tried with the above options by setting task.polling.interval.min =0 in local.properties and task.processing.enabled=true

I've tested after applying the above changes on my local. Still, im getting the duplicate refunds for a same order when I initiate refunds from different browsers.

There is an option to make Business process action as Synchronous(canJoinPreviousNode="true") which is not helping in my case.

Please let me know, If I would need to add any other additional steps to avoid duplicate refunds.