PayPal Interface ================== VP-ASP version 5.00 Jan 11, 2004 This interface is for use with PayPal. Please note that a customer can only pay with PayPal once they have signed up to become a personal account holder. The verification number they will require before purchase is sent to them via their credit card account which could possibly take up to one month or more. VP-ASP Files ------------ PayPal interface is provided with three files; paypalresult.asp - handles return from PayPal paypalgateway.asp - configures gateway information paypalshopcheckout.asp For European Countries the following may be applicable ' Used only for Countries using comma as decimal point const CommaAsDecimal="No" ' ' Used only if you want amount converted to $US const ConvertToUS="No" ' uses conversion rate in shop Configuration ' Used only if an xLCID is not set in shop Configuration ' see VP-ASP developer's Guide for valid LCIds const ResetLcid="1036" ' Reset LCID VP-ASP Installation ------------------- Copy the above files to your shopping directory. Change the following line in Shopping Cart Configuration > Payments xcheckout=paypalshopcheckout.asp Edit paypalgateway.asp ------------------------ There are two lines in this file that will need editing for your system const PAYPALEMAIL="yourPayPalemail@xxx.com" ' enter your details const MYSITE="http://www.yourvpaspsite.com/shoppping" ' enter your details Payment Notification -------------------- If successful the following is found in the Orders table; ocardtype PayPal otime HH:MM:SS AM oauthorization PayPal PayPal will not proceed with an invalid PayPal account and will return to allow the customer to enter the correct details. There will be nothing recorded in these fields for an invalid or cancelled transaction. Other order details will be saved to the database however, such as name and address details. PayPal Administration ----------------------- The PayPal home page is http://www.paypal.com A PayPal guide is available from; https://www.paypal.com/html/single_item.pdf If you find an error or omission in this file please email support@vpasp.com. VP-ASP Configuration If you do not want credit cards set xallowcreditcards=No If you do not want other payment types set xallowotherpayments=No then "Reload Shop Configuration"