Skip to content

Commit

Permalink
Release 3.2.7 (#275)
Browse files Browse the repository at this point in the history
- Adds authentication for payment request by @JZds
  • Loading branch information
armando-rodriguez-cko authored Nov 20, 2024
1 parent ebe3e76 commit 4b94382
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Checkout/CheckoutUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/Checkout/Payments/Request/Authentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class Authentication
{
/**
* @var string value of PreferredExperiences
* @var array List of PreferredExperiences
*/
public $preferred_experiences;
}
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "3.2.6"
"version": "3.2.7"
}

0 comments on commit 4b94382

Please sign in to comment.