fixes missing results codes (#2284)

This commit is contained in:
António Ferreira
2023-08-01 16:19:21 +02:00
committed by GitHub
parent fe1b8a9b18
commit ecb78cb977

View File

@@ -43,7 +43,20 @@ export interface PaymentData extends PaymentMethodData {
storePaymentMethod?: boolean;
}
export type ResultCode = 'Authorised' | 'Cancelled' | 'ChallengeShopper' | 'Error' | 'IdentifyShopper' | 'Pending';
export type ResultCode =
| 'AuthenticationFinished'
| 'AuthenticationNotRequired'
| 'Authorised'
| 'Cancelled'
| 'ChallengeShopper'
| 'Error'
| 'IdentifyShopper'
| 'PartiallyAuthorised'
| 'Pending'
| 'PresentToShopper'
| 'Received'
| 'RedirectShopper'
| 'Refused';
export interface OnPaymentCompletedData {
sessionData: string;