Permalink
Commits on Jun 28, 2017
  1. Merge pull request #333 from stripe/ob-fix-webhook-example-py3

    Fix example for Python 3 compatibility
    brandur-stripe committed on GitHub Jun 28, 2017
  2. Fix example for Python 3 compatibility

    ob-stripe committed Jun 28, 2017
Commits on Jun 27, 2017
  1. Bump version to 1.62.0

    brandur committed Jun 27, 2017
  2. Merge pull request #331 from stripe/ob-pay-invoice-params

    Add parameters when calling `pay` on an invoice
    brandur-stripe committed on GitHub Jun 27, 2017
  3. Merge pull request #332 from stripe/ob-fix-python-warnings

    Use `-W all` instead of `-W always`
    brandur-stripe committed on GitHub Jun 27, 2017
  4. Use `-W all` instead of `-W always`

    ob-stripe committed Jun 27, 2017
  5. Add parameters when calling `pay` on an invoice

    ob-stripe committed Jun 27, 2017
Commits on Jun 24, 2017
  1. Bump version to 1.61.0

    brandur committed Jun 24, 2017
  2. Merge pull request #330 from mastermatt/add_code_to_invalid_request_e…

    …rror
    
    Add optional `code` to `InvalidRequestError`.
    brandur-stripe committed on GitHub Jun 24, 2017
  3. Add optional `code` to `InvalidRequestError`.

    A POST to /v1/charges/ch_xxxx/capture after the auth has
    released/expired will respond with a 400 error and body of:
    ```
    {
      "error": {
        "type": "invalid_request_error",
        "message": "Charge ch_xxxx cannot be captured because the charge has expired (a charge must be captured within 7 days). You will need to create a new charge to retry the payment.",
        "code": "charge_expired_for_capture"
      }
    }
    ```
    
    This change exposes the `code` value as an attr on the error
    instance just as `CardError` does.
    mastermatt committed Jun 24, 2017
Commits on Jun 20, 2017
  1. Bump version to 1.60.0

    grey-stripe committed Jun 20, 2017
Commits on Jun 19, 2017
  1. Add support for ephemeral keys (#326)

    grey-stripe committed on GitHub Jun 19, 2017
Commits on Jun 7, 2017
  1. Bump version to 1.59.0

    brandur committed Jun 7, 2017
  2. Merge pull request #323 from stripe/ob-update-oauth

    Update OAuth implementation
    brandur-stripe committed on GitHub Jun 7, 2017
Commits on Jun 6, 2017
  1. Update OAuth implementation

    ob-stripe committed Jun 6, 2017
Commits on Jun 2, 2017
  1. Bump version to 1.58.0

    brandur committed Jun 2, 2017
  2. Merge pull request #325 from stripe/brandur-reuse-pycurl-object

    Re-use `pycurl.Curl` objects between requests
    brandur-stripe committed on GitHub Jun 2, 2017
  3. Re-use `pycurl.Curl` objects between requests

    This is poorly documented, but it seems that Pycurl will maintain
    established connections between requests [1]. Here we move the
    initialization of the `Curl` object to the constructor and keep almsot
    everything else the same, with the exception of the addition of a
    `self._curl.reset()` call before any request to make sure that our
    options are zeroed (`reset` doesn't reset open connections).
    
    Fixes #324.
    
    [1] http://pycurl.io/docs/latest/curlobject.html#pycurl.Curl.reset
    brandur committed Jun 2, 2017
Commits on May 31, 2017
  1. Bump version to 1.57.1

    brandur committed May 31, 2017
  2. Merge pull request #320 from stripe/ob-fix-pycurl-python3

    Fix pycurl client with Python 3
    brandur-stripe committed on GitHub May 31, 2017
  3. Fix pycurl client with Python 3

    ob-stripe committed May 29, 2017
Commits on May 30, 2017
  1. Merge pull request #299 from stripe/remi-remove-raw-pans

    Remove raw PANs from our test suite
    brandur-stripe committed on GitHub May 30, 2017
Commits on May 28, 2017
  1. Remove raw PANs from our test suite

    Also took the liberty of using `source` instead of `card` as a parameter
    name when relevant as this has been live for over 2 years.
    remi-stripe committed Apr 7, 2017
Commits on May 26, 2017
  1. Bump version to 1.57.0

    brandur committed May 26, 2017
  2. Merge pull request #319 from samtay/webhook/dont-force-globals

    Allow passing api_key directly to webhook event constructor
    brandur-stripe committed on GitHub May 26, 2017
  3. Allow passing api_key directly to webhook event constructor

    samtay committed May 26, 2017
Commits on May 25, 2017
  1. Bump version to 1.56.0

    brandur committed May 25, 2017
  2. Merge pull request #318 from stripe/remi-add-login-links

    Added support for LoginLink on the Account resource
    brandur-stripe committed on GitHub May 25, 2017
Commits on May 16, 2017
  1. Added support for LoginLink on the Account resource

    remi-stripe committed May 11, 2017
Commits on May 11, 2017
  1. Bump version to 1.55.2

    brandur committed May 11, 2017
  2. Merge pull request #312 from stripe/brandur-revert-constraint

    Reverts additional constraint on Requests
    brandur-stripe committed on GitHub May 11, 2017
  3. Reverts additional constraint on Requests

    Revert an additional constraint on Requests that was added because they
    broke old versions of pip/setuptools. Since then a new version seems to
    have been released that's more broadly compatible, so lets loosen this
    constraint again to make dependency problems for our users less likely.
    brandur committed May 11, 2017
Commits on May 10, 2017
  1. Bump version to 1.55.1

    brandur committed May 10, 2017
  2. Merge pull request #311 from stripe/brandur-requests-ceiling

    Constrain Requests to < 2.13.0 if on setuptools < 18.0.0
    brandur-stripe committed on GitHub May 10, 2017