Closed luanfonceca closed 6 years ago
It should be nice if the TransactionGateway.search method to return a PaginatedCollection and PaginatedResult as the DisputeGateway does. I did:
TransactionGateway.search
PaginatedCollection
PaginatedResult
DisputeGateway
response = self.config.http().post( self.config.base_merchant_path() + "/transactions/advanced_search_ids?page=1&page_size=10", {"search": self.__criteria(query)} )
But that didn't worked, i still were receiving:
{'search_results': {'page_size': 50, 'ids': [... 68 items ...]}}
The transaction search API is older than the disputes API, and by default you can't adjust the page size. There is a little customization you can do, contact our support team for details.
General information
Issue description
It should be nice if the
TransactionGateway.search
method to return aPaginatedCollection
andPaginatedResult
as theDisputeGateway
does. I did:But that didn't worked, i still were receiving: