wp-pay-gateways /
ogone
| 1 | <?php |
||||||
| 2 | |||||||
| 3 | namespace Pronamic\WordPress\Pay\Gateways\Ingenico; |
||||||
| 4 | |||||||
| 5 | use Pronamic\WordPress\Pay\Gateways\Common\AbstractIntegration as Common_AbstractIntegration; |
||||||
| 6 | |||||||
| 7 | abstract class AbstractIntegration extends Common_AbstractIntegration { |
||||||
| 8 | public function __construct() { |
||||||
| 9 | $this->url = 'https://secure.ogone.com/'; |
||||||
| 10 | $this->product_url = __( 'https://payment-services.ingenico.com/nl/en', 'pronamic_ideal' ); |
||||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||||||
| 11 | $this->dashboard_url = 'https://secure.ogone.com/'; |
||||||
| 12 | $this->provider = 'ogone'; |
||||||
| 13 | |||||||
| 14 | // Actions. |
||||||
| 15 | $function = array( __NAMESPACE__ . '\Listener', 'listen' ); |
||||||
| 16 | |||||||
| 17 | if ( ! has_action( 'wp_loaded', $function ) ) { |
||||||
|
0 ignored issues
–
show
The function
has_action was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 18 | add_action( 'wp_loaded', $function ); |
||||||
|
0 ignored issues
–
show
The function
add_action was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 19 | } |
||||||
| 20 | } |
||||||
| 21 | |||||||
| 22 | public function get_settings_class() { |
||||||
| 23 | return __NAMESPACE__ . '\Settings'; |
||||||
| 24 | } |
||||||
| 25 | } |
||||||
| 26 |