I followed Client-Side Encryption steps using protect.js in Paytrace API Documentation. When enter test credit card which given by paytrace website, i am getting error message:
description: "credit card type not allowed" responseCode: "400"
Check your token. In my case I was passing token as query string so I had to encode and decode.