@ -114,7 +114,7 @@ function get_hush_amount($orderAmt, $hushPrice, $markup) {
add_filter( 'woocommerce_gateway_description', 'hush_payment_gateway_description', 25, 2 );
function hush_payment_gateway_description( $description, $gateway_id ) {
if( 'hush_gateway' === $gateway_id ) {
if( 'hush_gateway' === $gateway_id ) {
//Get cart object
$cart = WC()->cart;
@ -133,11 +133,11 @@ function hush_payment_gateway_description( $description, $gateway_id ) {
$hushAmt = get_hush_amount($cart->total, $hushPrice, $markup);
//Set Description
$description .= "< p > < strong > HUSH Price:< / strong > $".get_hush_price()."< br / > < strong > HUSH Amount Estimate: < / strong > ".$hushAmt." < br / > (Including ".$markupPercent."% volatility markup)< / p > ";
$description .= "< p > < strong > HUSH Price:< / strong > $".get_hush_price()."< br / > < strong > HUSH Amount Estimate: < / strong > ".$hushAmt." < br / > (Including ".$markupPercent."% volatility markup)< / p > ";
$description .= "< p > < br / > < br / > Speak & Transact Freely! Your order will not be processed and shipped until HUSH payment has been received and confirmed. Exact amount of HUSH to send is specified after placing order.< / p > ";
}
}
return $description;
return $description;
}