Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment.list() pagination workaround #8

Closed
PJUllrich opened this issue Aug 8, 2017 · 2 comments
Closed

Payment.list() pagination workaround #8

PJUllrich opened this issue Aug 8, 2017 · 2 comments
Labels
Milestone

Comments

@PJUllrich
Copy link
Contributor

I heard from @OGKevin that pagination of payment lists does not work yet, but I wanted to ask whether you maybe have a temporary workaround for that?

I thought about maybe using the Payment ID, but I'm not sure whether that ID is specific per user (i.e. increases by 1 whenever the user makes a payment, independently of the actions of other users) or global (increases whenever any user makes a payment).

Do you maybe have an idea of a workaround in mind?

@OGKevin
Copy link
Contributor

OGKevin commented Aug 8, 2017

Even if you manage to get the pagination url, there is no way to make a call to it via the SDK 🤔. So I think there is no other work around to just implement it right ? @dnl-blkv

@dnl-blkv
Copy link
Contributor

dnl-blkv commented Aug 8, 2017

@PJUllrich There is no quick workaround yet, but pagination will be there in the near future. Soon (today or tomorrow) we will release 0.10.0, which will include generic response object (with model and response headers). On top of it, we will add pagination (included as a part of the response object).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants