question

Sevil avatar image
Sevil asked

Checking if user has an amazon account or not for subscription payment

Hi , Sorry if my question is inappropriate. I am so new on Amazon. I am trying to integrate In app purchasing into my existing app. I already have many signed up users. And whenever my user wants to subscript to my app I am using just Amazon payment on Fire TV. Even my user does not have an amazon account api gives successful message however payment is having pending status. Is there any way to check if a user has an amazon account that is enabled for payment or not ? Thank you for your help.
iap
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 Sevil, For subscriptions, you should be checking on app launch or sometime during the running of the app whether the subscription is still active using getPurchaseUpdates(). This will let you disable the subscription of the user if the Amazon IAP service no longer reports it as active. There is no way to check if a user has a payment method enabled or not, but your app shouldn't need to check that. For more information on implementing IAP, please see the following links: https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs-v2/getting-started-with-iap-v2.0 https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs-v2/understanding-in-app-purchasing https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs-v2/faq-for-iap-2.0 https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs-v2/implementing-iap-2.0 Thanks, Nick
10 |5000

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