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

View file

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

View file

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

View file

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