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:

WebDNA Libraries

A list of available libraries for WebDNA...

Download WebDNA Applications

WebDNA applications...

Technical Change History

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

[biotype]

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

F.A.Q

A compilation of some user's questions...

WebDNA reference

A list of all WebDNA instructions...

Related Readings:

WebDNA interaction with zip

I have a project where I'm allowing several people to upload images...

Export data to Excel

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

Cloning a Record

Often...

Handling credit card numbers

Encrypting the credit card numbers does the job quite nicely...

Database backup

How to make a backup of your databases...

File upload example

...