Hi Everyone!
My nonprofit (www.HCS.foundation) came across a donor that wanted to cover the Stripe transaction fees associated with their donation.
Is there any way to add this option to the ecommerce “checkout” page (perhaps under the “subtotal” line item div within the “order summary” element), so that the order summary total updates to include the fees when this option is checked?
I’m no expert in web dev (just self-taught enough to build this website) but have managed to stumble through figuring out how to use embeds to write a script (shout out to w3schools.com) for another page on our site that performs arithmetic on dynamic cms number values, and feel I could do the same to add the fees to the “order subtotal” value, but I’m not sure how to access this referenced value in the checkout form since the “+ add field” button doesn’t populate within the HTML editor when the embed element is added to this page, and furthemore I’m not sure how to then bind the “order total” value to this new “order subtotal” value.
Any help is apprecated, and thanks in advance!
Justin