clarification of functionality
updating inventory instead of overwriting it.
sync error codes from iOS native code
some comments and todos to be implemented later.
more resolution for the failed payment's reason