mirror of
https://github.com/jlengrand/adyen-web.git
synced 2026-03-10 08:01:22 +00:00
Update sessionData after /setup call
This commit is contained in:
5
.changeset/mean-glasses-happen.md
Normal file
5
.changeset/mean-glasses-happen.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@adyen/adyen-web': patch
|
||||
---
|
||||
|
||||
update sessionData after /setup call
|
||||
@@ -67,6 +67,10 @@ class Session {
|
||||
this.configuration = { ...response.configuration };
|
||||
}
|
||||
|
||||
if (response.sessionData) {
|
||||
this.updateSessionData(response.sessionData);
|
||||
}
|
||||
|
||||
return response;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user