Right now the easiest way to get an invitation code is by funding an account with an another XRP wallet.  We walk through the step here.  We are exploring options for purchasing invitation codes with services like PayPal, so stay tuned!