Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't purchase consumable product twice #2086

Closed
ertasahmet opened this issue Nov 24, 2022 · 4 comments
Closed

I can't purchase consumable product twice #2086

ertasahmet opened this issue Nov 24, 2022 · 4 comments
Labels

Comments

@ertasahmet
Copy link

Hi,
We use RevenueCat for iOS iAP. We have 8 consumable products that you can always purchase.
The problem here is for example we purchased product1 apple popup appears, we purchase it, and get receipt from apple and validate it. This process is okey and the correct one for us. Bu if we purchase product1 again RevenueCat doesn't show Apple purchase popup and pretending like we purchased. It goes purchase callback with success. And we process it like successful transaction but it is not, so user gets error. But if we purchase product2 after product1 it is okey and successful transaction. After that if we purchase product2 again, RevenueCat pretending like we purchased but actually we didn't purchased, so we get error.
In short, we can't purchase same product twice or thrice because RevenueCat doesn't show Apple purchase popup and pretending like we purchased. I've tried different RevenueCat versions like 4.14.0 - 4.14.1 - 4.14.2 - 4.14.3 but all of them is same.
I uploaded attachment for this problem. In that attachment, user tapped the product, we called Purchases.shared.purchase method. but RevenueCat doesn't show Apple popup and behaved like we purchased. You can see the datas; transactionId, purchaserInfo everything is correct and also error is nil. How is this possible?
What should we do?
Thanks for your help.
Best Regards.

  1. Environment
    1. Platform: iOS
    2. SDK version: 4.14.0 - 4.14.1 - 4.14.2 - 4.14.3
    3. StoreKit 2 (disabled with useStoreKit2IfEnabled(false)) (Y/N): N
    4. OS version: iOS 16
    5. Xcode version: 14.0
    6. How widespread is the issue. Percentage of devices affected. : Every device
  2. Debug logs that reproduce the issue
  3. Steps to reproduce, with a description of expected vs. actual behavior
  4. Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
    revenue
@ertasahmet ertasahmet added the bug label Nov 24, 2022
@RCGitBot
Copy link
Contributor

RCGitBot commented Nov 24, 2022

👀 SDKONCALL-178 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

@codykerns
Copy link
Member

Hey @ertasahmet, we encountered this issue previously and it was fixed by #1965

Can you share complete logs here?

@codykerns
Copy link
Member

Going to close this out, feel free to follow up if you're still having trouble.

@github-actions
Copy link

This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants