Skip to content

Commit

Permalink
WooCommerce Germanized: Compatibility, ref #757
Browse files Browse the repository at this point in the history
  • Loading branch information
kcppdevelopers committed Aug 18, 2017
1 parent 0a998be commit 920e315
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,7 @@ public function angelleye_do_express_checkout_payment() {
AngellEYE_Utility::angelleye_paypal_for_woocommerce_add_paypal_transaction($this->paypal_response, $order, $this->gateway->payment_action);
}
if ($this->response_helper->ec_is_response_success($this->paypal_response)) {
$post_data = WC()->session->get('post_data');
if( empty($post_data) ) {
apply_filters( 'woocommerce_payment_successful_result', array('result' => 'success'), $order_id );
}
apply_filters( 'woocommerce_payment_successful_result', array('result' => 'success'), $order_id );
do_action( 'woocommerce_before_pay_action', $order );
$this->angelleye_ec_get_customer_email_address($this->confirm_order_id);
$this->angelleye_ec_sellerprotection_handler($this->confirm_order_id);
Expand Down Expand Up @@ -243,10 +240,7 @@ public function angelleye_do_express_checkout_payment() {
wp_redirect($this->gateway->get_return_url($order));
exit();
} elseif ($this->response_helper->ec_is_response_successwithwarning($this->paypal_response)) {
$post_data = WC()->session->get('post_data');
if( empty($post_data) ) {
apply_filters( 'woocommerce_payment_successful_result', array('result' => 'success'), $order_id );
}
apply_filters( 'woocommerce_payment_successful_result', array('result' => 'success'), $order_id );
do_action( 'woocommerce_before_pay_action', $order );
$this->angelleye_ec_get_customer_email_address($this->confirm_order_id);
$this->angelleye_ec_sellerprotection_handler($this->confirm_order_id);
Expand Down

0 comments on commit 920e315

Please sign in to comment.