Hello All:
I have read the "PayPal Payment Setup" section of the "OFBiz Business Setup Guide" http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-paymentProcessorDetails. Nice job! However, I have a few questions: 1) Is this intended to be used with PayPal's IPN? If so, then where is this stated in the document? And, more importantly, does a developer need to build the PayPal notification listener/receiver piece or is there something it the works for that? 2) If not for IPN, then what should I use for IPN on the OFBiz side. (I want to use IPN on the PayPal side). TIA Ruth |
depends of the version.
9.04 is strictly IPN. however it does not cover using the paypal feature that lets you have paypal guarantee's the sales. I started to address some of those issues in https://issues.apache.org/jira/browse/OFBIZ-2643 I have not followed up to complete this but I do have a live store that uses it. I just check the Jira and the comments seems not to be comming up. in 9.04 they ported back the new configuration scheme but you can use the old config files. Docs don't cover how to do this. Scott is replacing the IPN with Paypal express model you can find his emails in the dev mailing list. also https://issues.apache.org/jira/browse/OFBIZ-934 https://issues.apache.org/jira/browse/OFBIZ-2693(closed) Ruth Hoffman sent the following on 8/15/2009 4:08 AM: > Hello All: > I have read the "PayPal Payment Setup" section of the "OFBiz Business > Setup Guide" > http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-paymentProcessorDetails. > Nice job! However, I have a few questions: > > 1) Is this intended to be used with PayPal's IPN? If so, then where is > this stated in the document? And, more importantly, does a developer > need to build the PayPal notification listener/receiver piece or is > there something it the works for that? > > 2) If not for IPN, then what should I use for IPN on the OFBiz side. (I > want to use IPN on the PayPal side). > > TIA > Ruth > -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator. |
Hi BJ:
Thanks for the info. A follow-on question: Is the intent to add the notification receiver part of this integration (for IPN) at some point? I just successfully integrated IPN with v9.04/8xxxxx. To do that I had to write a Java event to catch the instant notification. Is it the intention of the project to leave that part of the integration as an exercise for the reader - or will there eventually be a generic event or other mechanism to handle this? TIA Ruth BJ Freeman wrote: > depends of the version. > 9.04 is strictly IPN. however it does not cover using the paypal feature > that lets you have paypal guarantee's the sales. > I started to address some of those issues in > https://issues.apache.org/jira/browse/OFBIZ-2643 > I have not followed up to complete this but I do have a live store that > uses it. > I just check the Jira and the comments seems not to be comming up. > > in 9.04 they ported back the new configuration scheme but you can use > the old config files. Docs don't cover how to do this. > Scott is replacing the IPN with Paypal express model > you can find his emails in the dev mailing list. > also > https://issues.apache.org/jira/browse/OFBIZ-934 > https://issues.apache.org/jira/browse/OFBIZ-2693(closed) > > > Ruth Hoffman sent the following on 8/15/2009 4:08 AM: > >> Hello All: >> I have read the "PayPal Payment Setup" section of the "OFBiz Business >> Setup Guide" >> http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-paymentProcessorDetails. >> Nice job! However, I have a few questions: >> >> 1) Is this intended to be used with PayPal's IPN? If so, then where is >> this stated in the document? And, more importantly, does a developer >> need to build the PayPal notification listener/receiver piece or is >> there something it the works for that? >> >> 2) If not for IPN, then what should I use for IPN on the OFBiz side. (I >> want to use IPN on the PayPal side). >> >> TIA >> Ruth >> >> > > |
In reply to this post by BJ Freeman
Not sure what Instant notification your are talking about.
the code as is will return after the buyer has completed their info and click in return to site. see line 229 though 238 BufferedReader in = new BufferedReader(new InputStreamReader(uc.getInputStream())); the above line gets the response from Paypal. Ruth Hoffman sent the following on 8/15/2009 9:42 AM: > Hi BJ: > Thanks for the info. A follow-on question: > Is the intent to add the notification receiver part of this integration > (for IPN) at some point? I just successfully integrated IPN with > v9.04/8xxxxx. To do that I had to write a Java event to catch the > instant notification. Is it the intention of the project to leave that > part of the integration as an exercise for the reader - or will there > eventually be a generic event or other mechanism to handle this? > TIA > Ruth > BJ Freeman wrote: >> depends of the version. >> 9.04 is strictly IPN. however it does not cover using the paypal feature >> that lets you have paypal guarantee's the sales. >> I started to address some of those issues in >> https://issues.apache.org/jira/browse/OFBIZ-2643 >> I have not followed up to complete this but I do have a live store that >> uses it. >> I just check the Jira and the comments seems not to be comming up. >> >> in 9.04 they ported back the new configuration scheme but you can use >> the old config files. Docs don't cover how to do this. >> Scott is replacing the IPN with Paypal express model >> you can find his emails in the dev mailing list. >> also >> https://issues.apache.org/jira/browse/OFBIZ-934 >> https://issues.apache.org/jira/browse/OFBIZ-2693(closed) >> >> >> Ruth Hoffman sent the following on 8/15/2009 4:08 AM: >> >>> Hello All: >>> I have read the "PayPal Payment Setup" section of the "OFBiz Business >>> Setup Guide" >>> http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-paymentProcessorDetails. >>> >>> Nice job! However, I have a few questions: >>> >>> 1) Is this intended to be used with PayPal's IPN? If so, then where is >>> this stated in the document? And, more importantly, does a developer >>> need to build the PayPal notification listener/receiver piece or is >>> there something it the works for that? >>> >>> 2) If not for IPN, then what should I use for IPN on the OFBiz side. (I >>> want to use IPN on the PayPal side). >>> >>> TIA >>> Ruth >>> >>> >> >> > > -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator. |
BJ - thanks for the pointer. I will go and take a look.
Regards, Ruth BJ Freeman wrote: > Not sure what Instant notification your are talking about. > the code as is will return after the buyer has completed their info and > click in return to site. > see line 229 though 238 > BufferedReader in = new BufferedReader(new > InputStreamReader(uc.getInputStream())); > > the above line gets the response from Paypal. > > Ruth Hoffman sent the following on 8/15/2009 9:42 AM: > >> Hi BJ: >> Thanks for the info. A follow-on question: >> Is the intent to add the notification receiver part of this integration >> (for IPN) at some point? I just successfully integrated IPN with >> v9.04/8xxxxx. To do that I had to write a Java event to catch the >> instant notification. Is it the intention of the project to leave that >> part of the integration as an exercise for the reader - or will there >> eventually be a generic event or other mechanism to handle this? >> TIA >> Ruth >> BJ Freeman wrote: >> >>> depends of the version. >>> 9.04 is strictly IPN. however it does not cover using the paypal feature >>> that lets you have paypal guarantee's the sales. >>> I started to address some of those issues in >>> https://issues.apache.org/jira/browse/OFBIZ-2643 >>> I have not followed up to complete this but I do have a live store that >>> uses it. >>> I just check the Jira and the comments seems not to be comming up. >>> >>> in 9.04 they ported back the new configuration scheme but you can use >>> the old config files. Docs don't cover how to do this. >>> Scott is replacing the IPN with Paypal express model >>> you can find his emails in the dev mailing list. >>> also >>> https://issues.apache.org/jira/browse/OFBIZ-934 >>> https://issues.apache.org/jira/browse/OFBIZ-2693(closed) >>> >>> >>> Ruth Hoffman sent the following on 8/15/2009 4:08 AM: >>> >>> >>>> Hello All: >>>> I have read the "PayPal Payment Setup" section of the "OFBiz Business >>>> Setup Guide" >>>> http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-paymentProcessorDetails. >>>> >>>> Nice job! However, I have a few questions: >>>> >>>> 1) Is this intended to be used with PayPal's IPN? If so, then where is >>>> this stated in the document? And, more importantly, does a developer >>>> need to build the PayPal notification listener/receiver piece or is >>>> there something it the works for that? >>>> >>>> 2) If not for IPN, then what should I use for IPN on the OFBiz side. (I >>>> want to use IPN on the PayPal side). >>>> >>>> TIA >>>> Ruth >>>> >>>> >>>> >>> >>> >> > > |
In reply to this post by BJ Freeman
Hi BJ:
Thanks again. Now I see where you send out the request and where it could be received back. I will change my code to use this instead of my hack. Here now is the question reframed: How does this work when the "Notify URL" in the documentation cited is: http://yourServerName/ecommerce/control/payPalNotify And there are no entries in the controller file for a URI of .../payPalNotify? How does PayPal find its way back to notify the OFBiz instance? Just how clueless am I? TIA Ruth BJ Freeman wrote: > Not sure what Instant notification your are talking about. > the code as is will return after the buyer has completed their info and > click in return to site. > see line 229 though 238 > BufferedReader in = new BufferedReader(new > InputStreamReader(uc.getInputStream())); > > the above line gets the response from Paypal. > > Ruth Hoffman sent the following on 8/15/2009 9:42 AM: > >> Hi BJ: >> Thanks for the info. A follow-on question: >> Is the intent to add the notification receiver part of this integration >> (for IPN) at some point? I just successfully integrated IPN with >> v9.04/8xxxxx. To do that I had to write a Java event to catch the >> instant notification. Is it the intention of the project to leave that >> part of the integration as an exercise for the reader - or will there >> eventually be a generic event or other mechanism to handle this? >> TIA >> Ruth >> BJ Freeman wrote: >> >>> depends of the version. >>> 9.04 is strictly IPN. however it does not cover using the paypal feature >>> that lets you have paypal guarantee's the sales. >>> I started to address some of those issues in >>> https://issues.apache.org/jira/browse/OFBIZ-2643 >>> I have not followed up to complete this but I do have a live store that >>> uses it. >>> I just check the Jira and the comments seems not to be comming up. >>> >>> in 9.04 they ported back the new configuration scheme but you can use >>> the old config files. Docs don't cover how to do this. >>> Scott is replacing the IPN with Paypal express model >>> you can find his emails in the dev mailing list. >>> also >>> https://issues.apache.org/jira/browse/OFBIZ-934 >>> https://issues.apache.org/jira/browse/OFBIZ-2693(closed) >>> >>> >>> Ruth Hoffman sent the following on 8/15/2009 4:08 AM: >>> >>> >>>> Hello All: >>>> I have read the "PayPal Payment Setup" section of the "OFBiz Business >>>> Setup Guide" >>>> http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-paymentProcessorDetails. >>>> >>>> Nice job! However, I have a few questions: >>>> >>>> 1) Is this intended to be used with PayPal's IPN? If so, then where is >>>> this stated in the document? And, more importantly, does a developer >>>> need to build the PayPal notification listener/receiver piece or is >>>> there something it the works for that? >>>> >>>> 2) If not for IPN, then what should I use for IPN on the OFBiz side. (I >>>> want to use IPN on the PayPal side). >>>> >>>> TIA >>>> Ruth >>>> >>>> >>>> >>> >>> >> > > |
In reply to this post by BJ Freeman
there are two things
1)because paypal is looking for for a URL we have to supply it, when sending. But it is not used, except Paypal does send it back to the Domainname. 2)The paypal thread hangs after sending a request, waiting for the response. you can see this if you send a browser to a url that does not respond. then if you write some code at the other end that is an input form that is a post that takes the url sent to the page and makes it the action for the form. So paypal send the paypalnotify and the BufferedReader in = new BufferedReader(new InputStreamReader(uc.getInputStream())); catches it. Kinda tricky Eh? you will notice there is come code to validate that it was actually sent from Paypal. this code is not complete. This is only important if ofbiz is say sending to UPS, or some other code that is sending a request and expecting a response. this would be a loop with a time out waiting for the paypal response. Ruth Hoffman sent the following on 8/16/2009 5:41 AM: > Hi BJ: > Thanks again. Now I see where you send out the request and where it > could be received back. I will change my code to use this instead of my > hack. > Here now is the question reframed: > How does this work when the "Notify URL" in the documentation cited is: > http://yourServerName/ecommerce/control/payPalNotify > And there are no entries in the controller file for a URI of > .../payPalNotify? > How does PayPal find its way back to notify the OFBiz instance? > Just how clueless am I? > TIA > Ruth > > BJ Freeman wrote: >> Not sure what Instant notification your are talking about. >> the code as is will return after the buyer has completed their info and >> click in return to site. >> see line 229 though 238 >> BufferedReader in = new BufferedReader(new >> InputStreamReader(uc.getInputStream())); >> >> the above line gets the response from Paypal. >> >> Ruth Hoffman sent the following on 8/15/2009 9:42 AM: >> >>> Hi BJ: >>> Thanks for the info. A follow-on question: >>> Is the intent to add the notification receiver part of this integration >>> (for IPN) at some point? I just successfully integrated IPN with >>> v9.04/8xxxxx. To do that I had to write a Java event to catch the >>> instant notification. Is it the intention of the project to leave that >>> part of the integration as an exercise for the reader - or will there >>> eventually be a generic event or other mechanism to handle this? >>> TIA >>> Ruth >>> BJ Freeman wrote: >>> >>>> depends of the version. >>>> 9.04 is strictly IPN. however it does not cover using the paypal >>>> feature >>>> that lets you have paypal guarantee's the sales. >>>> I started to address some of those issues in >>>> https://issues.apache.org/jira/browse/OFBIZ-2643 >>>> I have not followed up to complete this but I do have a live store that >>>> uses it. >>>> I just check the Jira and the comments seems not to be comming up. >>>> >>>> in 9.04 they ported back the new configuration scheme but you can use >>>> the old config files. Docs don't cover how to do this. >>>> Scott is replacing the IPN with Paypal express model >>>> you can find his emails in the dev mailing list. >>>> also >>>> https://issues.apache.org/jira/browse/OFBIZ-934 >>>> https://issues.apache.org/jira/browse/OFBIZ-2693(closed) >>>> >>>> >>>> Ruth Hoffman sent the following on 8/15/2009 4:08 AM: >>>> >>>> >>>>> Hello All: >>>>> I have read the "PayPal Payment Setup" section of the "OFBiz Business >>>>> Setup Guide" >>>>> http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-paymentProcessorDetails. >>>>> >>>>> >>>>> Nice job! However, I have a few questions: >>>>> >>>>> 1) Is this intended to be used with PayPal's IPN? If so, then where is >>>>> this stated in the document? And, more importantly, does a developer >>>>> need to build the PayPal notification listener/receiver piece or is >>>>> there something it the works for that? >>>>> >>>>> 2) If not for IPN, then what should I use for IPN on the OFBiz >>>>> side. (I >>>>> want to use IPN on the PayPal side). >>>>> >>>>> TIA >>>>> Ruth >>>>> >>>>> >>>> >>> >> >> > > -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator. |
Hi B.J.
I get it now! Thanks so much for the explanation. That is pretty neat. 8-) Ruth BJ Freeman wrote: > there are two things > 1)because paypal is looking for for a URL we have to supply it, when > sending. But it is not used, except Paypal does send it back to the > Domainname. > 2)The paypal thread hangs after sending a request, waiting for the > response. you can see this if you send a browser to a url that does not > respond. then if you write some code at the other end that is an input > form that is a post that takes the url sent to the page and makes it the > action for the form. > So paypal send the paypalnotify and the > BufferedReader in = new BufferedReader(new > InputStreamReader(uc.getInputStream())); > catches it. > Kinda tricky Eh? > you will notice there is come code to validate that it was actually sent > from Paypal. > this code is not complete. > This is only important if ofbiz is say sending to UPS, or some other > code that is sending a request and expecting a response. > this would be a loop with a time out waiting for the paypal response. > > Ruth Hoffman sent the following on 8/16/2009 5:41 AM: > >> Hi BJ: >> Thanks again. Now I see where you send out the request and where it >> could be received back. I will change my code to use this instead of my >> hack. >> Here now is the question reframed: >> How does this work when the "Notify URL" in the documentation cited is: >> http://yourServerName/ecommerce/control/payPalNotify >> And there are no entries in the controller file for a URI of >> .../payPalNotify? >> How does PayPal find its way back to notify the OFBiz instance? >> Just how clueless am I? >> TIA >> Ruth >> >> BJ Freeman wrote: >> >>> Not sure what Instant notification your are talking about. >>> the code as is will return after the buyer has completed their info and >>> click in return to site. >>> see line 229 though 238 >>> BufferedReader in = new BufferedReader(new >>> InputStreamReader(uc.getInputStream())); >>> >>> the above line gets the response from Paypal. >>> >>> Ruth Hoffman sent the following on 8/15/2009 9:42 AM: >>> >>> >>>> Hi BJ: >>>> Thanks for the info. A follow-on question: >>>> Is the intent to add the notification receiver part of this integration >>>> (for IPN) at some point? I just successfully integrated IPN with >>>> v9.04/8xxxxx. To do that I had to write a Java event to catch the >>>> instant notification. Is it the intention of the project to leave that >>>> part of the integration as an exercise for the reader - or will there >>>> eventually be a generic event or other mechanism to handle this? >>>> TIA >>>> Ruth >>>> BJ Freeman wrote: >>>> >>>> >>>>> depends of the version. >>>>> 9.04 is strictly IPN. however it does not cover using the paypal >>>>> feature >>>>> that lets you have paypal guarantee's the sales. >>>>> I started to address some of those issues in >>>>> https://issues.apache.org/jira/browse/OFBIZ-2643 >>>>> I have not followed up to complete this but I do have a live store that >>>>> uses it. >>>>> I just check the Jira and the comments seems not to be comming up. >>>>> >>>>> in 9.04 they ported back the new configuration scheme but you can use >>>>> the old config files. Docs don't cover how to do this. >>>>> Scott is replacing the IPN with Paypal express model >>>>> you can find his emails in the dev mailing list. >>>>> also >>>>> https://issues.apache.org/jira/browse/OFBIZ-934 >>>>> https://issues.apache.org/jira/browse/OFBIZ-2693(closed) >>>>> >>>>> >>>>> Ruth Hoffman sent the following on 8/15/2009 4:08 AM: >>>>> >>>>> >>>>> >>>>>> Hello All: >>>>>> I have read the "PayPal Payment Setup" section of the "OFBiz Business >>>>>> Setup Guide" >>>>>> http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-paymentProcessorDetails. >>>>>> >>>>>> >>>>>> Nice job! However, I have a few questions: >>>>>> >>>>>> 1) Is this intended to be used with PayPal's IPN? If so, then where is >>>>>> this stated in the document? And, more importantly, does a developer >>>>>> need to build the PayPal notification listener/receiver piece or is >>>>>> there something it the works for that? >>>>>> >>>>>> 2) If not for IPN, then what should I use for IPN on the OFBiz >>>>>> side. (I >>>>>> want to use IPN on the PayPal side). >>>>>> >>>>>> TIA >>>>>> Ruth >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> > > |
Free forum by Nabble | Edit this page |