Skip to content

Commit

Permalink
Merge pull request #37 from wirecard/TPWDCEE-520
Browse files Browse the repository at this point in the history
Tpwdcee 520
  • Loading branch information
jpy authored Nov 29, 2017
2 parents eb862ac + ee7652c commit e005c68
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
require_once( WOOCOMMERCE_GATEWAY_WCP_BASEDIR . 'classes/class-woocommerce-wcp-payments.php' );

define( 'WOOCOMMERCE_GATEWAY_WCP_NAME', 'Woocommerce2_WirecardCheckoutPage' );
define( 'WOOCOMMERCE_GATEWAY_WCP_VERSION', '1.3.5' );
define( 'WOOCOMMERCE_GATEWAY_WCP_VERSION', '1.3.6' );
define( 'WOOCOMMERCE_GATEWAY_WCP_WINDOWNAME', 'WirecardCheckoutPageFrame' );
define( 'WOOCOMMERCE_GATEWAY_WCP_TABLE_NAME', 'woocommerce_wcp_transaction' );

Expand Down Expand Up @@ -298,6 +298,9 @@ function dispatch_callback() {
* @return string
*/
function return_request() {
foreach ( $_REQUEST as &$param ) {
$param = stripslashes( $param );
}
$this->log( 'return_request:' . print_r( $_REQUEST, true ), 'info' );

$redirectUrl = $this->get_return_url();
Expand Down Expand Up @@ -348,6 +351,13 @@ function return_request() {
* @return string
*/
function confirm_request() {
foreach ( $_REQUEST as &$param ) {
$param = stripslashes( $param );
}
foreach ( $_POST as &$param ) {
$param = stripslashes( $param );
}

$this->log( 'confirm_request:' . print_r( $_REQUEST, true ), 'info' );

$message = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Plugin Name: Wirecard Checkout Page
Plugin URI: http://www.wirecard.at/integration/plugins/
Description: Wirecard is a popular payment service provider (PSP) and has connections with over 20 national and international currencies.
Version: 1.3.5
Version: 1.3.6
Author: Wirecard
Author URI: http://www.wirecard.at/
License: Proprietary
Expand Down

0 comments on commit e005c68

Please sign in to comment.