mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Remove ApplicationContext
This commit is contained in:
parent
ab5ddd9fab
commit
da45fb1baf
23 changed files with 76 additions and 707 deletions
|
@ -14,7 +14,6 @@ use Exception;
|
|||
use WC_Order;
|
||||
use WC_Payment_Gateway;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\OrderEndpoint;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Entity\ApplicationContext;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentSource;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Factory\PurchaseUnitFactory;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Factory\ShippingPreferenceFactory;
|
||||
|
@ -307,7 +306,6 @@ class AxoGateway extends WC_Payment_Gateway {
|
|||
array( $purchase_unit ),
|
||||
$shipping_preference,
|
||||
null,
|
||||
ApplicationContext::USER_ACTION_CONTINUE,
|
||||
'',
|
||||
array(),
|
||||
$payment_source
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue