Field 'receiptJson' doesn't exist on type 'OrderTransaction'

Highlighted
New Member
5 0 0

The error in the subject is returned when requesting receiptJson on the OrderTransaction object using the current 2020-10 API version.

The documentation for this version says this field should be use instead of "receipt" as it has been deprecated, however receiptJson this error is returned by the 2021-01 release candidate as well (the unstable version does return this field).

I would like to confirm that although the documentation states receipt is deprecated it is still safe to use this filed with the 2020-10 version.

Thanks

 

0 Likes