Created
February 10, 2013 12:14
-
-
Save SeraphimSerapis/4749397 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/**************************************************** | |
web_constants.php | |
Define constants used by web pages in this file | |
****************************************************/ | |
/* Define the PayPal URL. This is the URL that the buyer is | |
first sent to to authorize payment with their paypal account | |
change the URL depending if you are testing on the sandbox | |
or going to the live PayPal site | |
For the sandbox, the URL is | |
https://www.sandbox.paypal.com/webscr&cmd=_ap-payment&paykey= | |
For the live site, the URL is | |
https://www.paypal.com/webscr&cmd=_ap-payment&paykey= | |
*/ | |
define('PAYPAL_REDIRECT_URL', 'https://www.sandbox.paypal.com/webscr&cmd='); | |
define('DEVELOPER_PORTAL', 'https://developer.paypal.com'); | |
define('DEVICE_ID', 'PayPal_Platform_PHP_SDK'); | |
define('APPLICATION_ID', '80W284485P519543T'); | |
define('IP_ADDRESS' , '127.0.0.1'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment