Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Need help with IPN set up ( and more)
Tagged: fulfillment house, IPN, PayPal
- This topic has 3 replies, 2 voices, and was last updated 13 years, 6 months ago by amin007.
-
AuthorPosts
-
May 5, 2011 at 2:17 pm #3329i65Member
I’m hoping someone can help me here because the PayPal developer site is confusing to say the least! The situation is on the site I’m setting up it is mostly digital downloads but there are also a few physical products that are handled and shipped by a fulfillment house. So I posted a question at PayPal about once an order is complete, how can I send a copy of the order to the fulfillment house so that they receive the order details (name, address, item, shipping). Their answer was “You could set up IPN to send a notification to your fulfillment house with the details that you are wanting to send to them.” Ok Great. So I go to my sandbox account, which is a mess in itself, and click on IPN. I don’t know what to use for the Notification URL but after reading a bit I use the url on the site you get sent to after the transaction is complete. After doing a test transaction I get these errors when previously the transaction were working.
FAILURE :Funds have not been cleared yet. Product(s) will be delivered when the funds clear!
FAILURE :IPN product validation failed.
So obviously something is wrong now.
I know I’m starting to ramble so my questions are 1. What do I use for the Notification URL when setting up IPN on PayPal? And 2. Once IPN is set up, how do I use that to send an email with the order details to the fulfillment house? I see nothing on PayPal to do this using IPN.
Any help would be very much appreciated! I’m going nuts here!
May 6, 2011 at 12:30 am #32053amin007ParticipantYour first step would be for fix your PayPal sandbox accounts so funds get cleared automatically after you receive a payment. Basically, we want to address the following error:
FAILURE :Funds have not been cleared yet. Product(s) will be delivered when the funds clear!
There are a few account setup related conditions that can make it to where the funds do not clear. You can go through this list of reasons mentioned here and correct your PayPal or sandbox PayPal account.
You can also contact PayPal and ask them to take a look at your account so that they can tell you what option you setup wrong.
This article is also a good read if you are new to PayPal sandbox:
http://www.tipsandtricks-hq.com/playing-in-paypals-sandbox-2880
Once, you take care of this issue and have a successful transaction going then we can look into moving to the next stage.
May 9, 2011 at 3:55 pm #32054i65MemberThe problem with the “funds have not cleared yet” is only with PayPal sandbox. On the live site the transactions are working fine. The PayPal sandbox is a mess so we’ll just forget about that for now.
So my question is, once an order is completed and approved how do I send a copy of the PayPal notice with the name, address, product, shipping to the email address of the fulfillment house so that they can process the order?
And here is something I don’t quite understand as well. On the clients PayPal account, I do not have Instant Payment Notifications enabled. But as you can see from the debug log below “IPN is successfully verified.” Do I even need to enable that and put in a notification url at this point?
Here is the debug log from a transaction where this person bought a digital download item and a physical product, which is what I would like to have sent to the fulfillment house. (I’ve X’d out certain sensitive parts)
[05/05/2011 9:56 PM] – SUCCESS :Paypal Class Initiated by 66.211.170.66
[05/05/2011 9:56 PM] – SUCCESS :Post string : xxxx
[05/05/2011 9:56 PM] – SUCCESS :Connection to http://www.paypal.com successfuly completed.
[05/05/2011 9:56 PM] – SUCCESS :IPN successfully verified.
[05/05/2011 9:56 PM] – SUCCESS :Creating product Information to send.
[05/05/2011 9:56 PM] – SUCCESS :Seller Paypal Email Address is Valid: orders@xxxx.com
[05/05/2011 9:56 PM] – SUCCESS :Transaction Type: Shopping Cart
[05/05/2011 9:56 PM] – SUCCESS :Number of Cart Items: 2
[05/05/2011 9:56 PM] – SUCCESS :Item Number: 25
[05/05/2011 9:56 PM] – SUCCESS :Item Name: XXXX
[05/05/2011 9:56 PM] – SUCCESS :Item Quantity: 1
[05/05/2011 9:56 PM] – SUCCESS :Item Price: 6.99
[05/05/2011 9:56 PM] – SUCCESS :Item Shipping: 0.00
[05/05/2011 9:56 PM] – SUCCESS :Item Currency: USD
[05/05/2011 9:56 PM] – SUCCESS :Download Link :
XXXX – http://xxxx.com/wp-content/plugins/wp-cart-for-digital-products/download.php?file=xxxx
[05/05/2011 9:56 PM] – SUCCESS :Item Number: 1
[05/05/2011 9:56 PM] – SUCCESS :Item Name: XXXX
[05/05/2011 9:56 PM] – SUCCESS :Item Quantity: 1
[05/05/2011 9:56 PM] – SUCCESS :Item Price: 349.00
[05/05/2011 9:56 PM] – SUCCESS :Item Shipping: 0.00
[05/05/2011 9:56 PM] – SUCCESS :Item Currency: USD
[05/05/2011 9:56 PM] – SUCCESS :Download Link :
XXXX – This product does not have any downloadable content
[05/05/2011 9:56 PM] – SUCCESS :Product Email successfully sent to xxxx@msn.com.
[05/05/2011 9:56 PM] – SUCCESS :Notify Email successfully sent to xxxx@gmail.com.
[05/05/2011 9:56 PM] – SUCCESS :Updating Products, Customers, Coupons, Sales Database Tables with Sales Data.
[05/05/2011 9:56 PM] – SUCCESS :Products, Customers, Coupons, Sales Database Tables Updated.
[05/05/2011 9:56 PM] – SUCCESS :Updating Affiliate Database Table with Sales Data if Using the WP Affiliate Platform Plugin.
[05/05/2011 9:56 PM] – SUCCESS :Not Using the WP Affiliate Platform Plugin.
[05/05/2011 9:56 PM] – SUCCESS :Paypal class finished.
Any help or advice would be greatly appreciated.
Thank you.
May 10, 2011 at 12:50 am #32055amin007ParticipantIPN is enabled by default when you open a PayPal account. You only need to check the IPN settings if PayPal is not sending IPN for some reason. In your case IPN is working fine for this PayPal account (at least thats what the debug above shows).
“once an order is completed and approved how do I send a copy of the PayPal notice to somewhere else?” – WP eStore has an option whereby it can forward this IPN that it receives to another URL. Go to the “WP eStore Settings” -> “3rd Party Settings” and look for the following field:
PayPal IPN Post URL
Specify the 3rd party order processing applications URL here and eStore will send the PayPal IPN there.
That field was introduced for the Memberwing plugin but it does the same thing so don’t get confused by the word “Memberwing”. Just know that if you specify a URL in the “PayPal IPN Post URL” field the IPN will get sent there.
-
AuthorPosts
- You must be logged in to reply to this topic.