ChrisASearles / CompLinks

0 stars 0 forks source link

Completed shopping trip (Completed meaning ending with a purchase) not showing up in our back end as completed. #216

Closed robgpeak closed 7 years ago

robgpeak commented 7 years ago

@cgladue Shopping trip 694 and purchase that I made on 6/13/17 was posted in the LS report on the 14th, but it is not showing up in our back end as a completed transaction.

uploads/2f816092-1f5d-493f-9386-74594e23f062/Screen Shot 2017-06-15 at 9.49.54 PM.png

robgpeak commented 7 years ago

Hi @cgladue any feedback on this?

cgladue commented 7 years ago

Yep this is because this merchant reports in batches and not realtime, Linkshare for realtime transactions reports the transaction twice, once with "is_event" set to yes and once with it set to no, so i filtered to only act on the transactions on is_event = true .. but aparently for batch transactions is_event is always no, so i will change my logic to require is_event = true only with transaction_type = realtime, otherwise if transaction_type = batch then it wont even look at the event flag, ill have it fixed in a few minutes,.

cgladue commented 7 years ago

@robgpeak please take a look at your shopping trips and see if the total is correct now.