academe / authorizenet-objects

Value objects for construction Authorize.Net messages
7 stars 6 forks source link

Customer Drivers License is an object #10

Open judgej opened 5 years ago

judgej commented 5 years ago

It is being treated as a a scalar at the moment. It's a combination of number, state and date of birth. See here:

https://github.com/AuthorizeNet/sdk-php/blob/master/lib/net/authorize/api/contract/v1/DriversLicenseType.php

The SDK supports it, but the API Reference does not seem to mention it at all:

https://developer.authorize.net/api/reference/index.html#payment-transactions-charge-a-credit-card