PennController for IBEX › Forums › Support › Automatic credit granting, and group assignment › Reply To: Automatic credit granting, and group assignment

Hello!
1. Everything looks OK as far as I can tell, but I think you should be able to test SONA’s credit granting if you can create a dummy account. At least this is what I did in the past, and I setup my SONA projects to only accept my dummy account as a participant (maybe I also password-protected them?) and I was able to do a proper testrun
2. Do you mean that the credit token will be different for different SONA experiments? I forget. If so, you could check the value of withsquare from the URL at the top of your script and set a variable accordingly that you use to generate your link:
credittoken = ""; switch (GetURLParameter("withsquare")) { case 0: credittoken = "hellothere"; break; case 1: credittoken = "byenow"; break; case 2: credittoken = "salutsalut"; break; case 3: credittoken = "bonbahaplus"; break; } // ... newText('Click here to confirm my submission on SONA.')
Jeremy