Skip to content

Commit

Permalink
Woo Germanized and Germanized Pro Conflict: Order email sending issue…
Browse files Browse the repository at this point in the history
…, ref #764
  • Loading branch information
kcppdevelopers committed Jun 22, 2017
1 parent c69221d commit aea74fa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,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)) {
apply_filters( 'woocommerce_payment_successful_result', array('result' => 'success'), $order_id );
$this->angelleye_ec_get_customer_email_address($this->confirm_order_id);
$this->angelleye_ec_sellerprotection_handler($this->confirm_order_id);
$this->angelleye_ec_save_billing_agreement($order_id);
Expand Down Expand Up @@ -243,6 +244,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)) {
apply_filters( 'woocommerce_payment_successful_result', array('result' => 'success'), $order_id );
$this->angelleye_ec_get_customer_email_address($this->confirm_order_id);
$this->angelleye_ec_sellerprotection_handler($this->confirm_order_id);
$this->angelleye_ec_save_billing_agreement($order_id);
Expand Down

0 comments on commit aea74fa

Please sign in to comment.