프리미엄 기능을 잠금 해제하기 위해 앱에서 인앱 결제를 구현하고 있습니다. 인앱 결제가 올바르게 설정되었습니다. '개발자 페이로드'를 제외하고는 모두 괜찮아 보입니다.Android 인앱 결제 v3 API에서 개발자 페이로드는 어떻게되어야합니까?
샘플 응용 프로그램은
/*
* TODO: verify that the developer payload of the purchase is correct. It will be
* the same one that you sent when initiating the purchase.
*
* WARNING: Locally generating a random string when starting a purchase and
* verifying it here might seem like a good approach, but this will fail in the
* case where the user purchases an item on one device and then uses your app on
* a different device, because on the other device you will not have access to the
* random string you originally generated.
*
* So a good developer payload has these characteristics:
*
* 1. If two different users purchase an item, the payload is different between them,
* so that one user's purchase can't be replayed to another user.
*
* 2. The payload must be such that you can verify it even when the app wasn't the
* one who initiated the purchase flow (so that items purchased by the user on
* one device work on other devices owned by the user).
*
* Using your own server to store and verify developer payloads across app
* installations is recommended.
*/
이 샘플 응용 프로그램은 개발자 페이로드 빈 문자열을 사용했다. 내 질문은 개발자 페이로드로 사용할 문자열은 무엇입니까? 사용자의 기본 이메일 ID를 사용할 수 있습니까?
다음 링크를 확인하십시오. http://stackoverflow.com/questions/17196562/token-that-identify-the-user/17205999#17205999. 나는 당신의 모든 질문을 해결할 수 있기를 바랍니다. – Maulik
감사 Maulik.링크의 대답은 정말 당신이 당신의 질문을 닫아야 하나 또는 오른쪽 아래에있는 내 대답은 다른 사람이 자신의 필요에 대한 유용이 질문을 확인할 수 있도록 질문을 해결하기 위해 –
을 도왔다. – Maulik