혹시 첫 출시가 안되면 프로모션 기능 테스트가 안되나요?
현재 첫 검수 올라가 있는 중인데요.
프로모션 코드를 보내도 응답이 오지 않습니다.
정확히는 TEST 코드나 실제 코드를 보내면 지급이 되었다고는 뜨는데
콜백이 오지 않아서 계속 중복지급이 되고 있습니다.
콜백이 SUCCESS로 와야 지급완료 처리를 하고 다시 안보낼 수 있는데 그게 안되고 있습니다.
이 코드는 제가 다른 토스앱 런칭 했을 때 쓰던 코드 그대로인데 다른 앱들은 여기에 값이 잘 들어와서
실제 유니티에서 선언된
public void OnGrantPromotionRewardResult(string jsonResult)
{
Debug.Log($"Promotion Result Received: {jsonResult}");
try
{
var result = JsonUtility.FromJson<PromotionResult>(jsonResult);
switch (result.status)
{
case "SUCCESS":
Debug.Log($"Point Grant Success: {result.key}");
GameManager.Instance.PromotionGrantedStatus = 1;
break;
case "FAIL":
Debug.LogError($"Point Grant Failed: {result.message} (Code: {result.errorCode})");
break;
case "NOT_SUPPORTED":
Debug.LogError("Toss App Version is too old. Not Supported.");
break;
case "ERROR":
default:
Debug.LogError("System Error Occurred");
break;
}
}
catch (System.Exception e)
{
Debug.LogError($"JSON parsing error: {e.Message}");
}
}
이쪽으로 잘 들어오고
Debug.Log($“Promotion Result Received: {jsonResult}”);
여기에 로그도 잘 남습니다.
circleleap 앱만 Debug.Log($“Promotion Result Received: {jsonResult}”); 이 로그에 아무것도 남지 않습니다.
토스에서 처리는 된거 같은데 왜 응답을 안주는지 모르겠어요.
오후 2시 50분 전후로 다시 프로모션을 테스트 했을 때도 계속 중복해서 지급이 되고 있습니다.