Skip to content

Commit

Permalink
Merge pull request #9 from Chouby/master
Browse files Browse the repository at this point in the history
Use WooCommerce method get_description()
  • Loading branch information
tschelabaumann authored Jun 20, 2017
2 parents a153a04 + 1dab788 commit 2ebbe33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/integration/woocommerce.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ public function payment_fields(){

echo '<a href="https://www.paymill.com/" target="_blank"><img src="' . WC_HTTPS::force_https_url( $this->logo_small ) . '" alt="' . $this->title . '" /></a>';

echo '<p class="paymill_payment_description">'.$this->settings['description'].'</p>';
echo '<p class="paymill_payment_description">'.$this->get_description().'</p>';

require_once(PAYMILL_DIR.'lib/tpl/checkout_form.php');
}else{
Expand All @@ -1159,4 +1159,4 @@ public function payment_fields(){
}
}
add_action('plugins_loaded', 'init_paymill_gateway_class');
?>
?>

0 comments on commit 2ebbe33

Please sign in to comment.