I apologize about the unexpected problems occurring with the code. Maybe I did something wrong, as I don't have experience with generating codes for WonderCards, however, I've generated plenty codes for item modification, pokemon, etc, using PokeGen, and it's always been a success. It's quite simple to generate, so I'm not sure why it wouldn't work.
If I can't figure it out, hopefully someone more experienced with WonderCards could help. But I'm gonna work with it myself and try to see what's up, then let you know.