Commit 8aedc37 1 parent 2e79755 commit 8aedc37 Copy full SHA for 8aedc37
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -118,14 +118,17 @@ export function getThreeDomainSecureComponent(): TDSComponent {
118
118
decorate : ( { props, value, onError } ) => {
119
119
return ( err , result ) => {
120
120
const isCardFieldFlow = props ?. userType === "UNBRANDED_GUEST" ;
121
-
121
+ console . log ( "Seb userType" , { userType : props ?. userType } ) ;
122
+ console . log ( "Seb cardFieldFlow" , { isCardFieldFlow } ) ;
122
123
// HostedFields ONLY rejects when the err object is not null. The below implementation ensures that CardFields follows the same pattern.
123
124
124
125
const hasError = isCardFieldFlow
125
126
? err
126
127
: // $FlowFixMe[incompatible-use]
127
128
err || result ?. success === false ;
128
-
129
+ console . log ( "Seb err" , { err } ) ;
130
+ console . log ( "Seb result" , { result } ) ;
131
+ console . log ( "Seb hasError" , { hasError } ) ;
129
132
if ( hasError ) {
130
133
return onError ( err ) ;
131
134
}
You can’t perform that action at this time.
0 commit comments