mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Add final review for blocks
This commit is contained in:
parent
b444c1ef55
commit
211c57b938
4 changed files with 35 additions and 29 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue