Cloudkibo / KiboPush

0 stars 1 forks source link

Some WhastApp chatbot messages are being stored out of order in live chat #10712

Closed ImranBinShoukat closed 3 years ago

ImranBinShoukat commented 3 years ago

I was testing BigCommerce WhatsApp chatbot and came across this issue when I proceed to checkout. Look at the screen shots below. Messages are being stored out of order in live chat.

Screenshot_2020-12-21-11-20-05-729_com whatsapp

Screenshot 2020-12-21 at 11 28 22 AM
bjafri5 commented 3 years ago

This was happening due to the automated chatbot messages being stored first before the user sent messages. I have fixed this.

@ImranBinShoukat please test on staging

ImranBinShoukat commented 3 years ago

Tested on staging

bjafri5 commented 3 years ago

@ImranBinShoukat please test on production

ImranBinShoukat commented 3 years ago

Some messages are being stored twice and out of order too.

WhatsApp UI:

Screenshot 2020-12-28 at 12 34 39 PM Screenshot 2020-12-28 at 12 34 50 PM

Live Chat UI:

Screenshot 2020-12-28 at 12 35 04 PM Screenshot 2020-12-28 at 12 35 21 PM Screenshot 2020-12-28 at 12 35 30 PM Screenshot 2020-12-28 at 12 35 38 PM Screenshot 2020-12-28 at 12 35 49 PM
bjafri5 commented 3 years ago

This is working fine now. I believe this was happening due to the production client side bundle not being built properly. @ImranBinShoukat please test on production

ImranBinShoukat commented 3 years ago

Tested. As shown in the Zoom meeting, some messages are still being stored out of order. @bjafri5 please look into this

bjafri5 commented 3 years ago

@ImranBinShoukat please test on production

ImranBinShoukat commented 3 years ago

Tested