This wrapper library allows Node.js developers to natively interact with the Worldpay Within SDK Core via Thrift RPC. The thrift client implementation is abstracted from the developer and exposes a simple, familiar Node.js interface.
In the examples directory there is sample-consumer and sample-producer demonstrating how to use the SDK in a Producer and Consumer context.
To run an example, navigate to the appropriate directory and use node main.js
Note: When running an example you will need to have both a producer and consumer running. Please ensure that both these applications are configured to talk to the RPC-Agent on different ports. Achieving this, is straightforward, please inspect the source of each main.js file