File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,13 @@ export class AcsWebhooksHandler {
44
44
return this . getAuthenticationNotificationRequest ( ) ;
45
45
}
46
46
47
- if ( Object . values ( acsWebhooks . RelayedAuthenticationRequest . TypeEnum ) . includes ( type ) ) {
47
+ // manually commented out: RelayedAuthenticationRequest has no TypeEnum
48
+ // if(Object.values(acsWebhooks.RelayedAuthenticationRequest.TypeEnum).includes(type)) {
49
+ // return this.getRelayedAuthenticationRequest();
50
+ // }
51
+ if ( ! type && this . payload [ "paymentInstrumentId" ] ) {
52
+ // ad-hoc fix for the relayed authentication request
53
+ // if type is undefined but paymentInstrumentId is present then it is a relayedAuthenticationRequest
48
54
return this . getRelayedAuthenticationRequest ( ) ;
49
55
}
50
56
You can’t perform that action at this time.
0 commit comments