How to save an item bought by user

I want to save the item that the user has recently bought so that he doesn’t have to buy it again.

Hi there. You can save some information into a local or cloud database but it depends on how you are building your app. Do you have more details?

e7b192b3f1d5a0d1ca53753254157673768d07bf_1_690x322

This is what I tried.