ZEROTRUTH & PAYPAL ZEROTRUTH INSTANT PAYMENT NOTIFICATION TRUTHAHN AND



Similar documents
PayPal PRO Sandbox Testing

Biznet GIO Cloud Connecting VM via Windows Remote Desktop

Streamlining Purchases with Website Payment Preferences

DDNS Management System User Manual V1.0

OneLogin Integration User Guide

Welcome to ncrypted Cloud!

Web24 Web Hosting Guide

EC SUITE TRAFFIC MANAGER

PaperCut Payment Gateway Module PayPal Website Payments Standard Quick Start Guide

Connecting your Virtual Machine to the Internet. BT Cloud Compute. The power to build your own cloud solutions to serve your specific business needs

Browser Settings for Optimal Site Performance

How To Set Up A Xerox Econcierge Powered By Xerx Account

V310 Support Note Version 1.0 November, 2011

Using PayPal in CloudTrax

How To Build An Online Store On Ecwid

Integration Guide Last Revision: July 2004

Credit Cards in BillQuick

MultiSite Manager. Setup Guide

Mac OS X User Manual Version 2.0

SecureIT Plus Firewall Features and Functionality

Simple Membership Plugin Setup Documentation

1: 2: : 3.1: 3.2: 4: 5: & CAPTCHA

Document Revision Date: August 14, Create a New Data Protection Policy in the Symantec.cloud Management Portal

Appspace 5.X Reference Guide (Digital Signage) Updated on February 9, 2015

WorldExtend IronDoor 3.5 Publishing a Terminal Services Application

Website Payments Standard Integration Guide

DOCQN. Account. CA Departm. Version 2.0

Avaya IP Office Platform Web Self Administration

MANAGING YOUR SCENTSY FAMILY PAY PORTAL ACCOUNT

Installing NetSupport School for use with the NetSupport School Student extension for Google Chrome

PayPal Integration Instructions

RBackup Server Installation and Setup Instructions and Worksheet. Read and comply with Installation Prerequisites (In this document)

MilsVPN VPN Tunnel Port Translation. Table of Contents Introduction VPN Tunnel Settings...2

StarWind iscsi SAN Software: Installing StarWind on Windows Server 2008 R2 Server Core

Shasta College SharePoint Tutorial. Create an HTML Form

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

PayPal Payments Standard Integration Guide

Active Directory Self-Service FAQ

Important Notes for WinConnect Server VS Software Installation:

Setting up Hyper-V for 2X VirtualDesktopServer Manual

PayPal By PayDollar. Setup Guide

SageCRM 6.1. Wireless Mobile Guide

Aspen Cloud Server Management Console

ClubRunner Event Payment Setup Guide

Mac OS VPN Set Up Guide

How to Make Register and Make Online Bookings

Chapter 10 Encryption Service

Microsoft Labs Online

Enabling NAT and Routing in DGW v2.0 June 6, 2012

WiNG5 CAPTIVE PORTAL DESIGN GUIDE

Manager. Configuration Guide. ICS Software Solutions Clarendon House Church Lane Naphill HP14 4US Buckinghamshire

The ECU Wireless system uses a captive portal authentication system. There are three steps to configure your computer for wireless access:

STX Beacon User Guide Packages

1:1 NAT in ZeroShell. Requirements. Overview. Network Setup

How To Use Paypal Online Currency With A Credit Card And Bank Account On A Pc Or Credit Card On A Website From A Pc (Paypal) On A Paypal Website (Online) On Pc Or Paypal On A Computer Or Pc (

Configuration Manual

Quick Start Guide. Cerberus FTP is distributed in Canada through C&C Software. Visit us today at

Initial Setup. How To Run A Mac Server:

How To Connect Your Event To PayPal

Important Notes for WinConnect Server ES Software Installation:

SSL VPN Setup for Windows

Port forwarding and viewing your IP camera from the internet

DSL-G604T Install Guides

INSTALLATION AND SETUP HANDBOOK OF PAYU LATAM s PLUGIN FOR WOOCOMMERCE

Secure Web Service - Hybrid. Policy Server Setup. Release Manual Version 1.01

Qvis Security Technical Support Field Manual LX Series

Selling Digital Goods Online

Terminal Four. Content Management System. Moderator Access

Thirtyseven4 Endpoint Security (EPS) Upgrading Instructions

TRUSTWAVE VULNERABILITY MANAGEMENT USER GUIDE

PCRecruiter Internal Client

CarePath by Janssen Provider Portal User Guide

Remote Desktop In OpenSUSE 10.3

GOOGLE DOCS APPLICATION WORK WITH GOOGLE DOCUMENTS

How to configure Linksys SPA for VOIP Connections

Managing Your Domain Names

Configuring Security for FTP Traffic

PayPal Integration Instructions

How To Configure A Linksys Pap2T With Virtualbpx On A Cell Phone On A Pc Or Ipad Or Ipa (For Ipa) On A Ipa Or Ip2T On A Sim Sim (For Sim Sims

Infor Xtreme Browser References

PaperCut Payment Gateway Module - RBS WorldPay Quick Start Guide

CyberSource PayPal Services Implementation Guide

Application Notes. How to Configure Application Control for the UTM

ShadowControl ShadowStream

SaaS Encryption Enablement for Customers, Domains and Users Quick Start Guide

Enabling VPN on your VPS

Table of Contents. Welcome Login Password Assistance Self Registration Secure Mail Compose Drafts...

Orientation Course - Lab Manual

Instructions for Microsoft Outlook 2003

MultiSite Manager. User Guide

CHAPTER 26 - SHOPPING CART

Admin Guide Virtual Private Server (VPS) MailStreet Hosting Control Panel (CP)

Semantic based Web Application Firewall (SWAF V 1.6) Operations and User Manual. Document Version 1.0

Setting up Hyper-V for 2X VirtualDesktopServer Manual

Integrating LANGuardian with Active Directory

Upgrading User-ID. Tech Note PAN-OS , Palo Alto Networks, Inc.

Transcription:

ZEROTRUTH & PAYPAL ZEROTRUTH AND INSTANT PAYMENT NOTIFICATION TRUTHAHN

Nello Dalla Costa http://www.zerotruth.net Revised by Matteo Guglielmi

PAYPAL INTEGRATION INTO ZEROTRUTH INTRODUCTION ZeroTruth is built on top of ZeroShell, therefore it allows the creation of particular profiles (prepaid) to which a certain amount of network traffic (measured in mega bytes or hours of use of the Captive Portal) can be allocated. The requested amount of network traffic must be paied up front by the user during the initial self-registration procedure or just renewed whenever the user s account runs out of credit (in case of lack of credit, the user s account will be simply denied access to the Internet until a new payment is made). Prepaid accounts in ZeroTruth are fully integrated within the Instant Payment Notification (IPN) framework of PayPal, and are available in ZeroTruth since version 1.0 beta 2. PAYPAL CONFIGURATION First of all, you must upgrade to a Premier or Business PayPal account if you happen to have a Basic one (it is not possible to configure IPN if you have subscribed for a Basic account). The second step is to create a payment button for the Captive Portal webpage. The button designer of PayPal won t automatically place the button code on your website, but you can easily copy and paste the button code into your website s HTML code (we will see how to do this shortly after in this and next sections). In order to get to the button designer interface, select Merchant Portal across the tab bar on the main PayPal webpage, then click on the Buy Now Buttons hyperlink. What we have to do now is to customize the Buy Now button. On the button designer interface there are several options available, such as the ability to choose a different color or a different size for the button itself, but here we will rather focus on creating a very simple button.

Our Buy Now button will simply allow the user to select between three different sizes of one (Small), five (Medium) and ten (Large) currency units (dollars), respectively. Hit the Done button. Inside the Your customer s view frame you can already see how the Buy Now button will look like on the Captive Portal s website. Hit the Create Button button.

The HTML Buy Now button code is now ready to be copied (we will need this code in the next section where we will be integrating IPN into ZeroTruth). Hit the Select Code button which should also copy the code into your desktop s clipboard. Because PayPal s payment notification (IPN) method can not make use of a non-standard port number for sending IPN messages to the server hosting our Captive Portal (PayPal supports only 80 and 443 as valid port numbers), we must do the following. Select the Website preferences Update hyperlink.

Activate Auto Return and type in the URL as shown in the picture below, paying attention to replace the IP address 1.2.3.4 with the public IP address of the Captive Portal. Scroll down the webpage and make sure that the PayPal Account Optional option is activated as well (no need for the user to own a PayPal account for the payments). Hit the Save button.

Select the Instant Payment Notifications Update hyperlink. Move on by hitting the Choose IPN Settings button.

Enter the URL as shown in the picture below paying attention to replace the IP address 5.6.7.8 with the public IP address of some router, which will forward the incoming IPN messages from PayPal to the Captive Portal s IP address on port 8088. Enable the Receive IPN messages option, then hit the Save button. ZEROTRUTH CONFIGURATION Let us now configure the ZeroTruth machine which hosts the Captive Portal service. First of all we add a new class named PAYPAL of type prepaid. Here we also set two extra parameters, namely, the cost per megabyte of network traffic and the cost per hour of use of the Captive Portal. Hit the Save button.

The new PAYPAL class can be now associated to the self-registration configuration. Let us now modify the self-registration settings. In oder, hit the Config, Captive Portal and Self registering buttons. Make sure that the service is activated, then select PAYPAL from the Self registering class drop-down menu. Hit the Save button.

When a user makes a payment for a prepaid account (either during the initial self-registration procedure or because the account needs to be recharged), the firewall of ZeroTruth must be opened to let the user communicate with PayPal. It turns out the PayPal website does not offer a fixed range of IP addresses, therefore, as a fair compromise, ZeroTruth will open the firewall but it will also enforce an upper limit to the total number of sessions (and seconds per session) a user is allowed to attempt before being locked out of the system. In oder, hit the Config, Captive Portal and Paypal buttons. Activate the PayPal IPN s integration by seting the Srvice Active checkbox. If you have not copied to your desktop clipboard the HTML s code of the PayPal Buy Now button, you should go back to your PayPal Premier or Business account and do it right now. Paste the code into the Button PayPal frame and then write the message that the user will see after each successful transaction. Set the number of allowed attempts (3), the number of seconds each attempt may last before being forcibly closed (2 minutes) and the GMT offset (+1, for PayPal would set it to -9). We are now ready to test the self-registration. Hit the Save button.

Hit the Registration, Send, Continue and Buy Now buttons (note the presence of Credit Charge). The test user is finally redirected to the PayPal webpage where the payment can be completed.

Holy maccheroni! The test user has already eaten up half megabyte in only four minutes! But he is lucky for he can always recharge the account on the fly by selecting the Credit Charge hyperlink. All the received payments are also stored and made available to the administrator for inspection. Enjoy PayPal integration!