Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Releases: square/connect-python-sdk

2.3.2

21 Sep 14:34
Compare
Choose a tag to compare

Bug Fixes

  • Fix incorrect code that incorrectly checked if values are None.

2.3.1

19 Sep 23:17
Compare
Choose a tag to compare

New features: Charge Orders

  • Charge endpoint can charge a specific Order.

2.3.0

13 Sep 18:01
Compare
Choose a tag to compare

New features: Orders API

  • CreateOrder endpoint creates an itemized order which can be referenced in messages to the Charge endpoint.
  • BatchRetrieveOrders retrieves order objects referenced in one or more transactions based on the provided order_id.

Note: at this point, BatchRetrieveOrders only returns information on paid orders made through Square's eCommerce APIs (Transactions, Checkout).

Other Changes

  • order is removed from Transaction
  • order_id is added to Transaction
  • OrderLineItemDiscountType.UNKOWN renamed to OrderLineItemDiscountType.UNKOWN_DISCOUNT
  • OrderLineItemTaxType.UNKOWN renamed to OrderLineItemDiscountType.UNKOWN_TAX
  • ChargeRequest.idempotency_key is restricted to max length 192
  • ChargeRequest.card_nonce is restricted to max length 192
  • ChargeRequest.customer_card_id is restricted to max length 192
  • ChargeRequest.reference_id is restricted to max length 40
  • ChargeRequest.note is restricted to max length 60
  • ChargeRequest.customer_id is restricted to max length 50
  • CreateCheckoutRequest.redirect_url is restricted to max length 800
  • Added phone_number and business_name to Location

2.2.1

15 Aug 19:54
Compare
Choose a tag to compare
  • Documentation style and links fixes
  • Support for pagination on V1 endpoints
  • Include refund detail fields on V1 Refund model
  • Fix locations example on README

Updated OAuth definition.

13 Mar 22:29
Compare
Choose a tag to compare
2.0.2

a bug fix for list locations endpoint