Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate General Questions › paypal – commissions not showing up…
Tagged: not recognizing commisions
- This topic has 10 replies, 3 voices, and was last updated 14 years, 4 months ago by amin007.
-
AuthorPosts
-
June 21, 2010 at 10:17 pm #1398moosechicMember
i have just setup the affliate plugin. was doing a test run…
i have my commission rate set at 34%
i did a $1.00 sale for a test…
the $1.00 test can be found at:
http://websitesglobal.com/website/test/
then my affilate ad can be found at:
http://lifelinehosting.net/webhostingoffer.htm
if you click on the square banner, it takes you to http://www.websitesglobal.com and i can see the affiliate id… but when i click on page “test” to do $1.00 and then i log into my test affiliate account, and run the report of minimum pay out of .01 it doesn’t pull anything up? so its not recognizing the sale? am i doing something wrong?
June 22, 2010 at 2:05 am #21928wpCommerceModeratorHi moosechic, I just checked the “Buy Now” button that you added on the “test” page. It took me to Paypal but the “Price amount” was zero. Are you sure that you entered the price amount correctly?
June 22, 2010 at 2:34 am #21929amin007ParticipantDid you actually do the transaction? Remember just because you went to PayPal does not mean the commission will be awarded.
Also, check the sales from the “Sales Menu” of the plugin. You don’t need to generate Payout for this.
I see you are using a plain PayPal button… Which integration method are you using (stated in this documentation)?
June 25, 2010 at 8:13 pm #21930moosechicMemberah, i think i missed that on the specifics of the paypal thing…i will review documentation and try again. thx.
June 25, 2010 at 8:25 pm #21931moosechicMemberOk, i read thru docs… i guess i’m not quite clear…do i need a IPN with paypal? here is my code for my $1 button:
<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=”SQN4QFY9P4G5S”>
<input type=”image” src=”https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif” border=”0″ name=”submit” alt=”PayPal – The safer, easier way to pay online!”>
<img alt=”” border=”0″ src=”https://www.paypal.com/en_US/i/scr/pixel.gif” width=”1″ height=”1″>
</form>
your sample code has a few more lines than mine… :
<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=”7JK4AJCBQGJV6″>
<input type=”image” src=”https://www.paypal.com/en_US/GB/i/btn/btn_buynowCC_LG.gif” border=”0″ name=”submit” alt=”PayPal – The safer, easier way to pay online.”>
<img alt=”” border=”0″ src=”https://www.paypal.com/en_GB/i/scr/pixel.gif” width=”1″ height=”1″>
<input name=”notify_url” type=”hidden” value=”http://www.your-domain.com/test1/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php” />
<input name=”custom” type=”hidden” value=”<?php echo $_COOKIE; ?>” />
</form>
what am i missing?
June 26, 2010 at 1:48 am #21932amin007Participant“Method 1” explained in the documentation do not require IPN. “Method 2” does.
Direct/Plain/Hosted PayPal Button and Affiliate Plugin Integration
I am guessing you are following method 2. It helps if you follow the full documentation… don’t just do half of what it says and expect it to work
You are missing the following from your button code so add them in:
<input name="notify_url" type="hidden" value="http://www.your-domain.com/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php" />
<input name="custom" type="hidden" value="<?php echo $_COOKIE['ap_id']; ?>" />Also, don’t forget to read up on the PHP executable part if you are following the PHP example.
Sometimes it’s easier to follow the “Method 1” and get it going then you can upgrade to “Method 2” as by then you are a little bit familiar with the plugin.
Please post a link to your page where you have the PayPal button too.
June 26, 2010 at 2:11 am #21933wpCommerceModerator“notify_url” is the URL where Paypal will send IPN(instant payment notification).
After confirming the IPN the plugin will see which affiliate ID the sale has come through based on the cookie and it will automatically award commission to that affiliate.
That’s why you need to add the following piece of code to your button:
<input name="notify_url" type="hidden" value="http://www.your-domain.com/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php" />
<input name="custom" type="hidden" value="<?php echo $_COOKIE['ap_id']; ?>" />June 26, 2010 at 5:46 pm #21934moosechicMemberactually i’m trying to use method 1 – here is what i do not understand:
“If you are using PayPal hosted buttons then you need to specify the values of the “rm” and “return” fields in the advanced variables section of the button on PayPal.
i see the box in paypal where to add the advanced variables, but i do not know what to put in that box….
I see sample codes for method 2 but not method 1. do you have a sample code for method 1?
June 27, 2010 at 5:28 am #21935amin007ParticipantI have updated the documentation and added example code:
Direct/Plain/Hosted PayPal Button and Affiliate Plugin Integration
Please check it out and let me know if you need more help.
July 1, 2010 at 7:39 pm #21936moosechicMemberthank you for this information. very helpful. i think i found the problem. when i go thru the test it doesn’t return me to the thank you page, but i clearly have the “thank you page in the code below.
i did my test run again with this code as my button:
<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post”>
<input type=”hidden” name=”cmd” value=”_xclick”>
<input type=”hidden” name=”business” value=”sales@lifelinehosting.net”>
<input type=”hidden” name=”undefined_quantity” value=”1″>
<input type=”hidden” name=”item_name” value=”Testing Product”>
<input type=”hidden” name=”amount” value=”1.00″>
<input type=”hidden” name=”image_url” value=”https://yoursite.com/images/paypaltitle.gif”>
<input type=”hidden” name=”no_shipping” value=”1″>
<input type=”hidden” name=”return” value=”http://www.websitesglobal.com/thankyou.htm”>
<input type=”hidden” name=”rm” value=”2″>
<input type=”image” src=”http://www.websitesglobal.com/images/addtocart.png” border=”0″ name=”submit”>
</form>
am i missing something?
July 2, 2010 at 1:03 am #21937amin007Participant“when i go thru the test it doesn’t return me to the thank you page” – Did you click on the “Return to Merchant” link on the payment confirmation page? PayPal won’t redirect unless you click that button.
The page “http://www.websitesglobal.com/thankyou.htm” doesn’t look like a WordPress page to me. Is that a WordPress page? Remember for the plugin to work the thank you page must be created in WordPress (Create a Post or a Page for this from your WordPress). If you want to make a standalone page that doesn’t look like any of your other wordpress page that’s fine too but the proper way to do that in WordPress is to use Custom WordPress page template:
How to Create and use Custom Page Template in WordPress to Create a Sales Page
If you must use a plain HTML page (a page that isn’t a WordPress post or page) as your “Return” page then you must use the 2nd integration method to award the commission.
-
AuthorPosts
- You must be logged in to reply to this topic.