phpYellow Pages - Connect to a Payment Gateway Processor - How to Make Paypal Work with phpYellow Pages
How to Make Paypal Workwith phpYellow Pages
Guide |
General |
Authorize.net |
Clickbank |
Self |
Worldpay
Pretest
Before changing anything make sure that your phpYellow Pages is processing paid listings. This is how:
open util.php
set the CONSTANT value for BYPASSCARDPROCESSOR from "no" to "yes"
set the CONSTANT value for PAIDLISTINGS from "" to "yes"
save util.php to your web server
go to phpYellow Pages and add a test listing
find your new test listing
click on the "Go Premium" button
complete the checkout page details and click on "Next Step"
on the Proceed to Purchase? page click on "Next Step"
the result is an upgraded Premium Listing
DO NOT PROCEED UNTIL THIS PRETEST IS WORKING TO YOUR SATISFACTION.
phpYellow Pages can use Paypal to process Premium Listing payments.
A small amount of configuration is needed on the Paypal Administration
System to make basic settings. Also, phpYellow Pages must be
configured as below:
Makes this change on Paypal Administration System
https://www.paypal.com/cgi-bin/webscr?cmd=_login-run
Make this change to Paypal :
verify you have a Paypal Business Account
set Profile -> Selling Preferences -> Shipping Calculations -> disable the shipping fee calculation
Make changes to phpYellow Pages
In the file called util.php make these changes:
define("PAIDLISTINGS", "yes");
define("SENDRECEIPT", "yes"); /* [optional] */
define("MERCHANTACCOUNT", "Your Paypal login");
define("BYPASSCARDPROCESSOR", "no");
define("GATEWAYPROCESSOR", "paypal");
define("POSTTRANSACTIONSURL", "https://www.paypal.com/cgi-bin/webscr");
save and upload to your webserver
Copy a special file needed by Paypal:
find the file called premiumBuyForm.php found in /phpYellow/gateways/paypal
copy premiumBuyForm.php to /phpYellow
the copy operation will overwrite the existing default file in /phpYellow
Done!
This completes the steps to integrate your payment processing with phpYellow Pages. Congratulations,
you can start earning revenue using online payment and automatically paid listings.
Guide |
General |
Authorize.net |
Clickbank |
Self |
Worldpay
Wyszukiwarka
Podobne podstrony:
indexindexindexindexindexindexindexindexwięcej podobnych podstron