Releases: maxmind/minfraud-api-php
Releases · maxmind/minfraud-api-php
2.0.0
- IMPORTANT: PHP 8.1 or greater is now required.
- BREAKING: Read-only properties are now used for the model class rather than
magic methods. - BREAKING: The
rawResponseproperty on model classess has been removed. Use
thejsonSerializemethod instead. - BREAKING: The inheritance hierarchy on model classes has changed.
- Updated
geoip2/geoip2to version that includes theisAnycastproperty on
GeoIp2\Record\Traits. This property istrueif the IP address belongs to
an anycast network. This is available
in minFraud Insights and Factors.
1.23.0
1.22.0
- The model class names are no longer constructed by concatenating strings.
This change was made to improve support for tools like PHP-Scoper. - Added
shopify_paymentsto the payment processor validation. - Box 4.0.1 is now used to generate the
geoip2.pharfile.
1.21.0
- Added the input
/credit_card/country. This is the country where the issuer
of the card is located. This may be passed instead of
/credit_card/issuer_id_numberif you do not wish to pass partial account
numbers or if your payment processor does not provide them. - Fixed PHP 8.1 deprecation warning in internal validation classes.
1.20.0
- Upgraded
geoip2/geoip2to 2.12.0. This adds mobile country code (MCC)
and mobile network code (MNC) to minFraud Insights and Factors responses.
These are available at$response->ipAddress->traits->mobileCountryCodeand
$response->ipAddress->traits->mobileNetworkCode. We expect this data to be
available by late January, 2022. minfraud.pharis now generated with Box 3.x.- Added the following new values to the payment processor validation:
boacomprabokucoregatewayfiservneopayneosurfopenbuckspayserapayvisiontrustlywindcave
- The
/credit_card/last_4_digitsinput has been deprecated in favor of
/credit_card/last_digitsand will be removed in a future release.
last_digits/last_4_digitsalso now supports two digit values in
addition to the previous four digit values. - Eight digit
/credit_card/issuer_id_numberinputs are now supported in
addition to the previously accepted six digitissuer_id_number. In most
cases, you should send the last four digits forlast_digits. If you send
anissuer_id_numberthat contains an eight digit IIN, and if the credit
card brand is not one of the following, you should send the last two digits
forlast_digits:DiscoverJCBMastercardUnionPayVisa
1.19.0
- Added
datacapto the payment processor validation. - Added
ruleLabelto minFraud outputDisposition. - Added
was_3d_secure_successfulto/credit_cardvalidation.
1.18.0
1.17.0
- IMPORTANT: PHP 7.3 or greater is now required.
- The dependency
Respect\Validationhas been upgraded from 1.x to 2.1. - The
with()method onMaxMind\MinFraudmay now be used when
deviceandshopping_cartare not set. - Added the following new values to the payment processor validation:
apple_payaps_payments
- You may now enable client-side email hashing by setting
hashEmailto
truein theMaxMind\MinFraudconstructor's options parameter. When set,
this normalizes the email address and sends an MD5 hash of it to the web
service rather than the plain-text address. Note that the email domain will
still be sent in plain text. - Added support for the IP address risk reasons in the minFraud Insights and
Factors responses. This is available at->ipAddress->riskReasons. It is
an array ofMaxMind\MinFraud\Model\IpRiskReasonobjects.