This repository has been archived by the owner on Apr 23, 2021. It is now read-only.
Releases: square/connect-python-sdk
Releases · square/connect-python-sdk
2.3.2
Bug Fixes
- Fix incorrect code that incorrectly checked if values are
None
.
2.3.1
2.3.0
New features: Orders API
CreateOrder
endpoint creates an itemized order which can be referenced in messages to theCharge
endpoint.BatchRetrieveOrders
retrieves order objects referenced in one or more transactions based on the providedorder_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 Transactionorder_id
is added to TransactionOrderLineItemDiscountType.UNKOWN
renamed toOrderLineItemDiscountType.UNKOWN_DISCOUNT
OrderLineItemTaxType.UNKOWN
renamed toOrderLineItemDiscountType.UNKOWN_TAX
ChargeRequest.idempotency_key
is restricted to max length 192ChargeRequest.card_nonce
is restricted to max length 192ChargeRequest.customer_card_id
is restricted to max length 192ChargeRequest.reference_id
is restricted to max length 40ChargeRequest.note
is restricted to max length 60ChargeRequest.customer_id
is restricted to max length 50CreateCheckoutRequest.redirect_url
is restricted to max length 800- Added
phone_number
andbusiness_name
to Location
2.2.1
Updated OAuth definition.
2.0.2 a bug fix for list locations endpoint