Hi Sam, I'll get a zip file out to you today.
The system was taken off line when the client elected to move to a packaged ecommerce solution. Too bad, cuz my deal was 10% of $ throughput to do the dev work. David -----Original Message----- From: Sam Burnell [mailto:[email protected]] Sent: September 4, 2019 11:14 AM To: [email protected]; 4D iNug Technical <[email protected]> Subject: Re: Paypal IPN Integration Yes! I was hoping somebody out there would have an already written solution, even if it’s 4D 2004. David, I was headed in the direction of NTK (which is basically 4DIC on steroids) as it seems to be the most direct way to approach this. I don’t need documentation and I’m pretty sure I’ll be able to figure it out. I just need a roadmap. How come it’s offline (just mildly curious)? Anyway, I would love to take you up on your offer and would be eternally grateful, willing to pay for it, whatever, as long as it works. Thanks, Sam > On Sep 3, 2019, at 6:28 PM, David Garrard via 4D_Tech <[email protected]> > wrote: > > Hi Sam, > > I have a full Paypal IPN implementation written in 4D code using 4D Internet > Commands. If you wanted to go that route I would provide it to you "as is" > 4D 2004. > > I don’t have much in the way of documentation but an experienced 4D developer > could figure out what the On Web Connection stuff is doing without much > difficulty. > > Note that the system was running for about 4 years between 2007 - 2011 - > billing about $500,000 of recurring subscriptions. It has both PayPal and > Moneris (Canadian payments) code. > > It has been offline since 2011, so I don’t even know if it works with 2019 > vintage IPN. > > David Garrard > > > -----Original Message----- > From: Sam Burnell [mailto:[email protected]] > Sent: September 4, 2019 8:25 AM > To: 4D iNug Technical <[email protected]> > Subject: Paypal IPN Integration > > Thank you for the response, Narinda. > > Any suggestions on where I would find that binary, and also how I would then > get a php file (with cURL functions) to execute from inside the listener > (OWC) without using PHP Execute? > > In other words, how to bypass using 4D’s php interpreter and use the one > exterior to 4D? > > Thanks again, > > Sam > > > >> On Sep 3, 2019, at 5:14 PM, Narinder Chandi via 4D_Tech >> <[email protected]> wrote: >> >> Sam, >> >> I don't think Dani was suggesting that you build your own PHP interpreter >> (although it's not hard to compile it from source for custom needs). If I >> understood him correctly he was merely hinting at the option to download a >> prebuilt binary with cURL support baked in, for example. >> >> Regards, >> >> Narinder Chandi, >> ToolBox Systems Ltd. >> -- >> >> -----Original Message----- >> From: 4D_Tech <[email protected]> on behalf of 4D Tech Mailing >> List <[email protected]> >> Reply-To: 4D Tech Mailing List <[email protected]> >> Date: Wednesday, 4 September 2019 at 01:09 >> To: Dani Beaubien <[email protected]> >> Cc: Sam Burnell <[email protected]>, 4D Tech Mailing List >> <[email protected]> >> Subject: Re: Please post this! >> >> Hi Dani, >> >> Thanks for the response. >> >> I don’t know nearly enough about php to be able to build my own >> interpreter. I think I’m going in a different direction than php. >> >> Thank you again, >> >> Sam >> >>> On Sep 3, 2019, at 4:06 PM, Dani Beaubien >>> <[email protected]> wrote: >>> >>> Hi Sam, you don’t have to use 4D’s PHP. You can install your own version of >>> the PHP interpreter and call that through the command line. I had to do >>> that due to having a requirement of a specific version of PHP. Works quite >>> well. >>> >>> Dani Beaubien >>> Open Road Development >>> >>> >>>> On Aug 28, 2019, at 10:43 PM, Sam Burnell via 4D_Tech >>>> <[email protected] <mailto:[email protected]>> wrote: >>>> >>>> Hi, >>>> >>>> I am looking for a solution to taking paypal payments on our website >>>> (which is served by a 4D Server database), which utilizes paypal's Instant >>>> Payment Notification (IPN) system. >>>> >>>> To clarify, our system is already set up to take paypal payments but we >>>> get no notification from paypal that a payment was made. The only way we >>>> know that we received a payment is when we see the payment in our paypal >>>> account. We then have to manually create the necessary database records >>>> for the transaction, based on the payment. >>>> >>>> So we need paypal to notify us when a successful payment is received by >>>> them so that we can automate the process (as we do with credit cards). >>>> >>>> Here is what we want to do: >>>> >>>> Upon receiving a payment for our product, paypal will send an IPN >>>> (containing transation data) to a url specified by us, where we have a >>>> listener set up (in OWC) to intercept that notification and execute a file >>>> which receives the data, returns it to paypal, and then receives either a >>>> VERIFIED or INVALID response from paypal. If VERIFIED, we use the >>>> transaction data to auto-generate the required records in our database. >>>> >>>> The file I just mentioned can be written in php, js, coldfusion, perl, >>>> ruby, etc. Paypal provides examples for each language on github. >>>> >>>> So, I tried for weeks to implement the php version, only to find out >>>> (through partner support) that 4D's php interpreter is not set up to >>>> handle cURL functions, which are part of the php code in paypal's php >>>> sample... >>>> >>>> So now I'm trying to work with javascript and not having much success >>>> (although more than with php) and I thought I'd put some feelers out >>>> there... Seems to me as though there has to be a commercial 4D >>>> website/database (or two!) out there that sells products online and takes >>>> paypal payments using paypal's IPN. If that is the case, I'm willing to >>>> PAY for time, advice, code, etc., so PLEASE contact me if you think you >>>> can assist, and thanks in advance. >>>> >>>> Sam >>>> ********************************************************************** >>>> 4D Internet Users Group (4D iNUG) >>>> Archive: http://lists.4d.com/archives.html >>>> <http://lists.4d.com/archives.html> >>>> Options: https://lists.4d.com/mailman/options/4d_tech >>>> <https://lists.4d.com/mailman/options/4d_tech> >>>> Unsub: mailto:[email protected] >>>> <mailto:[email protected]> >>>> ********************************************************************** >>> >> >> ********************************************************************** >> 4D Internet Users Group (4D iNUG) >> Archive: http://lists.4d.com/archives.html >> Options: https://lists.4d.com/mailman/options/4d_tech >> Unsub: mailto:[email protected] >> ********************************************************************** >> >> >> ********************************************************************** >> 4D Internet Users Group (4D iNUG) >> Archive: http://lists.4d.com/archives.html >> Options: https://lists.4d.com/mailman/options/4d_tech >> Unsub: mailto:[email protected] >> ********************************************************************** > > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

