I am facing an issue with Magento 2 checkout success page. I have added API for SMS to receive final SMS about the order and when SMS is received its showing the "span" stage around the price like below
3 51151 SHJ
**<span class="price">3 AED</span> pos**
Balance: 0
my line of code is:
$textMsg[] = $formatPrice->currency($order->getGrandTotal()).' '." pos ". $order->getPayment()->getCcStatus();