-
Notifications
You must be signed in to change notification settings - Fork 787
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
Receipt for purchaseProduct() #91
Comments
@San-Jeevan - did you ever figure this out? |
i have the same problem as well |
No but I found a workaround that works nicely.
|
I figured out the same solution, however I am unable to access the transaction ID or other values from the receipt here - did anyone manage to do that? |
@francisjervis the receipt is a json object. in_app is a property of the receipt. in_app.transaction_id is what you are looking for. |
@San-Jeevan Thank you for your reply! However, when I try to use |
@francisjervis yes. does this work? |
Thank you once again! Unfortunately no, it does not - the following code based on #10 does, though:
|
@francisjervis That is correct.
|
Also note that the receipt does not contain only the latest receipt. |
Id like to ask for this issue to remain open a little longer because I just got a mail from a customer from Russian who used the in app purchase and i cannot see anything in my server log files! There is something dodgy going on, im gonna test a little more. |
Well I have received more in-app purchases and the one case I was talking about appears to be a russian scam attempt. (claiming he bought, but didnt receive the purchased item, turns out it was fake receipt) |
just wanted to give an update. I am receiving more complaints from people that they havent been credited for the purchase. this library is too unstable if you are going to use a 3rd party server to verify the receipt. sucks really. |
@San-Jeevan any progress updates on this? |
Getting this error Receipt verification failed: receiptInvalid(receipt: ["status": 21002], status: SwiftyStoreKit.ReceiptStatus.malformedOrMissingData) |
Why does it not return a receipt when you perform SwiftyStoreKit.purchaseProduct().
All I get back is productID which is useless if you are going to perform validation on a remote server (and not verification on client);
The text was updated successfully, but these errors were encountered: