hyochan/flutter_inapp_purchase

finishTransaction PlatformException(acknowledgePurchase, E_UNKNOWN, An unknown or unexpected error has occured. Please try again later., null) on android

Closed this issue · 1 comments

Version
5.4.1

Platform: Android

Expected behavior

When I switch between subscriptions, subsciption should be applied with given proration mode.

Actual behavior

In AndroidInappPurchasePlugin.kt billingClient!!.acknowledgePurchase method throws PlatformException(acknowledgePurchase, E_UNKNOWN, An unknown or unexpected error has occured. Please try again later., null)
And the error code is 6

Tested environment

I tested on Samsung Galaxy A12 - Android 12

Steps to reproduce the behavior

  • Subscribe to monthly subscription
  • Then subscribe to yearly subsciption with proration mode and given token.
  • Then subscribe to monthly subscription
    And repet a few times.

I am not %100 sure that this is an issue or I am having a mistake.

This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.