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™

Feature Request: entire "custom" string as a token

s2Member Plugin. A Membership plugin for WordPress®.

Feature Request: entire "custom" string as a token

Postby dethier » January 3rd, 2012, 2:00 pm

Currently with the notification API you allow users to include various custom values using "cv1", "cv2" etc. However, I'm implementing a solution that could have a varied number of custom values and so I can't reliably create a notification url using your existing tokens to account for all the possible numbers of custom values.

The solution I'm using right is just to use your built-in hooks in the payment processing to capture the custom vars and do my processing there, however, it was a real pain to discover all the variables available to me and even with the hooks I'm concerned that future updates to s2member will create a maintenance headache for me.

A better solution would be if you can provide a token for sending the entire "custom" string via the notification api url (i.e %%custom%%), then I can just do my processing on the script I have at the url.

I'd LOVE it if you could implement this in the next release. It wouldn't be hard to add.
User avatar
dethier
Experienced User
Experienced User
 
Posts: 14
Joined: August 20, 2010

Re: Feature Request: entire "custom" string as a token

Postby Raam Dev » January 3rd, 2012, 5:56 pm

Hi dethier,

Thanks for the suggestion! I will forward this along to the lead developer. :)
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Feature Request: entire "custom" string as a token

Postby Jason Caldwell » January 5th, 2012, 2:35 am

Thank you for the heads up Raam, and @detheir, thanks for the great idea.

I'll certainly add this to our TODO list for a future release.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron