I has been happening with both PayFlowPro and Custom Gateway.
I found an older post on the AC forum (viewtopic.php?f=42&t=8767&start=0&hilit ... ess#p37630) where it is mentioned as a default behavior.
Is it still the case with version 7.0.4 ??
In what cases the flag will be false ??
Appreciate any help on this.
Thanks.
Code: Select all
if (checkOut)
{
//PROCESS THE CHECKOUT
CheckoutRequest checkoutRequest = new CheckoutRequest(payment);
CheckoutResponse checkoutResponse = Token.Instance.User.Basket.Checkout(checkoutRequest);
if (checkoutResponse.Success) // Success Flag Is True almost Always.
{
if (CheckedOut != null) CheckedOut(this, new CheckedOutEventArgs(checkoutResponse));
Response.Redirect(NavigationHelper.GetReceiptUrl(checkoutResponse.OrderId));
}
else
{
//...
}
}