Before you start #
On the Plugin settings page, make sure you’ve entered your Merchant UUID and API Key – these can be found on the Settings page in Barracks. You’ll also need to enter your Endpoint – see the Setup page for information.
Collect Data #
You will need the following:
- Card ID – you’ll want to retrieve this from a Thing
Create a Workflow #
Create a Workflow, and add the “MW – Token Payments: Change Expiry” action from the “Plugins” tab of the Actions list.
cardID #
A unique alphanumeric string returned by the Add Card action, used to identify a specific card.
Example: NUFM56937091
Parse Response #
The response will contain:
responseCode #
Code | Meaning |
---|---|
< 0 | MW validation error |
0 | Transaction/Operation was successful |
> 0 | Transaction/Operation was declined or delayed by the provider or service |
responseMessage #
If the responseCode is not 0, this will provide basic insight into the reason for failure.
Next Actions #
We recommend adding a step with an “only when” of “…’s responseCode is not 0” that deals with the error.