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™

Using PayPal Saved Buttons

s2Member Plugin. A Membership plugin for WordPress®.

Using PayPal Saved Buttons

Postby PseudoNyhm » July 8th, 2011, 2:51 pm

Is is possible/practical to use PayPal Saved Buttons with s2Member? That is, the button configuration (price, trial period, etc) are stored at PayPal. My site then only needs a short form which references the unique ID of the button.

This prevents fraud, because otherwise there are a bunch of hidden fields that users could manipulate to tell paypal what they want to pay. (Encrypted buttons are another attempt at preventing button modification fraud, but I have yet to get that to work (in the Sandbox)).

I thought I read about this somewhere in s2Member, but I cannot find the instructions. Initial investigation shows (thanks to your great logging) that I need to add a couple "Advanced" custom fields to the button: reply_url and custom. Or, I could probably just add these to the HTML form as hidden fields, augmenting the referenced button fields (or would PayPal reject that).

However, s2Member cannot recognize the customer of the resulting IPNs. It looks like s2Member also includes a bunch of other hidden fields, which identify the customer (and other stuff?) needed to modify users. My specific use case is subscription modification (Level 0 upgrade to Level 1).

Is there any good way to use saved (pre-configured) buttons, or is this just not advisable with s2Member?
User avatar
PseudoNyhm
Experienced User
Experienced User
 
Posts: 79
Joined: June 19, 2011

Re: Using PayPal Saved Buttons

Postby Cristián Lávaque » July 8th, 2011, 8:34 pm

Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 1 guest

cron