wp-pay-gateways /
ogone
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Pronamic\WordPress\Pay\Gateways\Ingenico\OrderStandard; |
||
| 4 | |||
| 5 | /** |
||
| 6 | * Title: Ingenico OrderStandard test config |
||
| 7 | * Description: |
||
| 8 | * Copyright: 2005-2019 Pronamic |
||
| 9 | * Company: Pronamic |
||
| 10 | * |
||
| 11 | * @author Remco Tolsma |
||
| 12 | * @version 2.0.0 |
||
| 13 | * @since 1.0.0 |
||
| 14 | */ |
||
| 15 | class TestConfig extends Config { |
||
| 16 | /** |
||
| 17 | * Get the default Ogone e-Commerce form action URL. |
||
| 18 | * |
||
| 19 | * @since 1.2.9 |
||
| 20 | * @return string |
||
| 21 | */ |
||
| 22 | protected function get_default_form_action_url() { |
||
| 23 | $is_utf8 = strcasecmp( get_bloginfo( 'charset' ), 'UTF-8' ) === 0; |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 24 | |||
| 25 | if ( $is_utf8 ) { |
||
| 26 | return 'https://secure.ogone.com/ncol/test/orderstandard_utf8.asp'; |
||
| 27 | } |
||
| 28 | |||
| 29 | return 'https://secure.ogone.com/ncol/test/orderstandard.asp'; |
||
| 30 | } |
||
| 31 | } |
||
| 32 |