Fixes empty return value in hook_payment_api(), Closes #131.