hyochan / flutter_inapp_purchase

(Sun Rised!) Flutter plugin for In App Purchase.
MIT License
550 stars 235 forks source link

FlutterInappPurchase.purchaseUpdated don't work for subscription #483

Closed KyawSoeW1n closed 3 weeks ago

KyawSoeW1n commented 5 months ago

flutter_inapp_purchase: ^5.6.1

(iOS)

Expected behavior - FlutterInappPurchase.purchaseUpdated listener work for subscription is success. Actual behavior - FlutterInappPurchase.purchaseUpdated listener don't work even subscription is success.

Tested environment - Simulator

Steps to reproduce the behavior - Make a subscription and wait for result.

anilthummar commented 4 months ago

@KyawSoeW1n @arisbartee @LinusU @emostar @nucleartux Why my payment not work in ios device , Always getting CANCEL keyword,

purchaseErrorSubscription = FlutterInappPurchase.purchaseError.listen((purchaseError) { debugPrint('purchase-error: ${purchaseError?.code}');

  So using this code getting close my transaction process, Please help me 
KyawSoeW1n commented 4 months ago

You have to make product id in apple store and use that id to purchase or subscription. For me , stream are not working. But payment is success.

KyawSoeW1n commented 4 months ago

@anilthummar only FlutterInappPurchase.connectionUpdated and FlutterInappPurchase.purchaseUpdated are not working.

github-actions[bot] commented 1 month ago

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.