Add final review for blocks

This commit is contained in:
Alex P 2023-04-17 10:23:52 +03:00
parent b444c1ef55
commit 211c57b938
No known key found for this signature in database
GPG key ID: 54487A734A204D71
4 changed files with 35 additions and 29 deletions

View file

@ -382,7 +382,7 @@ class CreateOrderEndpoint implements EndpointInterface {
$funding_source
);
$action = in_array( $this->parsed_request_data['context'], array( 'checkout', 'express' ), true ) ?
$action = in_array( $this->parsed_request_data['context'], array( 'checkout' ), true ) ?
ApplicationContext::USER_ACTION_PAY_NOW : ApplicationContext::USER_ACTION_CONTINUE;
if ( 'card' === $funding_source ) {