bizz84 / SwiftyStoreKit

Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and macOS 10.10+ ⛺
MIT License
6.57k stars 796 forks source link

I can not buy again consumable #700

Closed pixnek closed 1 year ago

pixnek commented 1 year ago

Bug Report

I can not buy again consumable. In receipt from SwiftyStoreKit.localReceiptData contains all the previous transactions that I bought earlier (one transaction for each product)

To Reproduce Steps to reproduce the behavior:

  1. Create new sand box account
  2. Buy consumable (it work)
  3. Buy it consumable again (get message "this built-in purchase has already been made"

Expected behavior I want buy this consumable again

Platform Information

Additional context

Add any other context about the problem here.

Potentially Related Issues

Screenshots in parse SwiftyStoreKit.localReceiptData contains next { transactionId: '2000000403755054', originalTransactionId: '2000000403755054', bundleId: bundleId, productId: 'productId.16000_coins', purchaseDate: 1693575290000, originalPurchaseDate: 1693575290000, quantity: 1, type: 'Consumable', inAppOwnershipType: 'PURCHASED', signedDate: 1693577637365, environment: 'Sandbox', transactionReason: 'PURCHASE', storefront: 'USA', storefrontId: '143441' } { transactionId: '2000000403771042', originalTransactionId: '2000000403771042', bundleId: bundleId, productId: 'productId.4000_coins', purchaseDate: 1693577415000, originalPurchaseDate: 1693577415000, quantity: 1, type: 'Consumable', inAppOwnershipType: 'PURCHASED', signedDate: 1693577637365, environment: 'Sandbox', transactionReason: 'PURCHASE', storefront: 'USA', storefrontId: '143441' } { transactionId: '2000000403771590', originalTransactionId: '2000000403771590', bundleId: bundleId, productId: 'productId.8000_coins', purchaseDate: 1693577506000, originalPurchaseDate: 1693577506000, quantity: 1, type: 'Consumable', inAppOwnershipType: 'PURCHASED', signedDate: 1693577637365, environment: 'Sandbox', transactionReason: 'PURCHASE', storefront: 'USA', storefrontId: '143441' }

pixnek commented 1 year ago

Sorry, the problem was on apple's side