Retrieval of all purchases from the ecommerce store to show on "your orders section"

I’m trying to retrieve all purchases from users on the app. so I can get orders to my dashboard and also would like to have a specific order ID validation system. Could someone please let me know if there’s something I can do?

Do you use the native buy button flow in Glide or do you use a custom/external flow?

Yes i use the native buy button from glide and it is connected to stripe.