Skip to content

Commit

Permalink
Remove support for legacy WC version.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Jan 29, 2024
1 parent bf059d7 commit f56809f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions assets/js/frontend/wc-square-cash-app-pay.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ jQuery( document ).ready( ( $ ) => {
*/
attach_page_events() {
$( document.body ).on( 'updated_checkout', () => this.build_cash_app() );
$( document.body ).on( 'click', 'input[name="payment_method"]', () => this.toggle_order_button() );
// WC 3.4.3+ trigger
$( document.body ).on( 'payment_method_selected', () => this.toggle_order_button() );
}

Expand Down

0 comments on commit f56809f

Please sign in to comment.