durango / authorize-net-cim

Authorize.net CIM bindings for Node.JS
14 stars 5 forks source link

ValidationMode for createCustomerPaymentProfile is always 'none' #6

Open lkobashigawa opened 9 years ago

lkobashigawa commented 9 years ago

I can't find a way to set the validationMode on createCustomerPaymentProfile, if I pass it in as an option, i see it is passed to AuthorizeRequest.send as xmloptions, but the code in AuthorizeRequest.send doesn't use the value.

I was able to repro the behavior in a test here: https://gist.github.com/lkobashigawa/4a0c35ce4d729323d598#file-gistfile1-js