But now links/buttons for external websites
Posted: October 8th, 2011, 11:08 pm
I'm trying to generate a buy now link or button for an external website in pure html (no php). The s2member pluggin's Resulting PayPal® Button Code is giving me php values that are not compatible with my external html site. Even when I change the file name extension to php the button wont work. When I do this the button disappears and I can see the following error message only when viewing the source code:
Fatal error: Call to undefined function s2member_value_for_pp_inv() in /misc/6/000/257/825/8/user/web/mysite.com/index.php on line 166
Are this values really necessary???:
or can I go with out them??
Thanks
Fatal error: Call to undefined function s2member_value_for_pp_inv() in /misc/6/000/257/825/8/user/web/mysite.com/index.php on line 166
Are this values really necessary???:
- Code: Select all
<!-- Configures s2Member's Unique Invoice ID/Code -->
<input type="hidden" name="invoice" value="<?php echo S2MEMBER_VALUE_FOR_PP_INV(); ?>" />
<!-- Identifies/Updates An Existing User/Member ( when/if applicable ) -->
<input type="hidden" name="on0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0; ?>" />
<input type="hidden" name="os0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0; ?>" />
<!-- Identifies The Customer's IP Address For Tracking -->
<input type="hidden" name="on1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON1; ?>" />
<input type="hidden" name="os1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS1; ?>" />
or can I go with out them??
Thanks