Re: [WebDNA] PayPal Express Checkout

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102343
interpreted = N
texte = --Apple-Mail-60-651313823 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Thanks Stuart, This should get me started. I agree that the guys as PP don't have a clue. They could not even understand the questions I was asking. Thanks again, David d. > I have a number of stores using PPExpress. > > Once you understand what it is doing and why, it is pretty easy to > get your head around, the hardest thing is getting the TCPCONNECT/ > TCPSEND to work. > > And the guys at PP don't seem to have any idea of which servers to > point to. I did a lot of development work with a couple of their > integration people here in Sydney and now have a pretty bullet proof > modular system. > > Yes, all done in WebDNA. > > Here is my code for making the connection (SetExpressCheckout.inc): > > ################################################################### > > [!]================================= [/!] > [!] Send Set Express Checkout call to PP and [/!] > [!] then redirect to PP with token [/!] > [!] Return to return.html with token and order # [/!] > [!] Cancel to cancel.html with token and order # [/!] > [!] Extract Customer delivery details if required [/!] > [!]================================= [/!] > > [!]===== SetExpressCheckout =====[/!] > [TEXT]content=[!] > [/!]&USER=[URL][Lookup db=^paypal/ > paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- > CODE]APIUSERNAME][/URL][!] > [/!]&PWD=[URL][Lookup db=^paypal/ > paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- > CODE]APIPASSWORD][/URL][!] > [/!]&VERSION=[URL][Lookup db=^paypal/ > paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- > CODE]APIVERSION][/URL][!] > [/!]&SIGNATURE=[URL][Lookup db=^paypal/ > paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- > CODE]APISIGNATURE][/URL][!] > [/!]&METHOD=[URL]SetExpressCheckout[/URL][!] > [/!]&PAYMENTACTION=[URL]SALE[/URL][!] SALE, AUTHORIZATION, ORDER > [/!]&AMT=[URL][THISAMOUNT][/URL][!] > [/!]&CURRENCYCODE=[URL][ThisCurrency][/URL][!] > [/!]&SOLUTIONTYPE=[URL]Sole[/URL][!] > [/!]&RETURNURL=[URL][SiteReturnURL][/URL][!] > [/!]&CANCELURL=[URL][SiteCancelURL][/URL][!] > [/!]&INVNUM=[URL][ThisOrder][/URL][!] > [/!]&PAGESTYLE=[URL][ThisBrand][/URL][!] > [/!][/TEXT] > > [!]===== Make Connection =====[/!] > [text muti=F]paypal_result=[tcpconnect host=[Lookup db=^paypal/ > paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- > CODE]APIURL]&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] > > [!] -------------- This creates multi text variables -------------- > [/!] > [TEXT multi=T]PayPal_result02=0&[PayPal_Result][/TEXT] > > [If ("[ACK]"^"success")] > > [!] -------------- PAYPAL SUCCESS -------------- [/!] > [Then] > [Redirect https://[Lookup db=^paypal/ > paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- > CODE]PAYPALURL]/cgi-bin/webscr?cmd=_express-checkout&token=[UnURL] > [Token][/UnURL]] > [/Then] > > [!] -------------- PAYPAL FAILURE -------------- [/!] > [Else][Include file=^paypal/failure.inc][/Else] > > [/If] > > ################################################################### > > > URL's > DEVELOPMENTAPIURLapi-3t.sandbox.paypal.com > LIVEAPIURLapi-3t.paypal.com > > Hopefully this will get you started, contact me off list and I will > dig out the full set of code for you. > > > Regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > On 02/04/2009, at 11:35 AM, World Wide Art wrote: > >> Has anyone integrated PayPal Express Checkout with WebDNA? Did you >> have to use java or another architecture? My guess is that WebDNA >> can do it, I am just not sure how. >> >> I am having problems calling the API and getting the response from >> the API. >> >> Thanks, >> d. >> >> World Wide Art, Art Gallery and Custom Framing >> questions@world-wide-art.com >> Disney Preferred Animation Art Gallery >> Specializing in Limited Editions by Today's Top Artists and Custom >> Conservation Framing. >> http://www.world-wide-art.com >> 1-800-518-8453 or 1-510-538-8453 >> >> >> > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ World Wide Art, Art Gallery and Custom Framing questions@world-wide-art.com Disney Preferred Animation Art Gallery Specializing in Limited Editions by Today's Top Artists and Custom Conservation Framing. http://www.world-wide-art.com 1-800-518-8453 or 1-510-538-8453 --Apple-Mail-60-651313823 Content-Type: multipart/mixed; boundary=Apple-Mail-61-651313825 --Apple-Mail-61-651313825 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Thanks = Stuart,

