AuthorizeNet / sample-code-php

This repository contains working code samples which demonstrate php integration with the Authorize.Net API
MIT License
177 stars 197 forks source link

Add examples of adding an address to auth and charge transactions / change local date format in get-settled-batch-list #70

Closed adavidw closed 7 years ago

adavidw commented 7 years ago

I unified the samples for authorize-credit-card and charge-credit-card, and then added an example of adding a BillTo address to each. I also changed the date format for the local date in get-settled-batch-list. We previously used format('r'), but that's misleading since it displays a time zone offset of +0000. We get the local date in the API response, but we don't have any indication of what time zone that's in, so we shouldn't display any time zone info at all for the local date.