Forum Replies Created
-
AuthorPosts
-
chelleMember
Just realized maybe my quotation marks are in the wrong place…going to try that and will report back
chelleMembers2member uses the custom field already, so in the notes where I entered the payment notification url there are directions that say to do this:
Custom Replacement Codes can also be inserted using these instructions:
* %%cv0%% = The domain of your site, which is passed through the
custom
attribute in your Shortcode.* %%cv1%% = If you need to track additional custom variables, you can pipe delimit them into the
custom
attribute, inside your Shortcode, like this: custom=”scrapvine.com|cv1|cv2|cv3″. You can have an unlimited number of custom variables that track IP addresses, affiliate IDs, etc. In some cases you may need to use PHP code to insert a value into the custom field dynamically. Obviously this is for advanced webmasters, but the functionality has been made available for those who need it.This example uses cv1 to track a User’s IP address:
( The IP address could be referenced using %%cv1%% )
custom=”scrapvine.com|<?php echo $_SERVER[“REMOTE_ADDR”]; ?>”
So that is why I did it that way. Should I have two custom fields defined instead?
I am so confused by all of this, lol. Thanks again!
chelleMemberThanks for the quick reply!
Here is the sign up link:
[http://scrapvine.com/sign-up-now]
And here is my button code I have hardcoded into my theme:
</p>
<p><form action="https://www.paypal.com/cgi-bin/webscr" method="post"><br />
<input type="hidden" name="business" value="mypaypalemail@email.com" /><br />
<input type="hidden" name="cmd" value="_xclick-subscriptions" /><br />
<!-- Instant Payment Notification & Return Page Details --><br />
<input type="hidden" name="notify_url" value="http://www.scrapvine.com/?s2member_paypal_notify=1" /><br />
<input type="hidden" name="cancel_return" value="http://www.scrapvine.com" /><br />
<input type="hidden" name="return" value="http://www.scrapvine.com/?s2member_paypal_return=1" /><br />
<input type="hidden" name="rm" value="2" /><br />
<!-- Configures All Of The Checkout Fields --><br />
<input type="hidden" name="no_shipping" value="1" /><br />
<input type="hidden" name="no_note" value="1" /><br />
<input type="hidden" name="custom" value="www.scrapvine.com"|<?php echo $_COOKIE['ap_id']; ?> /><br />
<input type="hidden" name="currency_code" value="USD" /><br />
<input type="hidden" name="page_style" value="paypal" /><br />
<input type="hidden" name="item_name" value="Monthly" /><br />
<input type="hidden" name="item_number" value="1" /><br />
<!-- Identifies/Updates An Existing Member After Checkout --><br />
<input type="hidden" name="on0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0; ?>" /><br />
<input type="hidden" name="os0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0; ?>" /><br />
<input type="hidden" name="modify" value="0" /><br />
<!-- Customizes Prices, Payments & Billing Cycle --><br />
<!--<input type="hidden" name="amount" value="6.95" />--><br />
<input type="hidden" name="src" value="1" /><br />
<input type="hidden" name="sra" value="1" /><br />
<!--<input type="hidden" name="a1" value="0" />--><br />
<!--<input type="hidden" name="p1" value="0" />--><br />
<!--<input type="hidden" name="t1" value="D" />--><br />
<input type="hidden" name="a3" value="6.95" /><br />
<input type="hidden" name="p3" value="1" /><br />
<input type="hidden" name="t3" value="M" /><br />
<!-- Displays The PayPal Image Button --><br />
<input type="image" alt="PayPal" style="border:0;" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" /><br />
</form></p>
<p>Here is what I have set for my ipn url under payment notification urls in s2member:
[http://www.scrapvine.com/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php]
If I look at the page source, my affiliate ID is there in the pagesource where the phpcode would be, and it was also there on the computer my hubby used when he signed up through paypal. Cleared my cookies, and it was blank, so I can only hope that means it is working?
I’ve read the documentation about using the http get or post, and was not sure if I should enable that in the options settings and place that code in the button also or if it should just work like this?
I appreciate the help!
-
AuthorPosts