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' ); |
||
| 11 | $this->dashboard_url = 'https://secure.ogone.com/'; |
||
| 12 | $this->provider = 'ogone'; |
||
| 13 | $this->supports = array( |
||
|
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
|
|||
| 14 | 'webhook', |
||
| 15 | ); |
||
| 16 | |||
| 17 | // Actions. |
||
| 18 | $function = array( __NAMESPACE__ . '\Listener', 'listen' ); |
||
| 19 | |||
| 20 | if ( ! has_action( 'wp_loaded', $function ) ) { |
||
| 21 | add_action( 'wp_loaded', $function ); |
||
| 22 | } |
||
| 23 | } |
||
| 24 | } |
||
| 25 |