<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Discount formatting on payment screen</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Discount formatting on payment screen</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 00:17:20 +0000</pubDate>

<item>
<title>frankzobitz on "Discount formatting on payment screen"</title>
<link>https://www.machform.com/forums/topic/discount-formatting-on-payment-screen#post-24587</link>
<pubDate>Thu, 17 Dec 2015 12:18:54 +0000</pubDate>
<dc:creator>frankzobitz</dc:creator>
<guid isPermaLink="false">24587@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Discount formatting on payment screen"</title>
<link>https://www.machform.com/forums/topic/discount-formatting-on-payment-screen#post-24582</link>
<pubDate>Wed, 16 Dec 2015 13:29:22 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">24582@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ah.. yes, this is a small bug with the formatting. To fix this, you can edit the &#34;machform/includes/view-functions.php&#34; file, search around line 7604 for this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$payment_calculated_discount = round($payment_discount_amount,2);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$payment_calculated_discount = sprintf(&#38;quot;%.2f&#38;quot;,round($payment_discount_amount,2));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Also, do the exact same thing with the code around line 7638
&#60;/p&#62;</description>
</item>
<item>
<title>frankzobitz on "Discount formatting on payment screen"</title>
<link>https://www.machform.com/forums/topic/discount-formatting-on-payment-screen#post-24562</link>
<pubDate>Sun, 13 Dec 2015 20:13:37 +0000</pubDate>
<dc:creator>frankzobitz</dc:creator>
<guid isPermaLink="false">24562@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;When using Stripe (I haven't checked if there is different behavior with PayPal), if the discount amount doesn't contain any cents (for example: $10.00) it only displays $10 rather than $10.00.  The other amounts I have also don't contain any cents, however, they are displayed correctly with the .00.&#60;/p&#62;
&#60;p&#62;This is on the final payment screen where the user enters their credit card information.&#60;/p&#62;
&#60;p&#62;Any idea on how to get the discount price to have .00?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
