Custom calculation script not working
I've tried every variation I can think of to make this work and it just isn't.
As seen below, the dropdown is for the customer to choose their payment method.
If they don't select one, the number in the column to the right is 0..
If they select "Wire (no fee), the number in the column to the right is 0.
If they select "Credit card (3% fee), the number in the column to the right is the Invoice Total x 3%

Here is the formula I'm using (everything is calculating correctly except the Invoice Total x 3%):
var v = this.getField("PaymentMethod").valueAsString;
if (v=="CHOOSE ONE") event.value = "0";
if (v=="Wire (no fee)") event.value = "0";
if (v=="Credit Card (3% fee)") event.value = (AmountInvoice_Total*.03);
