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

Kevin Lassar
Kevin Lassar
22,440 Points

Need help on a outside project! Please and thank you!

Hello all,

I know this question does not pertain to any Treehouse course but i was hoping the community here might be able to offer some viable solutions.

I am currently building a website for a client which main component is a form that in summary will allow a user to submit text content, a file upload(in this case a video) and then pay at which point they may submit the form with said clients provided information.

The form is supposed to use ajax to load each section (text section, video section, payment, then submit) so the user cannot simply submit the text and video section then exit said form.

I have most of the form completed as well as the ajax function. However, when i reach the third step(payment) the client has requested either Quickbooks or Paypal be the payment processor in this case. With Payal (as i have not tried Quickbooks yet) when the user goes to submit payment they are lead to the Payal checkout page. Once completed payment Paypal provides a url link to send said user back to the website.

The problem i am running into is that after they have finished payment the link back to the website cannot send them back to the 4th section of the form to submit all inputed content.. or at the very least send them back to the 3rd section of the form so they can click the next button which ultimately will lead to the 4th section to submit said content as well.

Side note, i am using Wordpress to build this website in case that may affect the solution. Any suggestions is greatly appreciated!

Thank you,

Kevin