Issue #6: isPaymentSuccess can return undefined property error