Skip to content

Commit

Permalink
Display notices in order pay page.
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Nov 5, 2018
1 parent a71cdc2 commit 0da8f23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/shortcodes/class-wc-shortcode-checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ private static function order_pay( $order_id ) {

do_action( 'before_woocommerce_pay' );

wc_print_notices();

$order_id = absint( $order_id );

// Pay for existing order.
Expand Down

0 comments on commit 0da8f23

Please sign in to comment.