Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Using Paypal button Sale not logged in admin or affiliate panel only visitor ?
Tagged: paypal sale not logged
- This topic has 5 replies, 2 voices, and was last updated 13 years, 11 months ago by amin007.
-
AuthorPosts
-
December 3, 2010 at 10:52 pm #2318webgatorzMember
Hi,
I have a bit of a custom gift site which is http://the-real-family-tree-company.co.uk/
now if you click on following link its the order page which takes customers details for there certificate https://the-real-family-tree-company.co.uk/order.php
I have set price to 0.02p which is UK funds.
once this page is filled in which for test purpose only needs email putting in sends you to one more short step then that button will take you to this page https://the-real-family-tree-company.co.uk/ordery2.php ( you have to go through the order for the button etc to be visible on ordery2.php )
You will see the paypal button which I have populated with the two fields as in your guide.
Then after paypal has taken the money you are sent to this page https://www.the-real-family-tree-company.co.uk/sslthanks.php
Which all the customers details are populated in for there order.
The vistor is tracked which can be seen when you view source on paypal button is done, but the sale is not registered, after payment taken through paypal? the commission is £4.00 but I have set the product to 0.02p for testing, you dont think this is the problem ? Sale amount equals less than commission payout ?
Is there a way I could drop a line of code on the sslthanks.php page that when triggered it registers a sale for the affiliate ?
I’m supposed to be launching this site this weekend, so any help would very much appreciated.
All the best
Chris
December 3, 2010 at 11:43 pm #27039amin007ParticipantWhich integration option are you following from this documentation?
Direct/Plain/Hosted PayPal Button and Affiliate Plugin Integration
Do you have percentage based commission or fixed commission?
December 4, 2010 at 11:49 am #27040webgatorzMemberHi,
It is fixed commision amounts.
The above was doing option 2 of paypal buttons.
However I have just also tried Paypal PDT with the token option
The only thing is do I need to put some code on my https://www.the-real-family-tree-company.co.uk/sslthanks.php for it to register the token ? to send back to your plugin to register the sale ?
Please let me know the simple option to just register a sale on the above URL as my thank you page.
Once again thank you for your help.
All the best
Chris
December 4, 2010 at 11:19 pm #27041amin007ParticipantOption 1 is definitely the easiest to use but I don’t think your “Thank You” page was created in WordPress. It is completely separate php script that you wrote right?
In that case option 2 will be the way to go. Usually one of two things can go wrong when you take this path. Either the notification URL is not correct so PayPal is not sending the IPN back to the plugin or you didn’t include the cookie value correctly. Can you please share the PayPal button code that you generate after a customer fills in the form? I am particularly interested to see the value of the “notify_url” and the “custom” fields.
Basically, when the button is generated instead of clicking it just view the HTML source and it will show you all the values for different variables of that button.
December 5, 2010 at 8:11 am #27042webgatorzMemberHi
I went and put code back in as of option two to generate the code to show you, did that then went and did test order anyway and guess what ? It worked
One other question where do you set ” Item ID ” as this field is blank in reporting section ?
Thanks for your responses.
If you would like a testimonal let me know ?
All the best
Chris
December 5, 2010 at 11:17 pm #27043amin007ParticipantGlad to hear that.
In your PayPal button whatever you put in the “item_number” field to submit to PayPal the plugin will pick that value up and add it as item ID when awarding the commission.
You can leave your feedback here:
http://www.tipsandtricks-hq.com/ecommerce/wordpress-estore-testimonials-154
-
AuthorPosts
- You must be logged in to reply to this topic.