I want to create order history page

Hey, i want to create an order history page, but i don’t know how to do it.

I am successfully charging a customer using “charge the customer” command and it is doing the payment part.

But i want to show that order history as well, so how can i do that.

Hello @muscleengineer98 welcome to the community!

Create a “charge” data type and create an entry every time you charge a customer. Add the current user to it and any other metadata fields needed.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.