Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

Keeping sharedSecret secret #60

Closed
FergalMohan opened this issue Feb 26, 2014 · 1 comment
Closed

Keeping sharedSecret secret #60

FergalMohan opened this issue Feb 26, 2014 · 1 comment

Comments

@FergalMohan
Copy link

Hi Matt, I'm hoping you can clarify something around the use of the password field when using the verifyTransactionWithMethod: method. Apple recommends that a Server is used to combine the SharedSecret (password) with the receipt before calling Apple to verify it so that the secret is not embedded in the App. AFAICR this is specifically for auto-renewing subscriptions but might apply to other IAPs. CargoBay seems to be subverting that recommendation by combining the SharedSecret on the Client side, or is it doing something special that eliminates the need for a intermediate Server in the first place ?
Fergal

@mattt
Copy link
Owner

mattt commented Mar 6, 2014

verifyTransactionWithMethod: is provided as a convenience, and does not prescribe any one particular way of doing this. A password may be sent with the request, but it is not required. I do not have any personal recommendations beyond what Apple might suggest.

@mattt mattt closed this as completed Mar 6, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants