Remove ApplicationContext

This commit is contained in:
Alex P. 2025-05-29 19:49:43 +03:00
parent ab5ddd9fab
commit da45fb1baf
No known key found for this signature in database
GPG key ID: 54487A734A204D71
23 changed files with 76 additions and 707 deletions

View file

@ -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