Skip to content

Releases: square/square-php-sdk

Version 6.5.0.20201028

28 Oct 19:08
8fd4046

Choose a tag to compare

Version 6.5.0.20201028 (2020-10-28T00:00)

Existing API updates

Version 6.4.0.20200923 (2020-09-23)

23 Sep 18:49
3b925e5

Choose a tag to compare

Existing API updates

  • Invoices API (beta)
    • InvoiceStatus enum. Added the PAYMENT_PENDING value. Previously, the Invoices API returned a PAID or PARTIALLY_PAID status for invoices in a payment pending state. Now, the Invoices API returns a PAYMENT_PENDING status for all invoices in a payment pending state, including those previously returned as PAID or PARTIALLY_PAID.
  • Payments API
    • ListPayment. The endpoint now supports the limit parameter.
  • Refunds API
  • DeviceDetails. The object now includes the device_installation_id field.

Documentation updates

  • Payment status. Added details about the Payment.status changes and how the status relates to the seller receiving the funds.
  • Refund status. Added details about the PaymentRefund.status changes and how the status relates to the cardholder receiving the funds.
  • CreateRefund errors. Added documentation for the REFUND_DECLINED error code.

Version 6.3.0.20200826 (2020-08-26)

26 Aug 16:39
e0f944e

Choose a tag to compare

Existing API updates

  • Orders API
    • Order object. The total_tip_money field is now GA.
    • CreateOrder, UpdateOrder, and BatchRetrieveOrders. These APIs now support merchant-scoped endpoints (for example, the CreateOrder endpoint POST /v2/orders). The location-scoped variants of these endpoints (for example, the CreateOrder endpoint POST /v2/locations/{location_id}/orders) continue to work, but these endpoints are now deprecated. You should use the merchant-scoped endpoints (you provide the location information in the request body).
  • Labor API
    • Migrate from Employees to Team Members. The Employees API is now deprecated in this release. Accordingly, update references to the Shift.employee_id field to the Shift.team_member_id field of the Labor API.
  • v2 Employees API (deprecated)
  • v1 Employees API (deprecated)

Documentation updates

  • Point of Sale API
  • Team API
    • Team API Overview. Documented the limitation related to creating a team member in the Square Sandbox.

All SDKs

SDK technical reference documentation:

  • Nulls in SDK documentation example code are replaced with example values.

.NET SDK

Bug fixes:

  • The APIException.Errors property was not set on instantiation. Behavior is now corrected to instantiate the class with an empty Errors list.

Version 6.2.0.20200812 (2020-08-12)

12 Aug 17:09
92387d3

Choose a tag to compare

API releases

Existing API updates

SqPaymentForm SDK updates

Documentation updates

Version 6.1.0.20200722 (2020-07-22)

22 Jul 16:53
ecd7b99

Choose a tag to compare

API releases

Existing API updates

  • Catalog API

  • Locations API

  • Merchants API

  • Orders API

    • PricingOptions. You can now enable the auto_apply_discounts of the options to have rule-based discounts automatically applied to an Order that is pre-configured with a pricing rule.
  • Inventory API

    • Replaced 500 error on max string length exceeded with a max length error message. Max length attribute added to string type fields.
  • Terminal API (beta)

    • TerminalCheckout object. The TerminalCheckoutCancelReason field is renamed to ActionCancelReason.

Documentation updates

Version 6.0.0.20200625 (2020-06-25)

25 Jun 16:26
3309b9f

Choose a tag to compare

New API release

Existing API updates

  • Catalog API
    • Pricing is now GA. It allows an application to configure catalog item pricing rules for the specified discounts to apply automatically.
  • Payments API

Version 5.0.0.20200528 (2020-05-28)

10 Jun 16:17
022d998

Choose a tag to compare

Square SDK - PHP

Square is excited to announce the public release of customized SDK for PHP

To align with other Square SDKs generated for SQUARE API version 2020-05-28, the initial version of this PHP SDK is 5.0.0.20200528