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

How can I read the message "Sandbox receipt used in production"? #547

Open
janczakb opened this issue Jun 18, 2020 · 6 comments
Open

How can I read the message "Sandbox receipt used in production"? #547

janczakb opened this issue Jun 18, 2020 · 6 comments

Comments

@janczakb
Copy link

Apple rejected my application,

their suggestion:

When validating receipts on your server, your server needs to be able to handle a production-signed app getting its receipts from Apple’s test environment. The recommended approach is for your production server to always validate receipts against the production App Store first. If validation fails with the error code "Sandbox receipt used in production," you should validate against the test environment instead.

@Sam-Spencer
Copy link
Collaborator

Hi! Thanks for sharing this issue. This is a common issue that seems to be occurring during App Review. The community (myself included) is working on resolving these issues. For workarounds, I strongly suggest you look at some of the other app-review related issues


Also, please take a look at issue #550. Your help with this project is dearly needed!

@isseium
Copy link

isseium commented Jun 26, 2020

I think this is may same reason issue #545 .
I've created a link for anyone who also found this issue.


I have same error, but I could not reproduce in my environment. It may happens only in Apple Review environment.
However I tried verify receipt in my server side. I think that we should not use SwiftyStoreKit.verifyReceipt.

Then, I passed apple review.

@Mihai-github
Copy link

Hi, I'm having the same issue... anyone has a clear solution or something to help me debug this because is not clear why this happens.

@hoho0482
Copy link

hoho0482 commented Mar 9, 2022

Just got exactly the same. Anyone made progress with this?

@kkk-shimizu
Copy link

Please tell me how to solve this.
I've been stuck with this issue for 2 months now and can't move forward.

@sabiland
Copy link

sabiland commented Sep 6, 2023

Refactor code to StoreKit 2 with this GIT library: Mercato
I do not have any problems with Mercato.

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

No branches or pull requests

7 participants