This should get me started. I agree that the = guys as PP don't have a clue. They could not even understand the = questions I was asking.

Thanks = again,
David
d.

I = have a number of stores using PPExpress.

Once you understand what = it is doing and why, it is pretty easy to get your head around, the = hardest thing is getting the TCPCONNECT/TCPSEND to work.

And the = guys at PP don't seem to have any idea of which servers to point to. I = did a lot of development work with a couple of their integration people = here in Sydney and now have a pretty bullet proof modular = system.

Yes, all done in WebDNA.

Here is my code for = making the connection = (SetExpressCheckout.inc):

#########################################= ##########################

[!]=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =  [/!]
[!]  Send  Set Express Checkout call to PP and =     [/!]
[!]  then redirect to PP with token =             &n= bsp;         [/!]
[!] =  Return to return.html with token and order #  [/!]
[!] =  Cancel to cancel.html with token and order # [/!]
[!] =  Extract Customer delivery details if required =  [/!]
[!]=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D  [/!]

[!]=3D=3D=3D=3D= =3D SetExpressCheckout = =3D=3D=3D=3D=3D[/!]
[TEXT]content=3D[!]
[/!]&USER=3D[URL][Lookup= = db=3D^paypal/paypal.db&Lookinfield=3DPREF&returnfield=3DPREFVALUE&= amp;value=3D[API-CODE]APIUSERNAME][/URL][!]
[/!]&PWD=3D[URL][Lookup= = db=3D^paypal/paypal.db&Lookinfield=3DPREF&returnfield=3DPREFVALUE&= amp;value=3D[API-CODE]APIPASSWORD][/URL][!]
[/!]&VERSION=3D[URL][Lo= okup = db=3D^paypal/paypal.db&Lookinfield=3DPREF&returnfield=3DPREFVALUE&= amp;value=3D[API-CODE]APIVERSION][/URL][!]
[/!]&SIGNATURE=3D[URL][L= ookup = db=3D^paypal/paypal.db&Lookinfield=3DPREF&returnfield=3DPREFVALUE&= amp;value=3D[API-CODE]APISIGNATURE][/URL][!]
[/!]&METHOD=3D[URL]Set= ExpressCheckout[/URL][!]
[/!]&PAYMENTACTION=3D[URL]SALE[/URL][!] = SALE, AUTHORIZATION, = ORDER
[/!]&AMT=3D[URL][THISAMOUNT][/URL][!]
[/!]&CURRENCYCOD= E=3D[URL][ThisCurrency][/URL][!]
[/!]&SOLUTIONTYPE=3D[URL]Sole[/URL= ][!]
[/!]&RETURNURL=3D[URL][SiteReturnURL][/URL][!]
[/!]&CAN= CELURL=3D[URL][SiteCancelURL][/URL][!]
[/!]&INVNUM=3D[URL][ThisOrde= r][/URL][!]
[/!]&PAGESTYLE=3D[URL][ThisBrand][/URL][!]
[/!][/TEX= T]

