Field value for user's first entry submit.

By: Eric Ebell | Asked: 09/10/2023
ForumsCategory: General questionsField value for user's first entry submit.
Eric Ebell asked 7 months ago
When a customer submits an entry on my form for the first time, I want to charge a service fee. For their second or subsequent entries, I do not want to charge them this service fee. I'm banging my head and reading through support documents trying to figure out this logic. Can you suggest an idea on how I can handle this? Thank you!
1 Answers
Victor Font answered 7 months ago
First, make sure the user is registered and you capture the user id on the form. On the first entry, you can add a metadata value to the user's WordPress User record for registration fee paid with. When the same user submits subsequent entries, check the user record for fee paid, if the fee has been paid, use conditional logic to bypass the billing feature.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community