Hi,
Thank you both for my replies. Ill await your answer from Jason as that seems to be what you said in your response.
I tried adding the domain to the custom field and uploading to a live site however still the same result. I compared the url from the welcome email (after going through the shortcode straight after account created) and then the url from when that user is logged in and the shortcode run.
Everything was the same except for the following differences:
Logged in User
s2member_paypal_return_tra=has a different lot of characters
&on0=Referencing+Customer+ID
&os0=28
when i go through check out it will allocate the paypal payment to the account because the customer id was specified.
Welcome Email run shortcode
is the same as the above except these three fields are different
s2member_paypal_return_tra=has a different lot of characters
&on0=Originating+Domain
&os0=mydomainhere.com.au
when i go through the paypal checkout it obviously doesn’t have the customer ID so cannot automatically upgrade their account. I was prompted that payment was successful and to create another and i already had a user account hence the welcome email from a step before. I prefer account creation first rather than payment. I have a payment reminder on the home page once they log in but it would still be nice if its possible to get the email payment link to work.
Thanks for any further help if you can think of a quick hack or cut and paste of an existing method and a line or two needing to be changed.