We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d4382 commit 4d5c93aCopy full SHA for 4d5c93a
src/Message/CIMCreateCardRequest.php
@@ -203,7 +203,7 @@ public function createPaymentProfile(CIMCreateCardResponse $createCardResponse)
203
$getProfileResponse = $this->makeGetProfileRequest($parameters);
204
205
// Check if there is a pre-existing profile for the given card numbers.
206
- $otherErrorCodes = ['E00039', 'E00042']; // For these error codes we should check for duplicate payment profiles
+ $otherErrorCodes = array('E00039', 'E00042'); // For these codes we should check for duplicate payment profiles
207
if (!$createPaymentProfileResponse->isSuccessful() &&
208
in_array($createPaymentProfileResponse->getReasonCode(), $otherErrorCodes)
209
) {
0 commit comments