There have been several scandals involving gambling in International Cricket, but not related to players wagering on games.
First, players on several of the countries which have 'Test Status', (there are only 12), are paid very poorly for International matches. Many of them make big money later in their careers playing professionally in tournaments like the Indian Premier League, an annual tournament which takes place in March-April, when most countries are not playing Internationally, because of the seasonal weather.
Second, betting on Cricket is a huge business in India, but punters rarely wager on the outcome of the matches. They prefer to bet on the result of individual ball deliveries, with odds bases on the frequency of the result, (a bit like Roulette, where the odds are 16/36 betting on black or red or even/odd, or 34-1, betting on a specific black or red number. High frequency results like no run scored might pay something like 11-10, but a low percentage result like a dismissal would have a high payout.
Gamblers have colluded with players so that a specific infrequent result will happen at a specific time, with minimal impact on the final result. In 2010, in a Pakistan-England Test match, gamblers arranged for two Pakistani bowlers to bowl 'no balls' at specific points in the match, (the bowler was too close, when he planted his lead foot before delivering the ball. It's one penalty run, and the delivery doesn't count, but runs scored by the batting side would count). This kind of 'match fixing' can go completely unnoticed, if the action was considered unintentional.