Looking at the "If" code it seems I have to enter the live APIs as well as the Test ones, will try this