Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ibericode/mailchimp-for-wordpress
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Jan 8, 2024
2 parents 9e8857b + efab6bb commit c5c609b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
// - refunded: sends refund confirmation
//
// fullfilment_status:
// - shipped: sends shipping confirmation
// - shipped: sends shipping confirmation

add_filter( 'mc4wp_ecommerce_order_data', function( $data, $order ) {
switch( $order->get_status ) {
switch( $order->get_status() ) {
case "pending":
$data['financial_status'] = 'pending';
break;
Expand Down

0 comments on commit c5c609b

Please sign in to comment.