How to Make Paypal Work with phpYellow PagesTM
Using Paypal
phpyellowTM can use Paypal to process
payments for listings on your directory. For phpYellow Pro Edition version 3.48 or higher follow the
steps below to configure:
Step 1: Pretest
Before changing anything make sure that phpyellowTM is processing paid listings and
can successfully handle a pretest of just the phpyellow components. This is how:
- login to the Client Control Panel
- click the 'Upgrade Listings' button
- choose the listing to upgrade
- at the 'Checkout' page, click on 'Next Step' (the preselected 'Test' payment is used)
- at the 'Purchase a Listing' page, click on 'Next Step'
- at the 'Thank You' page, click on 'Look at your NEW listing!'
- the result is an upgraded listing set to the type you selected
A successful Pretest verifies internal phpyellowTM functionality - and helps in
isolating external payment gateway problems.
DO NOT PROCEED UNTIL THIS PRETEST IS WORKING TO YOUR SATISFACTION.
Step 2: Make this change on Paypal
Make this change to your Paypal account :
- log in to Paypal
- verify you have a Paypal Premier or Business Account
- [ optional: set Profile -> Selling Preferences -> Shipping Calculations -> disable the shipping fee calculation ]
Step 3: Make changes to phpYellowTM Pages
In the file called util.php make these changes:
- define("INSTAPAY", "elective"); // or define("INSTAPAY", "required");
- define("PAYPAL_EMAIL", "Your Paypal email address used for login");
- save and upload to your web server
Step 4: test
In this step you create test listings and submit them.
Follow the transaction all the way through to the end to verify that the data you
submitted was correctly processed by phpyellowTM pages and the payment gateway provider.
Optional: How to change default currencies
Change the default USD currency by:
- open /gateways/paypal/pro_paypal_variables.php
- find this line: <input type="hidden" name="currency_code" value="USD">
- change USD to one of:
- USD - US Dollars, the default
- CAD - Canadian Dollars
- EUR - European Euros
- GBP - Great Britain Pounds
- JPY - Japanese Yen
- Paypal more info: http://www.paypal.com/cgi-bin/webscr?cmd=p/sell/mc/mc_wa-outside
Done!
This completes the steps to integrate Paypal with phpyellowTM Pages. Congratulations,
you can start earning revenue using online payment and automatically paid listings.
Disclaimer
These instructions are offered 'as is' with no warranty express or implied as to
their efficacy. If they work - great, if they don't, then you need to make changes
by reviewing the payment gateway processor documentation and perhaps by consulting
with their support. Processors frequently change their documentation and gateway functionality.
The documentation does not necessarily reflect the latest changes ... if you find
differences then please write us and let us know what you had to change.
|