Gift Certificate rule error

I’ve just updated to 5.1.62 and wow the Rule test is amazing thanks for that Emre!

I’ve fixed most of the errors and I am quite excited to test out everything but I cant figure out the following rule error on my Gift certificates.

This is the Rule error:

[RU GC Purchased & Printed] [:Account] parameter not defined in [AC GC Purchase] action.

Here is the action:

Ac Action Purchase

Here is the rule:

Any help would be appreciated!

You have nothing in the Amount parameter.

Should I add an [:Amount] or something?

Edit:

Ok fixed the [:Amount] to the right place (silly me)…but still getting this error…

[RU GC Purchased & Printed] [:Account] parameter not defined in [AC GC Purchase] action.

Just so everyone knows this is from this tutorial:

What does it say?

It cannot find a parameter named [:Account] in the Action named AC GC Purchase.

In the Action for AC GC Purchase, change the parameter for Account Name from [:Account Name] to [:Account]


P.S. you don’t need the Amount in that Action unless the Tutorial indicates that you need it. Otherwise, it is not used by the Rule, but it doesn’t hurt to define it anyway.

1 Like