Hacker News new | past | comments | ask | show | jobs | submit login
DoorDash apparently using client side source of truth
35 points by dkarp on Dec 12, 2023 | hide | past | favorite | 12 comments
I order from Doordash a couple times a week because I am lazy and it's convenient. I get a dashpass through my credit card which makes it less extortionate.

Last week I saw that I was being charged the full service fee and delivery fee on my order. I also saw that it had been going on for weeks and I hadn't noticed (should be paying more attention...)

Here's the interesting part. When I contacted support, they said I should delete the app and re-install it. After doing so, the dashpass was working correctly.

I've worked on plenty of checkout systems and they always used the backend as source of truth, even if they did some calculations on the frontend for UI reasons. I can't see how Doordash can be doing that if re-installing the app was enough to fix my dashpass. Surely even if the app showed the incorrect value then the backend should have known I had a dashbpass and billed me correctly.

Anyway, now I have to email doordash and try to get them to refund service charges and delivery fees for a month of orders...




That application has to many errors that benefits only them, like that customer does not realize that they're practice is place the food order to the away far restaurant whe you have the same rest. Across the street by default. Weird thow??????


Did you check your credit card statement to confirm that you were actually being charged the incorrect price (incl. the service charges and delivery fees)? Is it possible that the client calculates the price shown in the UI itself while the backend calculates it separately to do the actual billing, and there was simply a discrepancy between the calculations until you re-installed the app? Of course if you did check your credit card statement then there is definitely something weird going on.


Good question, I just checked my credit card statement and they billed what the UI said they would...

I can also still see the orders in the my order history with the incorrect amount


I remember being able to put in a negative tip to zero out the order cost, checkout, and tip in cash. So I don't find this shocking.


Considering what we're talking about, a negative tip might have actually charged the driver. Hope you tipped in cash more than you negative tipped. :-P


Yeah that was definitely a concern ahah. But it was a past and short-lived life and tipping big was definitely a favorite hobby at the time, so I'm sure that if I completed the order that he got a stack!


delivery guy pays you to deliver your food


They're still telling stories about how they got to watch BlueGh0st take the bag with his own hands. They begged to watch him eat, but that creeped him out a bit. They settled on an autograph and a handshake instead of payment. Ah, the life of a celebrity HN user.


I'm not sure it's "client side source of truth" as much as it's just a bug with the dashpass status being lost occasionally unless you go into the payment settings under the account and select your credit card again.

This bug happens to me every few months and I know when it happens because it's clearly displayed in the checkout screen that the dashpass discount is not being applied to the total. I'll see delivery fees and other fees applied that are usually waived or discounted.

There's a similar bug on both doordash and uber eats where my delivery address gets reset.


This likely has to do with how in app purchases are processed. Theres a few ways to process in app purchases, but one of them involves the OS proving the app with a signed receipt which the app then sends to the server. Likely a bug prevented this receipt from being sent, but when the app was reinstalled it would have been presented with the signed receipt again since it had not been marked as consumed yet.


DashPass doesn't use in-app purchases, they do their own billing.


Tell HN:




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: