DEV Community

Discussion on: Flutter App Support Chat

Collapse
 
ben profile image
Ben Halpern

I'd think you want to store the date of the payment in firebase for that user, then as part of the API call for info related to that user check if they paid within two days and show them the support option in that case?

Collapse
 
ahmadhassan7 profile image
Ahmad Hassan

Yeah you got it right Ben.

Thanks for the reply this is what I want to do within my app. Check the date, paid? Yes --> the support chat is open.