Zen Cart Logo
Forums / Addon Payment Modules / Payment module - cant find certificate file

Payment module - cant find certificate file

Locked

Views: 1,217

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
26 Feb 2008, 11:08 PM
#1
jima avatar

jima

New Zenner

Join Date:
Jun 2007
Posts:
4
Plugin Contributions:
0

Payment module - cant find certificate file

I have been using the "Zen-Cart Payment Module for PayPal Website Payments Pro V1.2" contri for about 8 months now with very little problems.

Recently, (sometime after 2/19) my direct payment funtion stopped working - reporting: "There has been an error processing your credit card. Please try again. "

I've verified that 'no log file' is generated for the transaction.

At a loss, I looked thru the paypal_dp.php module and have pinpointed the function generating the error (called before_process())

Here is the section of code that is detecting the failure.

$caller =& Services_PayPal::getCallerServices($profile, $logLevel, MODULE_PAYMENT_PAYPAL_DP_LOG_DIR);
if(Services_PayPal::isError($caller))
{
print $caller->getMessage();
$messageStack->add_session('checkout_payment', MODULE_PAYMENT_PAYPAL_DP_TEXT_PROCESS_ERROR . '<!-- ['.$this->code.'] -->', 'error');
zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_PAYPAL_DP_TEXT_PROCESS_ERROR), 'SSL', true, false));
}

I activated a commented debug line that shows the most recent mesage ( print $caller->getMessage(); ) and it reports that the module can't find the cert file (which is there and has access granted).

Could not find certificate file '../etc/ppc/cert_live_pem.txt'

I've made no changes to the site for a long while - this seems to be out of the blue.

Has anyone experienced this problem before or have any suggestions on where to go from here? Much appreciated.

Thanks in advance. Jim

27 Feb 2008, 5:37 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Payment module - cant find certificate file

If you're using a 3rd-party addon, you may have to get support from the author for that module.

Zen Cart has a built-in Website Payments Pro (Direct Payment) module as of v1.3.8. It doesn't use the certificate API security ... it uses the signature API security method instead, so you'll have to re-establish your API details.
https://www.zen-cart.com/getpaypal

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.