show the payment status in the command view

This commit is contained in:
2017-07-07 01:22:45 +02:00
parent c82a88f6a9
commit 98bfd50ca9
6 changed files with 16 additions and 7 deletions

View File

@ -170,8 +170,5 @@ namespace Yavsc.Helpers
};
}
public static bool IsSuccess(this PayPalPayment info) {
return info.State == PayPal.PayPalAPIInterfaceService.Model.PaymentStatusCodeType.COMPLETED.ToString();
}
}
}