Just use this sample project to use Authorize.net payment gateway.