PayPal gateway

numero = 244
interpreted = N
texte = [ACK] (see bottom) should return SUCESS or FAILURE
[table name=PayPalWords&fields=FROM,TO]%2e    .%2d    -&       %2F    /%2b    +%3a    :%20     [/table][text]content=[!][/!]METHOD=[url]DoDirectPayment[/url][!][/!]&USER=[url]xxxxxxxxxx[/url][!][/!]&PWD=[url]xxxxxxxxxx[/url][!][/!]&VERSION=[url]3.2[/url][!][/!]&SIGNATURE=[url]xxxxxxxxxxxxxxxxxxx[/url][!][/!]&CREDITCARDTYPE=[url]MasterCard[/url][!][/!]&ACCT=[url]xxxxxxxxxxxxxxxxxxxx[/url][!][/!]&EXPDATE=[url]022010[/url][!][/!]&CVV2=[url]305[/url][!][/!]&AMT=[url].75[/url][!][/!]&TRANSACTIONID=[url]1005[/url][!][/!]&FIRSTNAME=[url]xxxxxxxxxxxxxxx[/url][!][/!]&LASTNAME=[url]xxxxxxxxxxx[/url][!][/!]&STREET=[url]xxxxxxxxxxxxxxx[/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][!][/!][/text]---<hr>[text]reply=[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][/text]---<hr>reply=[reply]<hr>[text]String=[convertwords table=paypalwords][reply][/convertwords][/text]string=[string]<hr>[text]TIMESTAMP=[middle startafter=TIMESTAMP=&endbefore=ZCORRELATIONID][string][/middle][/text]date=[timestamp][text]ACK=[middle startafter=ACK=&endbefore=VERSION][string][/middle][/text]ACK=[ACK]
[ACK] (see bottom) should return SUCESS or FAILURE

[table name=PayPalWords&fields=FROM,TO]
%2e .
%2d -
&
%2F /
%2b +
%3a :
%20
[/table]

[text]content=[!]
[/!]METHOD=[url]DoDirectPayment[/url][!]
[/!]&USER=[url]xxxxxxxxxx[/url][!]
[/!]&PWD=[url]xxxxxxxxxx[/url][!]
[/!]&VERSION=[url]3.2[/url][!]
[/!]&SIGNATURE=[url]xxxxxxxxxxxxxxxxxxx[/url][!]
[/!]&CREDITCARDTYPE=[url]MasterCard[/url][!]
[/!]&ACCT=[url]xxxxxxxxxxxxxxxxxxxx[/url][!]
[/!]&EXPDATE=[url]022010[/url][!]
[/!]&CVV2=[url]305[/url][!]
[/!]&AMT=[url].75[/url][!]
[/!]&TRANSACTIONID=[url]1005[/url][!]
[/!]&FIRSTNAME=[url]xxxxxxxxxxxxxxx[/url][!]
[/!]&LASTNAME=[url]xxxxxxxxxxx[/url][!]
[/!]&STREET=[url]xxxxxxxxxxxxxxx[/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][!]
[/!][/text]
---<hr>

[text]reply=
[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]
[/text]
---<hr>

reply=[reply]<hr>

[text]String=[convertwords table=paypalwords][reply][/convertwords][/text]

string=[string]<hr>

[text]TIMESTAMP=[middle startafter=TIMESTAMP=&endbefore=ZCORRELATIONID][string][/middle][/text]

date=[timestamp]

[text]ACK=[middle startafter=ACK=&endbefore=VERSION][string][/middle][/text]
ACK=[ACK]
Brian Harrington

DOWNLOAD WEBDNA NOW!

Top Articles:

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

WebDNA Modules

A list of the currently available modules...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

WebDNA Libraries

A list of available libraries for WebDNA...

Tips and Tricks

A list of user-submitted tips ...

Download WebDNA Applications

WebDNA applications...

Related Readings:

Redefining [date] & [time] to match your time zone

Your server is not always in the same time zone as your web site...

Find duplicate records

Find duplicate records and do something with them...

Extracting the first sentence out of a block of text

I need to extract the first sentence out of a block of text...

Export data to Excel

Here's a handy way to export your data to a text or Excel file...

Annoying character on writefile

How do I get rid of or convert the line feed character during a writefile?...

Paypal IPN

...