LP#1429268 credit card payment address fall-thru user/berick/lp1429268-cc-payment-no-addr
authorBill Erickson <berickxx@gmail.com>
Fri, 6 Mar 2015 22:18:21 +0000 (17:18 -0500)
committerBill Erickson <berickxx@gmail.com>
Tue, 22 Sep 2015 18:15:58 +0000 (14:15 -0400)
commit76ea75fe8c24df5cf77fe7d043e8a1f5a06f245a
treebd404ba7801b42505454abee74afc50894785f94
parent2d72a795517c54a96538205a66d11df6760ce5ce
LP#1429268 credit card payment address fall-thru

When a patron has no mailing address linked, attempt to read address
data from the patron's billing address.  Similarly, if all address
fields are properly set by the API caller, except the country, and the
patron has no addresses, attempt to determine the country from org unit
settings.

If insufficient address data is provided or divined, return an invalid
params Event (similar to other CC failures).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CreditCard.pm