question

pogacha avatar image
pogacha asked

purchase done or confirmation dialog shown only?

By documentation https://developer.amazon.com/sdk/in-app-purchasing-physical/reference/api-reference.html SUCCESSFUL Indicates that the purchase was successfully completed. But by quick start guide: public void onPurchaseResponse(final PurchaseResponse response) { if (response.getStatus() == PurchaseResponse.Status.SUCCESSFUL){ [b] // sucessfully displayed product detail page[/b] } else { // Invalid product ID or product not in stock } } We would need to know if actually there was a purchase, if it was cancelled or if the product was not found.
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

Mudeem@Amazon avatar image
Mudeem@Amazon answered
Hello, Thank you for writing to us. PurchaseResponse.Status SUCCESSFUL indicates the following: A successful product purchase if receiveReceipt was set to true in PurchaseRequest. A product detail page was successfully displayed if receiveReceipt was set to false in PurchaseRequest. Please note that you should set receiveReceipt to true only if you implement a digital bundle. Regards Mudeem
10 |5000

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