Files
carpseeds.pl/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal.php
2024-07-15 11:28:08 +02:00

20 lines
457 B
PHP

<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class WC_Gateway_PPEC_With_PayPal extends WC_Gateway_PPEC {
public function __construct() {
$this->id = 'ppec_paypal';
$this->icon = 'https://www.paypalobjects.com/webstatic/en_US/i/buttons/pp-acceptance-small.png';
parent::__construct();
if ( $this->is_available() ) {
$ipn_handler = new WC_Gateway_PPEC_IPN_Handler( $this );
$ipn_handler->handle();
}
}
}