PayPal gateway

[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&portD3&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:

Download WebDNA Applications

WebDNA applications...

AWS Raw WebDNA LAMP-Plus WebServer

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

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

Technical Change History

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

WebDNA Libraries

A list of available libraries for WebDNA...

Tips and Tricks

A list of user-submitted tips ...

Related Readings:

Using a simple Array of Variables with [interpret]

The [interpret] context is very powerful command in the hands of a skilled WebDNA programmer...

ImageMagick

Use ImageMagick to manipulate images when you upload them...

Setting a 30-minute Cookie

Configuring the expires time for a short-term cookie is tricky...

File upload example

...

How old am I?

You want to express an age in years given the dob (mm/dd/yyyy) and today's date...

Cloning a Record

Often...