Skip to content
Snippets Groups Projects
Commit 601310a3 authored by mattwire's avatar mattwire
Browse files

Add comments for calculateTotalFee/0 amount check

parent 47854a15
No related branches found
No related tags found
No related merge requests found
...@@ -271,6 +271,9 @@ ...@@ -271,6 +271,9 @@
} }
} }
// This is ONLY triggered in the following circumstances on a CiviCRM contribution page:
// - With a priceset that allows a 0 amount to be selected.
// - When Stripe is the ONLY payment processor configured on the page.
if (typeof calculateTotalFee == 'function') { if (typeof calculateTotalFee == 'function') {
var totalFee = calculateTotalFee(); var totalFee = calculateTotalFee();
if (totalFee == '0') { if (totalFee == '0') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment