Skip to content

Commit

Permalink
Merge pull request #1447 from Automattic/update/update-square-payment…
Browse files Browse the repository at this point in the history
…-order-followup

Force Square payments sort order on the payment settings page
  • Loading branch information
moon0326 authored Mar 1, 2024
2 parents 59a88fc + 5a66b46 commit 4674803
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ private function force_square_payment_methods_order() {
$order_option = get_option( 'woocommerce_gateway_order', false );
if ( ! $order_option ) {
update_option( 'woocommerce_gateway_order', array(
'square_cash_app_pay' => 0,
'square_credit_card' => 1
'square_credit_card' => 0,
'square_cash_app_pay' => 1,
) );
}
}
Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ This section describes how to install the plugin and get it working.

== Changelog ==

= 2.3.9 =
* Force square_cash_app_pay and square_credit_card order on the payment settings page #1445

= Unreleased =
* Force square_cash_app_pay and square_credit_card order on the payment settings page #xxx

= 2.3.9 =
* Force square_cash_app_pay and square_credit_card order on the payment settings page #1445

= 2.3.8 =
* Update Square task copy changes #1443

Expand Down

0 comments on commit 4674803

Please sign in to comment.