Set email as correct parameter to CustomerType
Set email as correct parameter to CustomerType

CustomerType takes the ID as second parameter and email as third parameter; this code, sending the email as the ID, works in the sandbox (inexplicably), but fails in production, where it returns an error — "The actual length is greater than the MaxLength value".
AuthorizeNet/sample-code-ruby