I wanted to show stripe subscriptions details to my admin.
Stripe uses cursor based pagination. So no page available.
Load more was nice but i wanted an "on scroll add a page number(scroll 1,scroll 2)"
So admin can check how many scroll happened,and easliy switch between scroll 1 and scroll 2 or more,
also filter via customer id and plan type(I used per unit and tiered plan)
Here's a codepen of how the UI looks: Link
Here's gist of how i used with stripe subscription pagination php laravel: Gist
Top comments (0)