PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
[s2Get constant="S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0" /]
[s2Get constant="S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0" /]
S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0 ... This auto-fills the on0 value in PayPal® Button Codes. If a Button Code is presented to a logged-in Member, this will auto-fill the value for the on0 input variable, with the string: "Referencing Customer ID". Otherwise, it will be an empty string.
S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0 ... This auto-fills the os0 value in PayPal® Button Codes. If a Button Code is presented to a logged-in Member, this will auto-fill the value for the os0 input variable, with the value of S2MEMBER_CURRENT_USER_SUBSCR_OR_WP_ID. Otherwise, it will be an empty string.
These two Constants are special. They are used by the PayPal® Button Generator for s2Member. This is how s2Member identifies an existing Member ( and/or a Free Subscriber ), who is already logged in when they click a PayPal® Modification Button that was generated for you by s2Member. Instead of forcing a Member ( and/or a Free Subscriber ) to re-register for a new account, s2Member can identify their existing account, and update it, according to the modified terms in your Button Code. These three Button Code parameters: on0, os0, modify, work together in harmony. If you're using the Shortcode Format for PayPal® Buttons, you won't even see these, because they're added internally by the Shortcode processor. Anyway, they're just documented here for clarity; you probably won't use these directly; the Button Generator pops them in.
[s2Get constant="S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0" /]
[s2Get constant="S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0" /]
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" >
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
Users browsing this forum: Google [Bot] and 1 guest