Questions about Payment Form extension

Submission Limit

  • tarik916
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 weeks ago #76391 by tarik916
Submission Limit was created by tarik916
Is there a way to add a submission limit to a payment form rather than a publish down date? If not built in, can you recommend a hack that can be used as PHP inside of the front-end template. We can create a custom feature, but I want to do the least amount of hacking in order to keep future updates fairly simple. Thank you!

We are using Payment form 4.1 and Joomla 2.5.

Please Log in or Create an account to join the conversation.

More
9 years 3 weeks ago #76509 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Submission Limit
I would suggest you to write a plugin which process onAfterPaymentSuccess event so that when there are enough payment records, you can unpublish the form automatically

That would be safe as you won't have to hack core code of the extension

Payment Form has some sample plugins come with it which process that event. You can create a similar plugin, look at plugins/pmform folder, see Payment Form - Account creation for example

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • tarik916
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 weeks ago #76604 by tarik916
Replied by tarik916 on topic Submission Limit
Great! Thank you!

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc