This is a repost from one month ago, I still need an answer.
This is a followup to a previous post where you suggested I create encrypted buttons. I've been studying the PayPal site and have been comparing the PayPal generated buttons to the s2Member generated buttons (by turning encryption off). I have found 2 things that I'm not sure how to deal with:
1) When I generate a PayPal button, I added rm=2 to the advanced variables to match s2Member, the generated code then has rm=1 AND rm=2. Not sure how to fix that...
2) How do I add the os0 field to the encrypted button code? Can I simply add the field like this?
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="JF7HAQZ34UAZC7Y">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<input type="hidden" name="os0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0; ?>" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
and I need some verification whether I'm doing this right or not. I did read the long thread on encryption. My button is only available to people who are wordpress subscribers so I am doing a modification from level 0 to level 1. Are these the correct advanced variables for that button:
page_style=MyCustomPage
custom=www.mywebsite.com
notify_url=http://www.mywebsite.com/?s2member_paypal_notify=1
rm=2
on0=Updating Subscr. ID
modify=1
sra=1
thanks
Nick