mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Remove unused property paypal_request_id
This commit is contained in:
parent
a06da46e33
commit
a101a2f8fb
4 changed files with 1 additions and 8 deletions
|
@ -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(),
|
||||
|
|
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -285,7 +285,6 @@ class OrderProcessor {
|
|||
$shipping_preference,
|
||||
$this->payer_factory->from_wc_order( $wc_order ),
|
||||
null,
|
||||
'',
|
||||
ApplicationContext::USER_ACTION_PAY_NOW
|
||||
);
|
||||
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue