AuthorizeNet / sample-code-php

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

setFirstSettlementDate requires setLastSettlementDate #169

Open fulldecent opened 3 years ago

fulldecent commented 3 years ago

It is my experience that a call to "Get Settled Batch List" will succeed if

But it will produce an error if:

This behavior conflicts with documentation at https://developer.authorize.net/api/reference/index.html#transaction-reporting-get-settled-batch-list stating:

All input parameters other than merchant authentication are optional.

Instead, I am expecting that setting setFirstSettlementDate without setLastSettlementDate will cause every batch since that time to be returned.

My use case is an ETL script that gets recent batches.


Further, the page https://developer.authorize.net/api/reference/index.html#transaction-reporting-get-settled-batch-list does not have a GitHub link to report issues, so I am reporting the issue here which is less than ideal.