@@ -53,8 +53,8 @@ public function __construct(
5353 * `maxmindId`, `minfraudId`, or `transactionId`.
5454 * @param string $tag Required. A string indicating the likelihood that a
5555 * transaction may be fraudulent. Possible values:
56- * not_fraud, suspected_fraud, spam_or_abuse, or
57- * chargeback.
56+ * not_fraud, suspected_fraud, spam_or_abuse,
57+ * chargeback, or clear .
5858 * @param string $chargebackCode Optional. A string which is provided by your payment
5959 * processor indicating the reason for the chargeback.
6060 * @param string $maxmindId Optional. A unique eight character string identifying
@@ -159,9 +159,9 @@ public function report(
159159 // This is required so we always throw an exception if it is not set
160160 throw new InvalidInputException ('A tag is required ' );
161161 }
162- if (!\in_array ($ tag , ['not_fraud ' , 'suspected_fraud ' , 'spam_or_abuse ' , 'chargeback ' ], true )) {
162+ if (!\in_array ($ tag , ['not_fraud ' , 'suspected_fraud ' , 'spam_or_abuse ' , 'chargeback ' , ' clear ' ], true )) {
163163 $ this ->maybeThrowInvalidInputException (
164- "$ tag must be one of 'not_fraud', 'suspected_fraud', 'spam_or_abuse', or 'chargeback ' " ,
164+ "$ tag must be one of 'not_fraud', 'suspected_fraud', 'spam_or_abuse', 'chargeback', or 'clear ' " ,
165165 );
166166 }
167167 $ values ['tag ' ] = $ tag ;
0 commit comments