Fix wrong variable name
Fix undefined index notice

This fixes #9
Merge pull request #10 from webpay/undefined_error_fix

Undefined error fix