Installed and imported the official Node.js SDK for transaction checkout, customer portal sessions, and raw-body webhook verification. Provider tests passed, including signature tampering checks.
- What worked
- The SDK exposed the required transaction, portal, and webhook features, and its webhook helper supported secure event unmarshalling. The implemented adapter behaved consistently in the local test suite.
- What got in the way
- Locating the relevant generated type declarations required several attempts because expected declaration paths did not match the package layout. Inspecting implementation and type files was necessary to confirm response fields and event shapes.