cancel
Showing results for 
Search instead for 
Did you mean: 

"VAS is not defined" for loaded Unified Checkout client library

I'm working on a transition from Secure Acceptance to Unified Checkout and follow javascript sample code from documentations (developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-getting-started-cs-setup-intro/uc-getting-started-cs-js-library-intro.html).
It appears that the code fails at very first attempt to initialize the SDK:
``` javascript
const client = await VAS.UnifiedCheckout(sessionJWT);
```
as VAS is not defined by the library. Note, that I do use the client library address and client library integration extracted from capture context JWT string.
An inspection of the library code suggest that the name to use is probably "Accept" which is defined but does not have "UnifiedCheckout" method. Is documentation is stale or what do I do wrong? 

oleglomakin
New Member
0 REPLIES 0