Steve,

You are correct. You use @URL or Webcall to begin the transaction with PayPal.

They return a URL to you, which you redirect the user to by setting the 
httpheader and using a 302 redirect.

You don’t need to include the @USERREFERENCE as long as the return url you 
provide to PayPal is at the same domain, this is because the cookie should 
still be active in the browser session. Including the @USERREFERENCEARGUMENT in 
the url won’t hurt, however.

The most complex part of the process is building up the name value pairs and 
parsing the returns from paypal. Since some values are URLs, they need to be 
properly @URLENCODEd.

PayPal offers a good sandbox environment to test the complete cycle, which is 
helpful.

I know Ben Johansen is knowledgeable about this process if you are considering 
hiring a consultant.

Robert

From: Fogelson, Steve [mailto:[email protected]]
Sent: Thursday, September 18, 2014 11:25 PM
To: [email protected]
Subject: TeraScript-Talk: PayPal Express Checkout

Has anyone put together a TeraScript app for PayPal Express Checkout?

It appears that PayPal requires a direct url to their site with customer info 
including total purchase amount. The customer logs in to PayPal and approves 
purchase and payment.

Then PayPal redirects back to the originating site.

Wondering about the logic to accomplish this in TeraScript.

Assuming I would use the Web Call action to start the transaction with PayPal, 
but not sure about the redirect back from PayPal. It may take the customer a 
while to do their business on PayPal.

Should the PayPal redirect url include the <@USERREFERENCE>?

Thanks for any insight you can provide to accomplish this.

Thanks

Steve Fogelson
Internet Commerce Solutions

  _____

To unsubscribe from this list, please send an email to  
<mailto:[email protected]> [email protected] with "unsubscribe 
terascript-talk" in the body.



----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to