[plt-scheme] Paypal integration?

From: Ben Simon (benjisimon at gmail.com)
Date: Mon Dec 29 09:39:27 EST 2008

On Mon, Dec 29, 2008 at 9:20 AM, Geoffrey S. Knauth <geoff at knauth.org>wrote:

> On Dec 28, 2008, at 21:12, Christopher Rasch wrote:
>
>> Are there any tutorials that detail how to integrate paypal with a
>> scheme-powered website?
>>
>
> What do you mean by integration?  Are there other systems that offer
> integration, and if so, how do they work?
>
> I recently had to put some PayPal Buy Now buttons on a website for a
> conference.  These were the steps I had to do:
>
> - login to Paypal with conference's credentials
> - create a bunch of buttons for different registration options
> - - each button was basically an HTML form referencing a PayPal image and
> action
> - I put the buttons in the conference's website in the appropriate places
>
> When users pressed the buttons, they went to the PayPal site.  Just before
> that happened, I saved user info so we knew that users had gone to PayPal to
> pay.  Later we checked PayPal emails and web pages to see if they had paid.


Not to get too far off topic...

You may want to look into PayPal IPN - Instant Payment Notification. This is
a URL you plug into PayPal's back end, and it invokes every time an event
happens (like someone purchases and item or cancels a subscription).

You can learn more here:
   https://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/ipn-manual-outside

Instant Payment Notification makes use of a standard HTTP POST (or maybe
GET) so you can trivially plug in a scheme servlet to handle this request,
if you wanted.  You should be able to automate the transfer of PayPal
information into your system, in a secure way, using this approach.

-Ben

-- 
Have an idea for software?  I can make it happen -
http://www.ideas2executables.com
My Blog: http://benjisimon.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20081229/06dbd2bb/attachment.html>

Posted on the users mailing list.