Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Mayur Pande
PLUS
Mayur Pande
Courses Plus Student 11,711 Points

How to link registration form and payment button

Hi,

I am getting confused on how to check whether someone is logged in when they pay for a service through stripe.

So I have a tutor wordpress site, that will charge an initial fee for registering.

Then to book a session it will charge another fee, I have already set this up with stripe, and the book button is working.

However I am not sure what type of plug-in to use (or if even to use one) for the registration form in order to check if someone is logged in or not and receive the initial registering fee.

Any suggestions,

Many Thanks

Mayur Pande
Mayur Pande
Courses Plus Student 11,711 Points

Zac Gordon maybe you could shed some light on this? As you mentioned it is possible in you stripe with wordpress video.

Many Thanks