diff --git a/lib/Checkout/CheckoutUtils.php b/lib/Checkout/CheckoutUtils.php index 2bb3def..3552d98 100644 --- a/lib/Checkout/CheckoutUtils.php +++ b/lib/Checkout/CheckoutUtils.php @@ -9,7 +9,7 @@ class CheckoutUtils { const PROJECT_NAME = "checkout-sdk-php"; - const PROJECT_VERSION = "3.2.6"; + const PROJECT_VERSION = "3.2.7"; /** * @param DateTime $date diff --git a/lib/Checkout/Payments/Request/Authentication.php b/lib/Checkout/Payments/Request/Authentication.php index 82d8fdd..aa7bd5b 100644 --- a/lib/Checkout/Payments/Request/Authentication.php +++ b/lib/Checkout/Payments/Request/Authentication.php @@ -5,7 +5,7 @@ class Authentication { /** - * @var string value of PreferredExperiences + * @var array List of PreferredExperiences */ public $preferred_experiences; } diff --git a/test/Checkout/Tests/Payments/IncrementPaymentsAuthorizationsTest.php b/test/Checkout/Tests/Payments/IncrementPaymentsAuthorizationsTest.php index adc3f59..921aba4 100644 --- a/test/Checkout/Tests/Payments/IncrementPaymentsAuthorizationsTest.php +++ b/test/Checkout/Tests/Payments/IncrementPaymentsAuthorizationsTest.php @@ -109,7 +109,7 @@ private function makeEstimatedAuthorizedPayment() $partialAuthorization->enabled = true; $authentication = new Authentication(); - $authentication->preferred_experiences = PreferredExperiences::$googleSpa; + $authentication->preferred_experiences = [PreferredExperiences::$googleSpa]; $paymentRequest = new PaymentRequest(); $paymentRequest->source = $requestCardSource; diff --git a/version.json b/version.json index 1594132..1617528 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "3.2.6" + "version": "3.2.7" }