0.109.0
Included in this release:
- Adding a new interface to get details about an order through
Approval.actions
. This interface only supports orders created with theorders/v2
API, and integrating with this interface may look something like this:
// Wherever you define the `onApprove` callback
... ,
onApprove: { approval in
approval.actions.getOrderDetails { details, error in
// record the details of your order here
}
},
...
The details
object will give you insight into the Payer
, the array of PurchaseUnits
, and a raw JSON that includes other fields that do not have types added yet.
Also included in this release:
- Accessibility improvements
- Bug fixes