PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
← All changes | src/PaymentGateways/PayPalCommerce/PayPalCheckoutSdk/ProcessorResponseError.php +3 -1 4.16.1 → 4.17.0 View file →
@@ -13,8 +13,10 @@
13 13 class ProcessorResponseError
14 14 {
15 15 /**
16 16 * This function decode the error code from PayPal.
17 + *
18 + * @since 4.16.9 Read the CVV message with the CVV code.
17 19 * @since 3.2.0
18 20 * @param \stdClass $processorResponse
19 21 */
20 22 public static function getError(\stdClass $processorResponse): string
@@ -44,9 +46,9 @@
44 46 if (
45 47 property_exists($processorResponse, 'cvv_code')
46 48 && array_key_exists($cvvCode, $errorCode['cvvCode'])
47 49 ) {
48 - $errors[] = $errorCode['cvvCode'][$avsCode];
50 + $errors[] = $errorCode['cvvCode'][$cvvCode];
49 51 }
50 52
51 53 if (
52 54 property_exists($processorResponse, 'response_code')