Reward User
1. Fully Managed by MyChips
void Start()
{
MCOfferwallObject.Instance.OnRewardReceived.AddListener(HandleRewardReceived);
}
private void HandleRewardReceived(RewardDTO reward)
{
// Add your logic here to handle the reward, using the
reward.GetRewardInVirtualCurrency()
}
2. Server-to-Server (S2S) Postbacks
If you prefer server-to-server communication, MyChips can send a postback to your server with bonus information. The configuration for postbacks is available in your publisher dashboard. This method is useful for validating and securely rewarding users without client-side manipulation.
If you are testing in Sandbox mode, the value of the macro {user_payout} will be 0.
Last updated