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

(flutter, debug mode)purchaseFromAppStore is not called after a successful Paywall purchase #45

Open
IronPythonDev opened this issue Dec 17, 2024 · 1 comment

Comments

@IronPythonDev
Copy link

(flutter, debug mode)purchaseFromAppStore is not called after a successful Paywall purchase

Configuration:
photo_2024-12-17 20 44 32

Invoke code:
Screenshot 2024-12-17 at 20 45 22

Flutter Doctor:
Screenshot 2024-12-17 at 20 40 10

@anglinb
Copy link

anglinb commented Dec 23, 2024

Hey Vlad! Can you provide a bit more context here? Let me lay out my understanding just to make sure we're on the same page.

There are two ways to use Superwall. 1) Without a purchase controller 2) With a purchase controller. They are totally mutually exclusive.

If you are using your purchase controller (2), then we delegate that to you for all purchase handling. So when you say purchaseFromAppStore is not being called after a successful paywall purchase, that doesn't make sense to me. Because the purchaseFromAppStore method would have to be called for the purchase to be successful b/c when using a purchase controller then you must make the purchase.

If you're not trying to use a purchase controller (1), but you want to know the status of your purchase, you can use the Superwall delegate to listen to purchase callbacks.

Would you mind explaining exact steps you took in the feedback within the UI that you got to indicate that the purchase was successful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants