Updated credit token logic.
Fixed PaymentResult.php error.