-
Notifications
You must be signed in to change notification settings - Fork 26
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
Does Superwall provide "receipt_data" and "transaction_id" ? #274
Comments
Hey @dimpy-iroid! You can get the transaction id from the SuperwallDelegate 👉 https://superwall.com/docs/3rd-party-analytics#3rd-party-analytics Does that seem like what you're looking for? |
Hello @anglinb, I have implemented it in my code:
There are two IDs, "originalTransactionIdentifier" and "storeTransactionId"; I'm not sure which ID is the transaction id from these two!! |
The original transaction ID can be thought of like a subscription ID. But it also happens to be the very first transaction in the subscription as well. |
Yes, Thank you for your response. I got the answer. But how do I get "receipt_data" from Superwall? |
Can you tell me more about what data you're looking for? We expose a bunch of information on the transaction_complete event: https://superwall.com/docs/tracking-analytics#superwall-events If there's something missing, we can definitely add it there. We don't currently expose the receipt itself. If you wanted to do verification on your server, would be easier to take the original transaction id and use the App Store Server API instead. |
Closing this since I haven't hear back, hopefully that was what you needed! |
Yes, we solved this issue, Thank you for your response! |
I have to send "receipt_data" and "transaction_id" to the server. Where do I get these?
The text was updated successfully, but these errors were encountered: