How to Make Paypal Work
with phpYellow PagesTM

Using Paypal

I'm a member of the PayPal Developer Network 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:

  1. login to the Client Control Panel
  2. click the 'Upgrade Listings' button
  3. choose the listing to upgrade
  4. at the 'Checkout' page, click on 'Next Step' (the preselected 'Test' payment is used)
  5. at the 'Purchase a Listing' page, click on 'Next Step'
  6. at the 'Thank You' page, click on 'Look at your NEW listing!'
  7. 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 :

Step 3: Make changes to phpYellowTM Pages

a. Go to admin > Setup > Edit Configuration > Payment Settings
b. in Require payment choose elective or required
c. in paypal email enter your paypal email address
d. optionally set Listing types, labels and or prices
e. scroll to the bottom of the page and submit


Step 4: optional test

In this step you create test listings and submit them. Follow the transaction to the Paypal screen to verify that the data you submitted was accepted by Paypal.

Since Paypal does not allow you to buy from yourself, you may create a second test only paypal account (used ONLY for testing and not for real customer transactions) or perhaps you may have an associate who can test a live transaction for you using their own paypal account.


Optional: How to change default currencies

Change the default USD currency by:

  1. open /gateways/paypal/pro_paypal_variables.php
  2. find this line: <input type="hidden" name="currency_code" value="USD">
  3. change USD to one of:
    • USD - US Dollars, the default
    • CAD - Canadian Dollars
    • EUR - European Euros
    • GBP - Great Britain Pounds
    • JPY - Japanese Yen
  4. Paypal more info: http://www.paypal.com/cgi-bin/webscr?cmd=p/sell/mc/mc_wa-outside


How to approve a paid listing

This Paypal payment system accepts your phpYellow listing data and creates a payment transaction for each payment.

You receive email notification from Paypal of all listing payments and you may view these listing payments in your Paypal account.

As phpYellow Site Administrator you approve the publication of paid listings using the phpYellow tool called Work with Single Listing. This tool is found in admin > manager > Work with Single listing and looks like this:



Update each data entry field and submit to approve any paid listing.

Done!

This completes the steps to integrate Paypal with phpyellowTM Pages. Congratulations, you can start earning revenue using online payment with recurring subscription based 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 write us and let us know what you had to change.