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] **********************************************************************

