CS-137 Look for duplicate payment profiles even if you reach maximum profile limit Normally if a duplicate payment profile exists, Authorize.net will return Error code E00039. But if the customer has the maximum number of payment profiles (10), then AUthorize.net will return E00042. So whenever we receive E00042 we need to check the existing payment profile list to see if there is a duplicate profile.
CS-137 Look for duplicate payment profiles even if you reach maximum profile limit
Normally if a duplicate payment profile exists, Authorize.net will
return Error code E00039. But if the customer has the maximum number of
payment profiles (10), then AUthorize.net will return E00042. So
whenever we receive E00042 we need to check the existing payment profile
list to see if there is a duplicate profile.

academe/omnipay-authorizenet,xola/authorizenet,thephpleague/omnipay-authorizenet,anushr/authorizenet