Special server requirements for PayPal Plus?
-
Hi, are there any special server requirements for PayPal Plus? I’ve installed PayPal Plus now in three shops and everything is working fine. Now I wanted to install it on client’s site on a different server and when I activate PayPal Plus I get the error notification “Error processing checkout. Please try again.”
I’ve even tried it with my Client ID and Client Secret Frosnm the shops which are running without any problems, but still the same error message. So I think it can only have something to do with the server settings.
Do you have any idea? I can send you the php info if you want.
Thankshttps://www.ads-software.com/plugins/paypal-for-woocommerce/
-
Hi, the server doesn’t use any CDN or chaching. I think it’s not able to solve the problem, I’m thinking about to switch the domains to a different server.
Thanks so farYeah, that’s a tough one. We simply have not seen this problem anywhere else so it’s going to be a tough one to troubleshoot unless you can provide some sort of server logs that might help.
PayPal says it’s getting POSTed twice, so your server logs should represent that.
I also got the same problem. After inserting again the API-Codes it got working. I think at my side the problem was at the copy-paste of the Codes.
Don’t know if that helps.
@spirit1977, maybe you should double check your credentials. Make sure you don’t have any extra white space or anything like that when you paste the values into the plugin.
I’ve double checked the credentials, but it still doesn’t work
I do have the exact same problem. I get the error message: ERROR PROCESSING CHECKOUT. PLEASE TRY AGAIN. as soon as I activate PayPal Plus. I just called PayPal today and they told me that I do have already a PayPal Plus account.
Anything I can provide in order to solve this issue?
Thanks for your help.The shop i use it with is: buah.de
Please make sure logging is enabled in the plugin settings and provide the log for me to take a look at.
Hy Angelleye,
I got the same error and an empty log file.03-19-2016 @ 14:07:25 - 03-19-2016 @ 14:07:33 - 03-19-2016 @ 14:09:02 -
Then I started to debug the code and get this:
error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
I have no idea, why woocommerce don’t write this to the log file. Maybe because the string variable of exception is empty. but message is set.I remember to read something about Paypal and SSLv3, which could not used anymore in 2016.
And correct: If I force CURL to use TLS1.2 it started to work.A fast solution:
Add
curl_setopt($ch, CURLOPT_SSLVERSION,6);
in line 91 if file/wp-content/plugins/paypal-for-woocommerce/classes/lib/PayPal/Core/PayPalHttpConnection.php
That solution will work depending on your server software stack versions. Here is more details on the POODLE vulnerability: https://www.angelleye.com/paypal-ssl-error-poodle-vulnerability/
Hi AngellEye,
I have now activated logging. That’s the result:
03-17-2016 @ 22:41:35 –
03-17-2016 @ 22:41:49 –
03-17-2016 @ 22:42:07 –
03-17-2016 @ 22:42:52 –
03-17-2016 @ 22:54:54 – {“error”:”invalid_client”,”error_description”:”Client Authentication failed”}
03-17-2016 @ 22:55:10 – {“error”:”invalid_client”,”error_description”:”Client Authentication failed”}
03-17-2016 @ 22:56:26 – {“error”:”invalid_client”,”error_description”:”Client Authentication failed”}
03-17-2016 @ 22:56:41 – {“error”:”invalid_client”,”error_description”:”Client Authentication failed”}
03-29-2016 @ 10:28:04 – {“error”:”invalid_client”,”error_description”:”Client Authentication failed”}Thank you for your help.
Another question: Does PayPal transmit the invoice ID, so I we have the invoice linked with the invoice ID for accounting?
Those errors mean that your API credentials must be incorrect. Please double check those and make sure you have them entered into the correct fields (sandbox vs. live). Also, make sure you have a live app ID that has been approved by PayPal for PayPal Plus.
Yes, it will send the invoice ID to PayPal so you can relate the orders to WooCommerce accordingly.
Hallo Angelleye,
I talked to PayPal and now inserted the correct API credentials.
This time the log file is simply empty:04-01-2016 @ 22:30:27 –
But the error message: ERROR PROCESSING CHECKOUT. PLEASE TRY AGAIN.
Is still coming up when I try to go to the checkout.Do you have any idea what still can be wrong?
Thank you,
DanielAre you hitting the sandbox or the live server? Can you verify what version of PHP you’re running on your server?
Hi Angelleye,
Thanks for the hint. Now I hit the live server. But there is still an error. On the checkout page it says: Zugriff nicht erlaubt and won’t load the payment options. See the log file and screenshot. PayPal confirmend that everything is fine with their settings.
Here is the link for the screenshot: https://buah.de/wp-content/uploads/2016/04/paypal-plus_zugriff-nicht-erlaubt.png
And here the log-data:
`04-04-2016 @ 07:32:06 – PayPal\Api\Payment Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[redirect_urls] => PayPal\Api\RedirectUrls Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[return_url] => https://buah.de/?wc-api=WC_Gateway_PayPal_Plus_AngellEYE
[cancel_url] => https://buah.de
))
[intent] => sale
[payer] => PayPal\Api\Payer Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[payment_method] => paypal
))
[transactions] => Array
(
[0] => PayPal\Api\Transaction Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[amount] => PayPal\Api\Amount Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[total] => 0.05
[currency] => EUR
[details] => PayPal\Api\Details Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[subtotal] => 0.05
[tax] => 0.00
[shipping] => 0.00
))
)
)
[description] =>
[item_list] => PayPal\Api\ItemList Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[items] => Array
(
[0] => PayPal\Api\Item Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[name] => Buah Schokolade mit Superfoods – Sorte: wei?e Schokolade mit Sonnenschein[price] => 4.58
[currency] => EUR
[quantity] => 1
))
[1] => PayPal\Api\Item Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[name] => Cart Discount
[price] => -4.53
[currency] => EUR
[quantity] => 1
))
)
)
)
[related_resources] => Array
(
))
)
)
[id] => PAY-6MS53517W48892902K4BBQ5I
[state] => created
[create_time] => 2016-04-04T07:32:05Z
[links] => Array
(
[0] => PayPal\Api\Links Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[href] => https://api.paypal.com/v1/payments/payment/PAY-6MS53517W48892902K4BBQ5I
[rel] => self
[method] => GET
))
[1] => PayPal\Api\Links Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[href] => https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-3SC25026DN772400V
[rel] => approval_url
[method] => REDIRECT
))
[2] => PayPal\Api\Links Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[href] => https://api.paypal.com/v1/payments/payment/PAY-6MS53517W48892902K4BBQ5I/execute
[rel] => execute
[method] => POST
))
)
)
)
04-04-2016 @ 07:33:36 – PayPal\Api\Payment Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[redirect_urls] => PayPal\Api\RedirectUrls Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[return_url] => https://buah.de/?wc-api=WC_Gateway_PayPal_Plus_AngellEYE
[cancel_url] => https://buah.de
))
[intent] => sale
[payer] => PayPal\Api\Payer Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[payment_method] => paypal
))
[transactions] => Array
(
[0] => PayPal\Api\Transaction Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[amount] => PayPal\Api\Amount Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[total] => 0.05
[currency] => EUR
[details] => PayPal\Api\Details Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[subtotal] => 0.05
[tax] => 0.00
[shipping] => 0.00
))
)
)
[description] =>
[item_list] => PayPal\Api\ItemList Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[items] => Array
(
[0] => PayPal\Api\Item Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[name] => Buah Schokolade mit Superfoods – Sorte: wei?e Schokolade mit Sonnenschein[price] => 4.58
[currency] => EUR
[quantity] => 1
))
[1] => PayPal\Api\Item Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[name] => Cart Discount
[price] => -4.53
[currency] => EUR
[quantity] => 1
))
)
)
)
[related_resources] => Array
(
))
)
)
[id] => PAY-5MK29985GV911330KK4BBRUA
[state] => created
[create_time] => 2016-04-04T07:33:36Z
[links] => Array
(
[0] => PayPal\Api\Links Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[href] => https://api.paypal.com/v1/payments/payment/PAY-5MK29985GV911330KK4BBRUA
[rel] => self
[method] => GET
))
[1] => PayPal\Api\Links Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[href] => https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-7Y660594W6793991B
[rel] => approval_url
[method] => REDIRECT
))
[2] => PayPal\Api\Links Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[href] => https://api.paypal.com/v1/payments/payment/PAY-5MK29985GV911330KK4BBRUA/execute
[rel] => execute
[method] => POST
))
)
)
)
04-04-2016 @ 07:35:38 – PayPal\Api\Payment Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[redirect_urls] => PayPal\Api\RedirectUrls Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[return_url] => https://buah.de/?wc-api=WC_Gateway_PayPal_Plus_AngellEYE
[cancel_url] => https://buah.de
))
[intent] => sale
[payer] => PayPal\Api\Payer Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[payment_method] => paypal
))
[transactions] => Array
(
[0] => PayPal\Api\Transaction Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[amount] => PayPal\Api\Amount Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[total] => 0.05
[currency] => EUR
[details] => PayPal\Api\Details Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[subtotal] => 0.05
[tax] => 0.00
[shipping] => 0.00
))
)
)
[description] =>
[item_list] => PayPal\Api\ItemList Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[items] => Array
(
[0] => PayPal\Api\Item Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[name] => Buah Schokolade mit Superfoods – Sorte: wei?e Schokolade mit Sonnenschein[price] => 4.58
[currency] => EUR
[quantity] => 1
))
[1] => PayPal\Api\Item Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[name] => Cart Discount
[price] => -4.53
[currency] => EUR
[quantity] => 1
))
)
)
)
[related_resources] => Array
(
))
)
)
[id] => PAY-596828848Y206953YK4BBSSQ
[state] => created
[create_time] => 2016-04-04T07:35:38Z
[links] => Array
(
[0] => PayPal\Api\Links Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[href] => https://api.paypal.com/v1/payments/payment/PAY-596828848Y206953YK4BBSSQ
[rel] => self
[method] => GET
))
[1] => PayPal\Api\Links Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[href] => https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-38W11283P5838381V
[rel] => approval_url
[method] => REDIRECT
))
[2] => PayPal\Api\Links Object
(
[_propMap:PayPal\Common\PayPalModel:private] => Array
(
[href] => https://api.paypal.com/v1/payments/payment/PAY-596828848Y206953YK4BBSSQ/execute
[rel] => execute
[method] => POST
))
)
)
)
Thank you very much for your help! Daniel
- The topic ‘Special server requirements for PayPal Plus?’ is closed to new replies.