[!]=3D=3D=3D=3D=3D Make Connection =3D=3D=3D=3D=3D[/!]
[text = muti=3DF]paypal_result=3D[tcpconnect host=3D[Lookup = db=3D^paypal/paypal.db&Lookinfield=3DPREF&returnfield=3DPREFVALUE&= amp;value=3D[API-CODE]APIURL]&port=3D443&ssl=3DT][!]
[/!][tcpse= nd skipheader=3DT]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][!]
[/!][/tcpcon= nect][/text]

[!] --------------  This creates multi text = variables -------------- [/!]
[TEXT = multi=3DT]PayPal_result02=3D0&[PayPal_Result][/TEXT]

[If = ("[ACK]"^"success")]

[!] --------------  PAYPAL SUCCESS = -------------- [/!]
[Then]
[Redirect https://[Lookup = db=3D^paypal/paypal.db&Lookinfield=3DPREF&returnfield=3DPREFVALUE&= amp;value=3D[API-CODE]PAYPALURL]/cgi-bin/webscr?cmd=3D_express-checkout&am= p;token=3D[UnURL][Token][/UnURL]]
[/Then]

[!] -------------- =  PAYPAL FAILURE -------------- [/!]
[Else][Include = file=3D^paypal/failure.inc][/Else]

[/If]

###################= ################################################


URL's
DEVEL= OPMENTAPIURL= api-3t.sandbox.paypal.com
LIVEAPIURL= api-3t.paypal.com

Hopefully this will get you started, = contact me off list and I will dig out the full set of code for = you.


Regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA
webdna@idfk.com.au

On = 02/04/2009, at 11:35 AM, World Wide Art wrote:

Has anyone integrated PayPal Express Checkout with WebDNA? = Did you have to use java or another architecture? My guess is that = WebDNA can do it, I am just not sure how.

I am having = problems calling the API and getting the response from the = API.

Thanks,
d.

World Wide Art, = Art Gallery and Custom Framing
questions@world-wide-art.com
Disney Preferred Animation Art = Gallery
Specializing in = Limited Editions by Today's Top Artists and = Custom
Conservation = Framing.
http://www.world-wide-art.com
1-800-518-8453 or = 1-510-538-8453

<World-Wide-Art.vcf>


---------------------------------------= ------------------
This message is sent to you because you are = subscribed to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: = http://mail.webdna.us/list/talk@webdna.us
old archives: = http://dev.webdna.us/TalkListArchive/

World Wide Art, = Art Gallery and Custom Framing

= --Apple-Mail-61-651313825 Content-Disposition: attachment; filename=World-Wide-Art.vcf Content-Type: text/directory; x-unix-mode=0644; x-mac-type=54455854; name="World-Wide-Art.vcf" Content-Transfer-Encoding: quoted-printable BEGIN:VCARD=0D=0AVERSION:2.1=0D=0AN:;;;;=0D=0AADR;INTL;WORK:;;20628=20= Rustic=20Drive;Castro=20Valley;CA;94546;USA=0D=0A= TEL;PREF;VOICE:800-518-8453=0D=0ATEL;WORK;VOICE:510-538-8453=0D=0A= EMAIL;PREF;INTERNET:admin@world-wide-art.com=0D=0A= EMAIL;PREF;INTERNET:questions@world-wide-art.com=0D=0AORG:World=20Wide=20= Art,=20Inc.=0D=0AURL:http://www.world-wide-art.com=0D=0A= URL:http://www.world-wide-art.com=0D=0AUID:vuQXE79=0D=0A= REV:20070112T131644=0D=0AEND:VCARD=0D=0A= --Apple-Mail-61-651313825 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: 7bit

--Apple-Mail-61-651313825-- --Apple-Mail-60-651313823-- Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] PayPal Express Checkout for WebDNA (Stuart Tremain 2009)
  2. Re: [WebDNA] PayPal Express Checkout (World Wide Art 2009)
  3. Re: [WebDNA] PayPal Express Checkout (Stuart Tremain 2009)
  4. [WebDNA] PayPal Express Checkout (World Wide Art 2009)
