Hi Yogesh,
You can Send a hidden form field named return with theOther form elements
[PHP]
$paypal_site_url='http://www.thescripts.com/thanks.php';
<input type="hidden" name="return" value="<?=$paypal_site_url?>">
[/PHP]
If you need further details about Paypal IPG integration, you are welcome here.
Thanks,
-Ajaxrand
Thanks for your input Ajaxrand,
Let me explain the scenario.
I a working on a site where user updates details in a form and data gets updated in the database.
1. User Updates form with his unique UserID
|
2. Data goes in database
|
3. Column Payment_status from database is marked as "Not Done"
|
4. User is redirected to Paypal site
|
5. User makes the payment
|
6. Paypal redirects to my site on payment completion
|
7. Payment_Status column is marked as "Done" for that particular UserID
Now what I want to do is when I redirect(step 3) the site to paypal I also want to set Return parameter with parameter UserID.
So when user comes back to my site I can use the UserID to change value in database.
I read somewhere about rm parameter. But not sure how to use that.
I am new to payment gateway. so please help.
Thanks,
Yogesh