Remove unused property paypal_request_id

This commit is contained in:
Emili Castells Guasch 2024-02-27 12:16:11 +01:00
parent a06da46e33
commit a101a2f8fb
4 changed files with 1 additions and 8 deletions

View file

@ -179,7 +179,6 @@ class OrderEndpoint {
* @param string $shipping_preference One of ApplicationContext::SHIPPING_PREFERENCE_ values.
* @param Payer|null $payer The payer off the order.
* @param PaymentToken|null $payment_token The payment token.
* @param string $paypal_request_id The PayPal request id.
* @param string $user_action The user action.
* @param string $payment_method WC payment method.
* @param array $request_data Request data.
@ -193,7 +192,6 @@ class OrderEndpoint {
string $shipping_preference,
Payer $payer = null,
PaymentToken $payment_token = null,
string $paypal_request_id = '',
string $user_action = ApplicationContext::USER_ACTION_CONTINUE,
string $payment_method = '',
array $request_data = array(),

View file

@ -466,7 +466,6 @@ class CreateOrderEndpoint implements EndpointInterface {
$shipping_preference,
$payer,
null,
'',
$action,
$payment_method,
$data
@ -489,8 +488,7 @@ class CreateOrderEndpoint implements EndpointInterface {
return $this->api_endpoint->create(
array( $this->purchase_unit ),
$shipping_preference,
$payer,
null
$payer
);
}

View file

@ -285,7 +285,6 @@ class OrderProcessor {
$shipping_preference,
$this->payer_factory->from_wc_order( $wc_order ),
null,
'',
ApplicationContext::USER_ACTION_PAY_NOW
);

View file

@ -283,7 +283,6 @@ class RenewalHandler {
$shipping_preference,
$payer,
null,
'',
ApplicationContext::USER_ACTION_CONTINUE,
'',
array(),
@ -327,7 +326,6 @@ class RenewalHandler {
$shipping_preference,
$payer,
null,
'',
ApplicationContext::USER_ACTION_CONTINUE,
'',
array(),