v9.0.0
·
667 commits
to master
since this release
Major version release - The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions.
(
⚠️ #1336 feat(http-client): retry closed connection errors- #1415 #1417 API Updates
⚠️ Replace the legacyOrder
API with the newOrder
API.- Resource modified:
Order
. - New methods:
cancel
,list_line_items
,reopen
, andsubmit
- Removed methods:
pay
andreturn_order
- Removed resources:
OrderItem
andOrderReturn
- Removed references from other resources:
Charge.order
- Resource modified:
- Add support for
amount_discount
,amount_tax
, andproduct
onLineItem
- Change type of
Charge.shipping.name
,Checkout.Session.shipping.name
,Customer.shipping.name
,Invoice.customer_shipping.name
,PaymentIntent.shipping.name
,ShippingDetails.name
, andSource.source_order.shipping.name
fromnullable(string)
tostring