*Replace texts in RED. SF/UC = Service Fee/Upcharge.
❖ When using a Multiple Product component, the following script should be used:
value = data.{MultipleProductAPIname}.amount * {SF/UC rate in decimal form};
➔ For example, 5% is the rate for merchant’s service fee/upcharge and the Multiple Product component's API name is multipleproduct. Calculated value script would be:
value = data.multipleproduct.amount * 0.05;
*To learn how to get the component's API name, click here.
DOUBLE CHECK: Input of API name on the script is CASE SENSITIVE. Please double check.