--Apple-Mail-60-651313823 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Thanks Stuart, This should get me started. I agree that the guys as PP don't have a clue. They could not even understand the questions I was asking. Thanks again, David d. > I have a number of stores using PPExpress. > > Once you understand what it is doing and why, it is pretty easy to > get your head around, the hardest thing is getting the TCPCONNECT/ > TCPSEND to work. > > And the guys at PP don't seem to have any idea of which servers to > point to. I did a lot of development work with a couple of their > integration people here in Sydney and now have a pretty bullet proof > modular system. > > Yes, all done in WebDNA. > > Here is my code for making the connection (SetExpressCheckout.inc): > > ################################################################### > > [!]================================= [/!] > [!] Send Set Express Checkout call to PP and [/!] > [!] then redirect to PP with token [/!] > [!] Return to return.html with token and order # [/!] > [!] Cancel to cancel.html with token and order # [/!] > [!] Extract Customer delivery details if required [/!] > [!]================================= [/!] > > [!]===== SetExpressCheckout =====[/!] > [text]content=[!] > [/!]&USER=[url][Lookup db=^paypal/ > paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- > CODE]APIUSERNAME][/URL][!] > [/!]&PWD=[url][Lookup db=^paypal/ > paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- > CODE]APIPASSWORD][/URL][!] > [/!]&VERSION=[url][Lookup db=^paypal/ > paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- > CODE]APIVERSION][/URL][!] > [/!]&SIGNATURE=[url][Lookup db=^paypal/ > paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- > CODE]APISIGNATURE][/URL][!] > [/!]&METHOD=[url]SetExpressCheckout[/URL][!] > [/!]&PAYMENTACTION=[url]SALE[/URL][!] SALE, AUTHORIZATION, ORDER > [/!]&AMT=[url][THISAMOUNT][/URL][!] > [/!]&CURRENCYCODE=[url][ThisCurrency][/URL][!] > [/!]&SOLUTIONTYPE=[url]Sole[/URL][!] > [/!]&RETURNURL=[url][SiteReturnURL][/URL][!] > [/!]&CANCELURL=[url][SiteCancelURL][/URL][!] > [/!]&INVNUM=[url][ThisOrder][/URL][!] > [/!]&PAGESTYLE=[url][ThisBrand][/URL][!] > [/!][/TEXT] > > [!]===== Make Connection =====[/!] > [text muti=F]paypal_result=[tcpconnect host=[Lookup db=^paypal/ > paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- > CODE]APIURL]&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] > > [!] -------------- This creates multi text variables -------------- > [/!] > [TEXT multi=T]PayPal_result02=0&[PayPal_Result][/TEXT] > > [If ("[ACK]"^"success")] > > [!] -------------- PAYPAL SUCCESS -------------- [/!] > [Then] > [Redirect https://[Lookup db=^paypal/ > paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- > CODE]PAYPALURL]/cgi-bin/webscr?cmd=_express-checkout&token=[unurl] > [Token][/UnURL]] > [/Then] > > [!] -------------- PAYPAL FAILURE -------------- [/!] > [Else][Include file=^paypal/failure.inc][/Else] > > [/If] > > ################################################################### > > > URL's > DEVELOPMENTAPIURLapi-3t.sandbox.paypal.com > LIVEAPIURLapi-3t.paypal.com > > Hopefully this will get you started, contact me off list and I will > dig out the full set of code for you. > > > Regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > On 02/04/2009, at 11:35 AM, World Wide Art wrote: > >> Has anyone integrated PayPal Express Checkout with WebDNA? Did you >> have to use java or another architecture? My guess is that WebDNA >> can do it, I am just not sure how. >> >> I am having problems calling the API and getting the response from >> the API. >> >> Thanks, >> d. >> >> World Wide Art, Art Gallery and Custom Framing >> questions@world-wide-art.com >> Disney Preferred Animation Art Gallery >> Specializing in Limited Editions by Today's Top Artists and Custom >> Conservation Framing. >> http://www.world-wide-art.com >> 1-800-518-8453 or 1-510-538-8453 >> >> >> > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ World Wide Art, Art Gallery and Custom Framing questions@world-wide-art.com Disney Preferred Animation Art Gallery Specializing in Limited Editions by Today's Top Artists and Custom Conservation Framing. http://www.world-wide-art.com 1-800-518-8453 or 1-510-538-8453 --Apple-Mail-60-651313823 Content-Type: multipart/mixed; boundary=Apple-Mail-61-651313825 --Apple-Mail-61-651313825 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Thanks = Stuart,

