Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 03-18-2013 20:54:44

flashlightlens
Member
Registered: 01-17-2006
Posts: 54

PayPal Website Payments Pro Problems

This issue started in v7, so I upgraded to v8 in an attempt to resolve it.  It's not really a version-specific issue, but I'm on 8 now, so here I am...

Anyway...  About a week ago, my site stopped processing payments.  Here's what I've come up with as symptoms:

When I try to check out with a credit card:
The Shopping Cart and Checkout pages are REALLY slow coming up
Express Checkout isn't displayed as an option on the Shopping Cart page
The credit card payment comes back with an error

Now, if I remove the API login and password from the PayPal Website Payments Pro Settings page, the shopping cart and checkout page are fast and the Express Checkout is there.  Credit card payments still fail in the same fashion.

The PayPal Express Checkout Email is filled in with my PayPal email in the PayPal Website Payments Pro Settings page in either config.

What am I missing?  I've tried to look at the debug info, but I honestly can't spot an error relating to the payment process.

I had made no changes to any of the CCP settings when the problem started.

I've seen some posts regarding permission issues, but nothing I try works.

I'm lost.....

Offline

 

#2 03-18-2013 22:14:21

dh783
Moderator
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: PayPal Website Payments Pro Problems

To get a true debug report on checkout you will need to turn off ajax.

John

Offline

 

#3 03-19-2013 08:48:05

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19735
Website

Re: PayPal Website Payments Pro Problems

This is a problem with either your API username or API key/password.  Our express checkout implementation uses a different method (developer key) when you don't have an API username or API key/password entered - that's why express is working without them.


Nick Hendler

Online

 

#4 03-19-2013 17:30:19

flashlightlens
Member
Registered: 01-17-2006
Posts: 54

Re: PayPal Website Payments Pro Problems

I changed out my API credentials and entered them along with the new cert into the PayPal Website Payments Pro Settings page.  Still no dice.  I get long delays on loading the Cart and the Express Checkout link is gone.

I'm working on getting a debug file.

Offline

 

#5 03-19-2013 17:50:39

flashlightlens
Member
Registered: 01-17-2006
Posts: 54

Re: PayPal Website Payments Pro Problems

Here are some debug details.  This is when loading the Shopping Cart page and trying to get the Express Checkout button to show up.

CORE_Remote::connect: Sending request to URL https://api.paypal.com/2.0/: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType"><Credentials xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType"><Username>MASKED FOR THIS POST</Username><Password>MASKED FOR THIS POST</Password><Subject></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body><SetExpressCheckoutReq xmlns="urn:ebay:api:PayPalAPI"><SetExpressCheckoutRequest xsi:type="ns:SetExpressCheckoutRequestType"><Version xmlns="urn:ebay:apis:eBLBaseComponents">60.0</Version><SetExpressCheckoutRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents"><ReturnURL>https://MASKED FOR THIS POST/index.php?app=ecom&ns=paypalproexpret&action=RETURN</ReturnURL><CancelURL>https://MASKED FOR THIS POST/index.php?app=ecom&ns=paypalproexpret&action=CANCEL</CancelURL><PaymentAction>Sale</PaymentAction><PaymentDetails><OrderTotal currencyID="USD">4.25</OrderTotal></PaymentDetails></SetExpressCheckoutRequestDetails></SetExpressCheckoutRequest></SetExpressCheckoutReq></SOAP-ENV:Body></SOAP-ENV:Envelope>

CORE_Remote::connect: connect() timed out!

I'm getting closer, but I'm not sure what to do with this info now....  Off to Google....

Last edited by flashlightlens (03-19-2013 18:04:31)

Offline

 

#6 03-20-2013 07:38:24

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19735
Website

Re: PayPal Website Payments Pro Problems

The error 'connect() timed out!' is server-based - meaning either PayPal is taking too long to respond to your request, or your server is not waiting long enough for it.  CCP has a built in timeout for cURL requests of 15 seconds, but your server might have an override.  Check with your host on this.


Nick Hendler

Online

 

#7 03-21-2013 17:22:50

flashlightlens
Member
Registered: 01-17-2006
Posts: 54

Re: PayPal Website Payments Pro Problems

Interesting.  I think I fixed this by upgrading my PHP instance to "5.3.x FastCGI" from "5.2.x FastCGI" on my server.  I wonder if this had anything to do with users getting an "invalid email address" message when trying to send messages to me from the contact page.

Thanks for all the suggestions - I think the last post telling me to look at the server prompted me to dig in and find this available upgrade.

Thanks!
Chris


Wait - the contact thing is still broken... "There was an error encountered when trying to send your email message. Perhaps an invalid email address was entered. Please try again."  I'll start digging in to that one now...

Fixed the contact thing.  My host doesn't allow the sender address to be a non-hosted-by-them address.  I changed it over to mine and all seems well now.

Last edited by flashlightlens (03-21-2013 17:48:28)

Offline

 

#8 03-25-2013 07:39:21

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19735
Website

Re: PayPal Website Payments Pro Problems

Thanks for the update.


Nick Hendler

Online

 

#9 04-04-2014 08:27:59

JayCR48
Member
From: Ohio
Registered: 03-27-2008
Posts: 86
Website

Re: PayPal Website Payments Pro Problems

How can we increase the built in timeout for cURL requests of 15 seconds to 20 seconds?


We distribute high quality steel auto body panels for use in the rust repair industry.

Offline

 

#10 04-04-2014 09:22:34

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19735
Website

Re: PayPal Website Payments Pro Problems

Edit the file {private}/core/CORE_Remote/CORE_Remote.php.  You'll see the default set twice in the file:

Code:

$timeout = (isset($input['timeout']) ? $input['timeout'] : 25);

Change the '25' to whatever.


Nick Hendler

Online

 

Board footer