# Have you tried this code out in test mode? If so, did you put in your account's exact email address in for the customer email? It is possible that we will send that invoice out automatically but test mode restrictions were preventing it