Sandbox environment works but live does not - only changing live/sandbox email and address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sandbox environment works but live does not - only changing live/sandbox email and address and $config['sandbox'] = FALSE;
codeigniter paypal_config
my sandbox working code but live
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
// ------------------------------------------------------------------------
// Paypal IPN Class
// ------------------------------------------------------------------------
// Use PayPal on Sandbox or Live
$config['sandbox'] = FALSE; // FALSE for live environment
// PayPal Business Email ID
$config['business'] = '';
// If (and where) to log ipn to file
$config['paypal_lib_ipn_log_file'] = BASEPATH . 'logs/paypal_ipn.log';
$config['paypal_lib_ipn_log'] = TRUE;
// Where are the buttons located at
$config['paypal_lib_button_path'] = 'buttons';
// What is the default currency?
$config['paypal_lib_currency_code'] = 'USD';
?>
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Hosted Buttons have changed. How can I now edit the item ID and stock? in PayPal Payments Standard
- Changes to Subscriptions vs Billing Agreements in PayPal Payments Standard
- Error: "Unable to change shipping method. Please try again." in PayPal popup in REST APIs
- webhook deregistration in REST APIs
- Refunding an order via HATEOAS URL failing with NOT_AUTHORIZED error in Sandbox Environment