by merlmagic » Tue Aug 19, 2014 12:00 am
Testing out the newly promoted 1.2.0.0.
Was previously using the basic beta version.
It seems the bet reference returned when placing stakes under £2 using placebet() is returning the cancelled £2 bet reference rather than the stake under £2. So if you place a bet for 50p using placebet() the bet reference returned is the initial £2 and not the subsequent 50p bet.
This has changed as the bet reference returned was always the 50p bet.
My understanding is the only way you can get the 50p bet reference now is to use GetBets() which is not ideal because if you have multiple matched and unmatched bets you have no way of identifying the correct bet. Looking through the updated help manual I see a 'token' was added to placebets() but that is only available when using the BetPlaced() event.
Can you confirm this change is by design ? If it is the only solution I can see is to use the betplaced() event with a token ?