phpYellow Pages - Connect to a Payment Gateway Processor - How to Make Authorizenet Work with phpYellow Pages
How to Make Authorizenet Work with phpYellow Pages
Guide |
General |
Clickbank |
Paypal |
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 any 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 Authorizenet to process Premium Listing payments.
Configuration is needed in two (2) places:
configure phpYellow Pages
configure the Authorizenet Administration
1. configure phpYellow Pages Premium Edition
In the file called util.php make these changes:
define("PAIDLISTINGS", "yes");
define("SENDRECEIPT", "yes"); /* [optional] */
define("BYPASSCARDPROCESSOR", "no");
define("GATEWAYPROCESSOR", "authorizenet");
define("POSTTRANSACTIONSURL", "https://secure.authorize.net/gateway/transact.dll");
define("TRANSACTIONTYPE", "weblink");
define("X_LOGIN", "yourLoginID"); // identifies you as a merchant
save and upload to your webserver
2. Configure the Authorizenet Administration
Next configure your Authorizenet settings. Make all of the settings below.
make a secure login to the administration area
use test mode: Settings > General Merchant Settings > Test Mode
Settings > Payment Form / Receipt Settings > General Payment Form / Receipt Settings > Receipt Link Method > POST
Settings > Payment Form / Receipt Settings > General Payment Form / Receipt Settings > Receipt Link Text > 'Next Step'
Settings > Payment Form / Receipt Settings > General Payment Form / Receipt Settings > E-Mail Receipt Settings > E-Mail Customer > 'Yes'
Settings > Payment Form / Weblink Field Settings > uncheck ALL settings below and including 'Shipping First Name' because shipping is not used
Settings > Payment Form / Weblink Field Settings > uncheck the Editable column ONLY for Invoice #, Description and Customer ID
Here is a snapshot of the Add URL settings:
Settings > Manage URLs > Add URL > http://www.yourdomain.com/phpYellow/premiumProcessPayment.php
Settings > Manage URLs > Add URL > Add To List Of Valid Referrers > NOT checked
Settings > Manage URLs > Add URL > Add To List Of Valid ADC / Receipt Link URLs > checked
Settings > Manage URLs > Add URL > Receipt Link Default URL > checked
Additional References
Authorizenet Developer's Guide: http://www.authorizenet.com/go2/framed.php?url=https://secure.authorize.net/docs/index.pml
Test
do a live credit card payment transaction from any phpYellow listing (similar to the Pretest above)
when satisfied switch Authorizenet settings back to LIVE mode: Settings > General Merchant Settings > NOT Test Mode
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 |
Clickbank |
Paypal |
Self |
Worldpay
Wyszukiwarka
Podobne podstrony:
indexindexindexindexindexindexindexindexwięcej podobnych podstron