I'm using paypal for a subscription product with amember. Been using it for several years now and both work well together. One simple question though - how can I direct someone to a thankyou page after they sign up through paypal using amember. I don't see this option anywhere and think maybe I'm missing it our for some reason you can't do it with paypal and amember?
In the PayPal account profile there is an option called "Auto Return" under "Website Payment Preferences" (PayPal account home -> Profile -> Website Payment Preferences). Set it to "On" and enter the return URL there as well. Technically, it doesn't matter what you set as the return URL because it will be overridden by the return_url variable sent from the aMember script but it has to meet the PayPal requirements which are described in that section as well. You will probably have to add some wording to the thanks.html template. Tomas
Does "auto return" actually automatically return or does it just enable the optional "return to merchant" button?
Where do you set the return_url variable in the amember script? If I understand correcthly then you see the paypal url autoreturn to on - I've found it - but only has one url link - I have multiple products so would prefer to be able to have more than one url. - I might be able to do this by finding this return_url variable in amember. Where is that located? Thanks again for your help!
The return_url is preset to http://www.yourdomain.com/amember/thanks.php?payment_id=[PAYMENT_ID] - the payment_id is unique for each invoice and the thanks.php page displays the unique transaction details. But if you want to have the user redirected to a completely different URL, you will have to hack the code a little bit. Some PHP coding skills will be necessary though (although it should be relatively simple). Tomas