Hi there Isabella_2023,
We see that you visited the following link before coming to Apple Support Communities: If Ask to Buy isn't working - Apple Support We want to ensure that you were able to follow the specific section from that link, as it may help resolve the issue you're encountering:
"If your Ask to Buy requests are missing
If you miss an Ask to Buy notification, you can find the request in Notification Center on your iPhone, iPad, iPod touch, or Mac. If you still don't see your Ask to Buy requests, check your Family Sharing settings, check which Apple ID you're signed in with, and make sure that you're on a supported device."
You'll also want to ensure that Do Not Disturb or Focus is not enabled in Settings > Focus, so that no notifications (like for Ask to Buy) isn't silenced. If needed, this article has more details on Do Not Disturb and Focus: Use Do Not Disturb with Focus on your iPhone or iPad - Apple Support
If you continue to encounter this issue after those steps, you can contact Apple Support for further assistance. You can reach out with the following link: Contact - Official Apple Support
Take care!