I'm wondering how to pass variables after payment has been made via Paypal.
Basically it's a membership sign up form.
1. A member fills out a sign up form and click submit.(i.e. name, address, email)
2. After submitting the form it takes you to paypal where the member pays for the membership.
3. After paying, it redirects the user to a page and at the same time the user submitted info(name, address, email) is added to the database
4. After all this is done, the member can login to the membership page.
I'm not sure how this API stuff works on Paypal.
Does anyone have a solution to this? The payment can be on Paypal's site. I'm not looking for to have the payment on my site. I just wonder how the variables from the submitted form can be inserted to the database after payment has been done.(incase they don't pay, nothing will be inserted to the database)