Skip to content

Commit

Permalink
Fix issue truemoney source type is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Narum11 committed Jan 13, 2025
1 parent cc75310 commit c6500c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/gateway/class-omise-payment-truemoney.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct()
$this->title = $this->get_option( 'title' );
$this->description = $this->get_option( 'description' );
$this->restricted_countries = array( 'TH' );
$this->source_type = null;
$this->source_type = $this->get_source();

add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
add_action( 'woocommerce_api_' . $this->id . '_callback', 'Omise_Callback::execute' );
Expand Down

0 comments on commit c6500c0

Please sign in to comment.