This should get me started. I agree that the = guys as PP don't have a clue. They could not even understand the = questions I was asking.

Thanks = again,
David
d.

I = have a number of stores using PPExpress.

Once you understand what = it is doing and why, it is pretty easy to get your head around, the = hardest thing is getting the TCPCONNECT/TCPSEND to work.

And the = guys at PP don't seem to have any idea of which servers to point to. I = did a lot of development work with a couple of their integration people = here in Sydney and now have a pretty bullet proof modular = system.

Yes, all done in WebDNA.

Here is my code for = making the connection = (SetExpressCheckout.inc):

#########################################= ##########################

[!]=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =  [/!]
[!]  Send  Set Express Checkout call to PP and =     [/!]
[!]  then redirect to PP with token =             &n= bsp;         [/!]
[!] =  Return to return.html with token and order #  [/!]
[!] =  Cancel to cancel.html with token and order # [/!]
[!] =  Extract Customer delivery details if required =  [/!]
[!]=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D  [/!]

[!]=3D=3D=3D=3D= =3D SetExpressCheckout = =3D=3D=3D=3D=3D[/!]
[text]content=3D[!]
[/!]&USER=3D[url][Lookup= = db=3D^paypal/paypal.db&Lookinfield=3DPREF&returnfield=3DPREFVALUE&= amp;value=3D[API-CODE]APIUSERNAME][/URL][!]
[/!]&PWD=3D[url][Lookup= = db=3D^paypal/paypal.db&Lookinfield=3DPREF&returnfield=3DPREFVALUE&= amp;value=3D[API-CODE]APIPASSWORD][/URL][!]
[/!]&VERSION=3D[url][Lo= okup = db=3D^paypal/paypal.db&Lookinfield=3DPREF&returnfield=3DPREFVALUE&= amp;value=3D[API-CODE]APIVERSION][/URL][!]
[/!]&SIGNATURE=3D[url][L= ookup = db=3D^paypal/paypal.db&Lookinfield=3DPREF&returnfield=3DPREFVALUE&= amp;value=3D[API-CODE]APISIGNATURE][/URL][!]
[/!]&METHOD=3D[url]Set= ExpressCheckout[/URL][!]
[/!]&PAYMENTACTION=3D[url]SALE[/URL][!] = SALE, AUTHORIZATION, = ORDER
[/!]&AMT=3D[url][THISAMOUNT][/URL][!]
[/!]&CURRENCYCOD= E=3D[url][ThisCurrency][/URL][!]
[/!]&SOLUTIONTYPE=3D[url]Sole[/URL= ][!]
[/!]&RETURNURL=3D[url][SiteReturnURL][/URL][!]
[/!]&CAN= CELURL=3D[url][SiteCancelURL][/URL][!]
[/!]&INVNUM=3D[url][ThisOrde= r][/URL][!]
[/!]&PAGESTYLE=3D[url][ThisBrand][/URL][!]
[/!][/TEX= T]

[!]=3D=3D=3D=3D=3D Make Connection =3D=3D=3D=3D=3D[/!]
[text = muti=3DF]paypal_result=3D[tcpconnect host=3D[Lookup = db=3D^paypal/paypal.db&Lookinfield=3DPREF&returnfield=3DPREFVALUE&= amp;value=3D[API-CODE]APIURL]&port=3D443&ssl=3DT][!]
[/!][tcpse= nd skipheader=3DT]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][!]
[/!][/tcpcon= nect][/text]

