Add BNCode for Paypal Analytics.  Props @omarabid.  Closes #1524.
Merging
Changing the format of invoice id
Verifying the variables before assignment