16 pointsStarting to get into this DEV thingI'm new here
jhonatan1988
Member
—
20th January 2012 (4 months ago)
Hi, i would like to know how is it possible to redirect a new user who just made a payment in paypal (subscriptions) to a a different url, where could see important info. I noticed that users get return to the home page but that could be confusing, more if you just made a payment
Hi, i would like to know how is it possible to redirect a new user who just made a payment in paypal (subscriptions) to a a different url, where could see important info. I noticed that users get return to the home page but that could be confusing, more if you just made a payment
u need to use return HTML variable while coding for your paypal button.
adding this code will works: <input type="hidden" name="return" value="http://your-web-domain.com/thanks.htm">
Hi, thanks, but can i use this in the membership plugin? in which file could it be possible? actually im unsing "PayPal Express - with subscriptions" gateway. I appreciate if you are more specific because i could check several html forms in paypal addons
Yes you can. you have to add this code to your html code of paypal button: <input type="hidden" name="return" value="http://your-web-domain.com/thanks.htm">
There is a filter for the return url that you can use so that you don't need to edit any code. You'll need to put together a small plugin to do it though - I'll post an example below.
Hi, thanks for the info, i appreciate the help, i'll check the plugin solution so i wont have to modify the plugin each update, but for now customizing is what i need!
Responses (6)
Member — 20th January 2012 (4 months ago) #
u need to use return HTML variable while coding for your paypal button.
adding this code will works:
<input type="hidden" name="return" value="http://your-web-domain.com/thanks.htm">Also u can check other useful parameters here.
Hit thanks if you find it helpful.
Member — 20th January 2012 (4 months ago) #
Hi, thanks, but can i use this in the membership plugin? in which file could it be possible? actually im unsing "PayPal Express - with subscriptions" gateway. I appreciate if you are more specific because i could check several html forms in paypal addons
thanks in advanced
Member — 20th January 2012 (4 months ago) #
@jhonatan1988
Yes you can. you have to add this code to your html code of paypal button:
<input type="hidden" name="return" value="http://your-web-domain.com/thanks.htm">example:
Developer — 20th January 2012 (4 months ago) #
There is a filter for the return url that you can use so that you don't need to edit any code. You'll need to put together a small plugin to do it though - I'll post an example below.
Member — 21st January 2012 (4 months ago) #
Hi, thanks for the info, i appreciate the help, i'll check the plugin solution so i wont have to modify the plugin each update, but for now customizing is what i need!
thanks again.
People Person — 16th February 2012 (3 months ago) #
jhonatan1988,
I'm hoping you were able to find a solution to your request, for now I will mark this thread as resolved.
If you need further assistance in here just re-open :)
Kimberly
Become a member