Skip Navigation

[Resolved] How to take payments with Toolset and offer discount dynamically?

This support ticket is created 3 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 1.38 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 3 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#1911011

Situation 1
1) I have CPT named expert review requests and it should only be accessible to to people who have paid for it
2) For instance, each expert review costs $40 so the user should pay $40 before being able to submit an expert review request.
3) My question is - how do I take payment using toolset? I am currently using wpforms to take payment and have integration with stripe but I want to move everything to toolset if it's not too much work.

Situation 2:
1) I have a reward system in place that accumulates points for activity on the for each user. For example, user A could earn 450 points and user B could earn 300 points based on activity on the site.
2) Let's say 100 points = $1 and I want to give the user an option to 'apply' the points earned when they pay for expert review requests.
3) My question is - how do I create a dynamic payment form that shows the base price (say $40), points available, option to apply the points to the base price and finally get a modified price. Example, user B has 300 points which is equivalent to $3. Now, the user applies all the points on the payment form and the final price changes to $37.

Note: I have written the code to calculate the points and can render the data using shortcodes.

Is this possible with toolset?

#1911547

Hello,

Situation 1)
You can create a post form for creating " expert review requests" posts, and charge user for using that post form, see our document:
https://toolset.com/course-lesson/charge-users-for-submitting-content/
Charge users for submitting content in WordPress

Situation 2)
It depends on the payment method, if you are using Woocommerce plugin, then it depends on the Woocommerce payment method, and I have searched it in google, and see some related addons, for example:
https://wordpress.org/plugins/gamipress-wc-points-per-purchase-total/

For your reference.