🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 22, 2026

How to Give, Take and Spend myCred Points With Gravity Forms

GravityExtra
How to Give, Take and Spend myCred Points With Gravity Forms

A loyalty club, a members area or a community runs on a simple promise: do something, get something, and spend what you got. myCred is a free plugin that keeps the score. It holds point types, ranks and badges, and it logs every move. Gravity Forms is where people actually do things: they apply, redeem, order, report, review and sign up. The gap between them is the moment a form is sent. Someone has to give the points, sometimes to take them, and sometimes to accept them as the price. This guide shows how to connect the two so that a Gravity Forms form rewards the person who sends it with myCred points, a badge or a rank, lets members pay for an order with their points, and keeps a form for those who have earned it.

A Gravity Forms form that shows a logged-in member their myCred balance: 95 coins, 18 experience points, the rank Silver and 1 badge, filled in by merge tags
A form can show the member their own balance, rank and badge count.

What myCred Already Does for Gravity Forms

myCred comes with a hook for Gravity Forms. You switch it on in the myCred hook settings, pick a form, and the logged-in user gets a fixed number of points for each submission of that form. There is a setting for forms that take a payment, and a trick that uses a field with a special label to change the amount. That is a good way to give one flat bonus for one form, and it stays inside myCred.

Many sites need more than that. A shop wants to give one point for every two dollars in the order total. A rewards desk wants a redeem form that takes 30 coins and refuses to run when the balance is 20. A café wants members to pay for a tasting with their coins instead of a card. A community wants a form that moves a member to the Silver rank, but never lowers a Gold member who fills it in. And a lounge wants a booking form that only members with 100 coins can even see. These are things the form should decide, with the values of the entry.

The Idea: a Feed on the Form

The Gravity Forms Credits Premium Add-on from GravityExtra adds a feed to your form. A feed is the Gravity Forms way to say what happens after an entry is saved, and it has the things you already know: a name, conditional logic, support for payment add-ons and notes on the entry. Choose one of five actions, or a gate.

The Credits feed settings in Gravity Forms: the action, who gets the reward, the point type, an amount taken from a form field with a multiplier and a cap, and the log text
One feed: what to give, to whom, and how much, taken from a field if you like.

Step 1: Give Points

Choose the action to award points, pick one of your myCred point types, and decide the amount. A fixed amount is the simplest: every member who sends the form gets 25 coins. The better way for a shop is to take the amount from a field. Pick a number, calculation, quantity or total field, and the add-on reads the answer as a number. It understands 40, 1,250.50 and a product choice that holds a price. Anything else, such as an empty field or the word lots, moves nothing, and the entry gets an error note.

A multiplier turns the answer into points. With 0.5, an order of 40 gives 20 points, and with 9.9 you get 4 points on a point type without decimals, because the result is rounded down and a partial point is never given. If your point type has decimals, the decimals are kept: an answer of 10 with a multiplier of 0.25 gives 2.5. A cap for each entry protects you against a typing error or a forged request: with a cap of 100, an order of 300 gives 100. There is also a hard limit of one million points for one feed and one entry, whatever the settings say.

The points are given with the same myCred function that other myCred add-ons use. The move appears in the myCred log with its own reference, the entry number is stored with it, and the entry note tells the real change, with the balance before and after. You can write the log text yourself with form merge tags, such as the form title and the entry number. If you leave it empty, the add-on writes a short line for you, which matters because myCred does not log a move that has no text.

Step 2: Take Points

A redeem form is a deduction feed. The member sends the form and the points are taken. What if the balance is too short? You choose. The first choice takes nothing and writes an error note on the entry, which is what a rewards desk wants: the redeem is refused and somebody can look at it. The second choice takes what is there, down to zero. myCred lets a balance go below zero when you ask it to, so the add-on never asks. A member who already has a negative balance is treated as having nothing.

A deduction has one more safety rule. It only ever affects the logged-in user. Another feed can reward the account of a typed email address, but a deduction cannot, because a stranger must not be able to type the email of a member and take points away.

Step 3: Let Members Pay With Points

This is the action that the built-in hook cannot do. Build a normal Gravity Forms order form with a product field and a quantity, add a feed, and choose the action to pay the form total with myCred points. Then set how many points one unit of your currency is worth. With a rate of 10, a total of 40.00 costs 400 points. The price is rounded up to the decimals of the point type, so you are never short by a fraction.

The check happens before anything is saved. On the last page of the form, the add-on works out the total and compares it with the balance of the member. If the member has 399 coins and the order costs 400, the form is not sent and a message says how many coins are needed, how many the member has and how many are missing. You can write the message yourself. A visitor who is not logged in cannot send the form, and is asked to log in.

When the form is sent, the points are taken once, after the entry is saved, and the entry is marked as paid with the payment method myCred points and the total as the amount. If you prefer to keep the payment status for another process, switch that option off. This is not a payment gateway and it does not move money. It spends points, and your order emails, confirmations and notifications work as before.

Step 4: Give a Badge or a Rank

For a badge, choose it from your published badges. The add-on gives it with the myCred badge function. A member who already has it gets nothing twice, and the note says so. For a rank, choose one from your ranks. By default the rank is set only when it is higher than the one the member has. That makes a profile form safe for everybody: a new member becomes Silver, a Gold member stays Gold. One thing to know: myCred can work out ranks from the balance, or you can set them by hand. A form can set a rank when the ranks of that point type are in the manual mode. In the automatic mode the add-on tells you in the entry note why it did not set the rank, instead of setting something that the next balance change would undo.

Step 5: Decide Who Is Rewarded

The default is the logged-in user. No account is created and none is changed, and a visitor gets nothing. That is right for a members area. For a public contest you can choose the second option: a visitor is matched or created by the email in the form. A new account gets a safe role, never one that can manage the site, write posts or export data. An email that already has an account is refused unless you allow it, and then the account only gets the reward and nothing else about it changes. An account that can manage the site is never rewarded this way. People who are kept out of a point type by the myCred exclude settings are respected too: nothing is moved, and the entry says why.

Once for Every Entry

A reward or a charge that can be repeated by accident is a problem. Payment add-ons send a webhook twice, administrators edit entries, notifications get resent. The add-on marks the entry before it calls myCred, so each entry is processed once by each feed. For a welcome bonus there is also the option to reward each member only once, whatever the number of entries.

If your form takes a card payment, tick the option to reward only when the payment is completed. The points are given at that moment and not before.

Step 6: Gate a Form

The same feed type can protect a form. Set a point type and a number, or a rank, or both. A member who does not qualify sees a message instead of the form, or sees the form with the message and cannot send it.

The form gate settings: the point type, the balance needed, the rank needed, hide or block mode and the message with the missing points
A gate hides or blocks the form for people who have not earned it yet.

The message is plain text, and it can tell the member how many points are missing: Earn 40 more coins to unlock the tasting. You have 60 of 100. A visitor who is not logged in gets the message with a link to log in. A submission that is forged to a hidden form is refused. If myCred is switched off or the license is not active, the gate stays open, so a form is never locked by accident.

Show Members Their Own Numbers

Rewards are only fun when people can see them. The add-on adds merge tags for the balance of the member, the rank, the number of badges, the points the entry moved and the balance after the entry. Use them in the confirmation, in notifications and in the default value of a field, so a form can say Thanks, you earned 40 coins and you now have 120. You can name a point type after a colon, for example coin or xp. A field can also be filled by a parameter name when you switch on dynamic population, and the value always comes from the member who is logged in, never from the address of the page.

Each entry gets notes for every step, so you can answer the question of a member who says the points did not arrive: the note shows the amount, the balance before and after, and the reason for anything that was not done.

A Few Setups You Can Copy

  • A loyalty club: a purchase form with a feed that awards points from the order total, with a multiplier of 0.1 and a cap of 500.
  • A redeem desk: a form with a feed that deducts 30 coins, set to refuse when the balance is short, and a notification to your staff.
  • A points shop: an order form with a product, a quantity and a pay with points feed at a rate of 10, so a pass that costs 20.00 costs 200 coins.
  • A welcome bonus: a profile form with a feed that awards 10 points once for each user, and a feed that sets the Silver rank.
  • A members only booking: a form with a gate that needs the Silver rank, in the mode that hides the form.
  • A feedback bonus: a short survey that awards 5 experience points and gives the First Steps badge.

Questions People Ask

Do I need a paid myCred add-on?

No. The add-on works with the free myCred plugin and its free Ranks and Badges add-ons.

Will it work next to the myCred Gravity Forms hook?

Yes. The hook gives a flat amount for a form, and this add-on adds feeds that act on the entry. They can both run on the same form, and each writes its own line in the log.

Can the points go wrong if a field holds a strange value?

No. A value that is not a number moves nothing, a negative value moves nothing, and a cap and a hard limit protect every entry.

Does it send my data to another service?

No. Everything happens on your own site. Only the license check talks to gravityextra.com, when you press Activate.

Credits is part of the GravityExtra collection of Gravity Forms add-ons. See the Gravity Forms Credits Premium Add-on for the details, or read the setup guide in the documentation.

See the Credits add-on

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr