Forums

Need help with PayPal linkup

bagsprc 25 May, 2008
I could use some help with how to hookup my form with PayPal.

I would like to:
1) Have user input their data (name, email, orderitem, etc.)
2) Based off of user input data, calculate total cost
3) Have user double-check data
4) Have user hit Submit button for paypal request
4) Show a "thank you for your order" message to the user
5) Have a "return to main" button on the thank you message to take user back to homepage.

My configuration is:
Joomla! 1.0.12 Stable
ChronoForms V2.3.9 J1.0

What I've tried:
a) Created TestForm in ChronoForms
b) Added HTML code for user input into Form Code
c) Added PHP code to calculate total cost in 'On Submit code - before sending email:'
d) Also in 'On Submit code - before sending email:', added HTML form code for PayPal Submit button

I don't know how to, (among other things...)
- have PayPal return to my specific ThankYou page


I've put quite a bit into making this work, but haven't succeeded yet. Could use guidance and direction.

Thanks in advance.
GreyHead 25 May, 2008
Hi bagsprc,

You need to include a Return_url parameter in the data you send to PayPal. I'd suggest that this is a ChronoForms URL and that you build whatever code you need to respond into the Form at that url.

Bob
This topic is locked and no more replies can be posted.