Re: [WebDNA] paypal FINALLY!!!!
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103327
interpreted = N
texte = Hi PatrickI'm not quite sure were the "TCP section" is... also... much of the code was reworked & simplified from Stuart's PayPal Express Payment option. I also need some guidance or a start to read the transaction into a database so I know it's payed without having to look @ paypal manually.... I like to automate things!I'm really surprised this was not already done or readily available for paypal as it offers low cost startup merchant accounts with the paypal advantages.On Aug 19, 2009, at 11:41 AM, Patrick McCormick wrote:> Please post this to the programming / TCP section. I know I'll be > thanking you profusely!>>> On Aug 19, 2009, at 9:49 AM, Brian Harrington, Broker wrote:>>> i finally got it ;))>>>> it was requiring the address but most everything I looked @ only >> had/required "shiptoaddress" and i even had a hard time finding>> the address field names... this works!>>>> however... i still need a way to post the sale/response to a >> database so any help would be great!>> Brian>>>> [TEXT]content=[!]>> [/!]METHOD=[URL]DoDirectPayment[/URL][!]>> [/!]&USER=[URL]XXXXXX[/URL][!]>> [/!]&PWD=[URL] XXXXXX[/URL][!]>> [/!]&VERSION=[URL]3.2[/URL][!]>> [/!]&SIGNATURE=[URL] XXXXXX[/URL][!]>> [/!]&CREDITCARDTYPE=[URL]MasterCard[/URL][!]>> [/!]&ACCT=[URL] XXXXXX[/URL][!]>> [/!]&EXPDATE=[URL]022010[/URL][!]>> [/!]&CVV2=[URL]305[/URL][!]>> [/!]&AMT=[URL].75[/URL][!]>> [/!]&TRANSACTIONID=[URL]1005[/URL][!]>> [/!]&FIRSTNAME=[URL] XXXXXX[/URL][!]>> [/!]&LASTNAME=[URL] XXXXXX[/URL][!]>> [/!]&STREET=[URL] XXXXXX[/URL][!]>> [/!]&CITY=[URL]BUFFALO[/URL][!]>> [/!]&STATE=[URL]NY[/URL][!]>> [/!]&ZIP=[URL]14222[/URL][!]>> [/!]&COUNTRYCODE=[URL]US[/URL][!]>> [/!]&PAYMENTACTION=[URL]Sale[/URL][!]>> [/!]&IPADDRESS=[URL]072.045.150.022[/URL][!]>> [/!]&RETURNURL=[URL]https://etrader.tv/paypaltestreply.tpl[/URL][!]>> [/!][/TEXT]>>>>>>>> [tcpconnect host=api-3t.paypal.com&port=443&ssl=T][!]>> [/!][tcpsend skipheader=T]POST /nvp HTTP/1.0[UnURL]%0D%0A[/UnURL][!]>> [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) >> [UnURL]%0D%0A[/UnURL][!]>> [/!]Content-type: text/namevalue[UnURL]%0D%0A[/UnURL][!]>> [/!]Content-Length: [CountChars][content][/CountChars][UnURL]%0D >> %0A[/UnURL][!]>> [/!]Content-type: text/namevalue[UnURL]%0D%0A[/UnURL][!]>> [/!][UnURL]%0D%0A[/UnURL][!]>> [/!][content][UnURL]%0D%0A[/UnURL][!]>> [/!][/TCPSend][!]>> [/!][/tcpconnect]>>>>>>>> On Aug 18, 2009, at 8:27 PM, Stuart Tremain wrote:>>>>> Brian>>>>>> The solution you downloaded was for PayPal Express Checkout.>>>>>> Paypal Website Pro/ Payflow Pro is a different animal.>>>>>> I will put a set of files together to do the job. It is FAR >>> simpler than the Express Checkout but you need to have a SSL to do >>> the data collection etc.>>>>>> Regards>>>>>> Stuart Tremain>>> IDFK Web Developments>>> AUSTRALIA>>> webdna@idfk.com.au>>>>>> On 19/08/2009, at 6:29 AM, Brian Harrington, Broker wrote:>>>>>>> Does anyone else here maybe have a complete simple solution...>>>> i did download Stuarts folder a week or so ago and tried to >>>> reverse code it but it seem>>>> to me missing some info and was over complicated w/ databases & >>>> includes>>>> for what seems to be simple task or connection... I also thinks >>>> it's funny that paypal calls>>>> theses http connections API's....>>>>>>>>>>>>>>>> On Aug 18, 2009, at 9:05 AM, Brian Harrington, Broker wrote:>>>>>>>>> Hi Stuart....>>>>>>>>>> here's a screenshot... they seem to be the same thing.>>>>> do you have a single page that collects the reply into a useable >>>>> webdna format...?>>>>>>>>>>