'; echo '
' . esc_html__( 'WooCommerce AfterPay Gateway requires PHP SOAP extension. Please get in touch with your hosting provider to see how you can enable it.', 'woocommerce-gateway-afterpay' ) . '
'; echo ''; } // Define plugin paths define( 'AFTERPAY_URL', untrailingslashit( plugins_url( '/', __FILE__ ) ) ); define( 'AFTERPAY_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); include_once( AFTERPAY_PATH . '/includes/gateways/class-wc-gateway-afterpay-factory.php' ); include_once( AFTERPAY_PATH . '/includes/gateways/class-wc-gateway-afterpay-invoice.php' ); include_once( AFTERPAY_PATH . '/includes/gateways/class-wc-gateway-afterpay-part-payment.php' ); include_once( AFTERPAY_PATH . '/includes/gateways/class-wc-gateway-afterpay-account.php' ); include_once( AFTERPAY_PATH . '/includes/class-pre-check-customer.php' ); include_once( AFTERPAY_PATH . '/includes/class-cancel-reservation.php' ); include_once( AFTERPAY_PATH . '/includes/class-create-contract.php' ); include_once( AFTERPAY_PATH . '/includes/class-complete-checkout.php' ); include_once( AFTERPAY_PATH . '/includes/class-capture.php' ); include_once( AFTERPAY_PATH . '/includes/class-update-reservation.php' ); include_once( AFTERPAY_PATH . '/includes/class-user-profile.php' ); include_once( AFTERPAY_PATH . '/includes/class-process-order-lines.php' ); include_once( AFTERPAY_PATH . '/includes/class-invoice-fee.php' ); include_once( AFTERPAY_PATH . '/includes/class-error-notice.php' ); include_once( AFTERPAY_PATH . '/includes/class-admin-notices.php' ); // Define server endpoints define( 'ARVATO_CHECKOUT_LIVE', 'https://api.horizonafs.com/eCommerceServices/eCommerce/Checkout/v2/CheckoutServices.svc?wsdl' ); define( 'ARVATO_CHECKOUT_TEST', 'https://sandboxapi.horizonafs.com/eCommerceServices/eCommerce/Checkout/v2/CheckoutServices.svc?wsdl' ); define( 'ARVATO_ORDER_MAINTENANCE_LIVE', 'https://api.horizonafs.com/eCommerceServices/eCommerce/OrderManagement/v2/OrderManagementServices.svc?wsdl' ); define( 'ARVATO_ORDER_MAINTENANCE_TEST', 'https://sandboxapi.horizonafs.com/eCommerceServices/eCommerce/OrderManagement/v2/OrderManagementServices.svc?wsdl' );