[!] --------------  This creates multi text = variables -------------- [/!]
[TEXT = multi=3DT]PayPal_result02=3D0&[PayPal_Result][/TEXT]

[If = ("[ACK]"^"success")]

[!] --------------  PAYPAL SUCCESS = -------------- [/!]
[Then]
[Redirect https://[Lookup = db=3D^paypal/paypal.db&Lookinfield=3DPREF&returnfield=3DPREFVALUE&= amp;value=3D[API-CODE]PAYPALURL]/cgi-bin/webscr?cmd=3D_express-checkout&am= p;token=3D[unurl][Token][/UnURL]]
[/Then]

[!] -------------- =  PAYPAL FAILURE -------------- [/!]
[Else][Include = file=3D^paypal/failure.inc][/Else]

[/If]

###################= ################################################


URL's
DEVEL= OPMENTAPIURL= api-3t.sandbox.paypal.com
LIVEAPIURL= api-3t.paypal.com

Hopefully this will get you started, = contact me off list and I will dig out the full set of code for = you.


Regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA
webdna@idfk.com.au

On = 02/04/2009, at 11:35 AM, World Wide Art wrote:

Has anyone integrated PayPal Express Checkout with WebDNA? = Did you have to use java or another architecture? My guess is that = WebDNA can do it, I am just not sure how.

I am having = problems calling the API and getting the response from the = API.

Thanks,
d.

World Wide Art, = Art Gallery and Custom Framing
questions@world-wide-art.com
Disney Preferred Animation Art = Gallery
Specializing in = Limited Editions by Today's Top Artists and = Custom
Conservation = Framing.
http://www.world-wide-art.com
1-800-518-8453 or = 1-510-538-8453

<World-Wide-Art.vcf>


---------------------------------------= ------------------
This message is sent to you because you are = subscribed to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: = http://mail.webdna.us/list/talk@webdna.us
old archives: = http://dev.webdna.us/TalkListArchive/

World Wide Art, = Art Gallery and Custom Framing

= --Apple-Mail-61-651313825 Content-Disposition: attachment; filename=World-Wide-Art.vcf Content-Type: text/directory; x-unix-mode=0644; x-mac-type=54455854; name="World-Wide-Art.vcf" Content-Transfer-Encoding: quoted-printable BEGIN:VCARD=0D=0AVERSION:2.1=0D=0AN:;;;;=0D=0AADR;INTL;WORK:;;20628=20= Rustic=20Drive;Castro=20Valley;CA;94546;USA=0D=0A= TEL;PREF;VOICE:800-518-8453=0D=0ATEL;WORK;VOICE:510-538-8453=0D=0A= EMAIL;PREF;INTERNET:admin@world-wide-art.com=0D=0A= EMAIL;PREF;INTERNET:questions@world-wide-art.com=0D=0AORG:World=20Wide=20= Art,=20Inc.=0D=0AURL:http://www.world-wide-art.com=0D=0A= URL:http://www.world-wide-art.com=0D=0AUID:vuQXE79=0D=0A= REV:20070112T131644=0D=0AEND:VCARD=0D=0A= --Apple-Mail-61-651313825 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: 7bit

--Apple-Mail-61-651313825-- --Apple-Mail-60-651313823-- World Wide Art

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

RE: complete escaped ascii chart - importing and exporting files question (1998) Still Pulling my hair out (2001) Languages (1997) Scrape Interest Rates (2005) absolute paths for databases? (1997) Format of Required fields error message (1997) Price Change (2000) Claris HomePage messes up the code (1997) Re2: frames & carts (1997) Number of files in a directory (2006) Search & Sort Question (1999) synching databases on multiple servers (1997) Re:2nd WebCatalog2 Feature Request (1996) Add to Cart & List of Products (1997) WebCat2b15MacPlugin - showing [math] (1997) [OT] SQL and Crackers (2000) Email tracking application? (2001) Protecting Images (2003) A few questions. . . (1997) WebCat2: multiple currency support (1997)