question

Ismael Covarrubias avatar image
Ismael Covarrubias asked

Was Receipt.getPurcahseToken removed in 1.0.64.0?

As the subject states, I updated to Amazon Mobile Associates v1.0.64.0 and now I'm getting compilation errors because method getPurchaseToken( ) is not found on com.amazon.device.associates.Receipt class. If this was removed on purpose, what do we use instead? Is getReceiptId() exactly the same? Thanks in advance.
mobile associates
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Nick Gardner avatar image
Nick Gardner answered
Hi Ismael, Yes, that function is deprecated. getReceiptID() should return a unique token that can be used to validate the purchase.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.