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

Allow TransactionGateway.Search to return more than 50 transactions. #206

Merged

Commits on Jan 9, 2018

  1. Allow TransactionGateway.Search to return more than 50 transactions.

    What
    ===
    Fetch the Ids for all search results then fetch the transaction details
    one page at a time. TransactionGateway.Search should be backwards
    compatible. The only difference being additional fields in
    TransactionSearchResult and more than 50 transactions in the
    Transaction field.
    
    Per
    https://developers.braintreepayments.com/reference/general/searching/search-results/java
    up to 20,000 transactions can be returned.
    
    Much of this work is based on the work by @rkulla:
    https://github.com/dailyburn/braintree-go/commit/d44aa131caad6055c0e4aac2f3a24450aa818c63
    
    Why
    ===
    The Braintree API only returns 50 transactions with all details at one
    time. To fetch all results from a query, the transaction ids must be
    fetched first, then the details can be fetched by specifying 50 ids per
    API call. This issue was first raised in braintree-go#112.
    dsmcfarl committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    f8c56af View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2018

  1. Update comments

    leighmcculloch committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    81e6ad0 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2018

  1. Configuration menu
    Copy the full SHA
    4ff8e46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cfd0d22 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2018

  1. Configuration menu
    Copy the full SHA
    48c837c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9b626f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d51182b View commit details
    Browse the repository at this point in the history
  4. fix customer request

    leighmcculloch committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    e80120b View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2018

  1. Configuration menu
    Copy the full SHA
    92ac712 View commit details
    Browse the repository at this point in the history