S2MEMBER_CURRENT_USER_CUSTOM usage
Posted: October 29th, 2010, 5:23 pm
Edit: I tested further by making a purchase with the PayPal button and the function works properly. That makes sense. Sorry for being a bother. I am leaving the post up in case anyone else has the same question. It will save adding another thread to the forum.
Cheers
************************************ original post left below ******************************
I read this segment
I entered the code specified as such
I was expecting my domain name to appear as
Is this because there has been no PayPal transaction IPN? (The user was added through admin.)
Is there a way to add a "simulated PayPal transaction" or create an IPN like result? in the custom capabilities record so users can be added or upgraded manually? (I have some users who want to send me checks. They say they can't figure out how to use PayPal, and because they are accountants, I believe them.)
Thanks,
Kirk
Cheers
************************************ original post left below ******************************
I read this segment
S2MEMBER_CURRENT_USER_CUSTOM
This will always be a (string). Empty if not logged in.
<?php echo S2MEMBER_CURRENT_USER_CUSTOM; ?>
This may output something like: http://www.yourdomain.com|cv1|cv2|cv3
( this is the PayPal input field value for the `custom` variable )
---- s2member Shortcode Equivalent ----
[s2Get constant="S2MEMBER_CURRENT_USER_CUSTOM" /]
I entered the code specified as such
- Code: Select all
<?php echo S2MEMBER_CURRENT_USER_CUSTOM; ?>
[s2Get constant="S2MEMBER_CURRENT_USER_CUSTOM" /]
I was expecting my domain name to appear as
but got no display on the page, so I tested it by adding the exec-php test codehttp://example.com
- Code: Select all
<?php echo "This is the Exec-PHP 'Hello World'"; ?>
as expected.This is the Exec-PHP 'Hello World'
Is this because there has been no PayPal transaction IPN? (The user was added through admin.)
Is there a way to add a "simulated PayPal transaction" or create an IPN like result? in the custom capabilities record so users can be added or upgraded manually? (I have some users who want to send me checks. They say they can't figure out how to use PayPal, and because they are accountants, I believe them.)
Thanks,
Kirk