Shortcode attribute "custom="

Hi all
New to s2member but i’m getting the hang of it. I was wondering about the “custom” atrribute in a paypal pro-form and how it can be used. Is there any documentation of videos explaining its use other than

"Additional values can be piped in (ex: custom=“domain.com|cv1|cv2|cv3|etc”). Not valid when cancel=“1”.

Does this mean I can specify that the form redirects to a the page specified with arguments…?
What would this look like in a real world example if available?

I have a use case where after registration I need to fire off a php function from another plugin that would take the newly created user id from s2member registration and use it as a parameter… would this “custom” attribute be how I could achieve this?

Thanks, appreciate any help!

@doubledragon:

New to s2member but i’m getting the hang of it. I was wondering about the “custom” attribute in a paypal pro-form and how it can be used. Is there any documentation of videos explaining its use other than

"Additional values can be piped in (ex: custom=“domain.com|cv1|cv2|cv3|etc”). Not valid when cancel=“1”.

Does this mean I can specify that the form redirects to a the page specified with arguments…?
What would this look like in a real world example if available?

No, the custom= attribute is passed to PayPal. PayPal states that the additional values can be used for tracking purposes. So, for example, if you had multiple Pro-Forms and wanted to see which ones resulted in the most members you could add a Custom Value to the custom= attribute by following your domain name with a pipe symbol | and then a tracking code of some kind. This code would be added to the Member’s profile (Custom Value).

You can use the success= attribute to redirect Members to a specific URL upon a successful transaction. Please see this s2Member KBA for more information: http://s2member.com/kb-article/creating-a-registration-thank-you-page/.

Thanks for clearing that up. I’ll check out that link.

I take it that i’ll use that way or an API notification.

Thanks again!