Paypal Pro Failed to connect

  • Posts: 14
  • Thank you received: 0
9 years 1 month ago #216206

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.15
-- Error-message(debug-mod must be tuned on) -- : An error occurred. The connection to the PayPal Pro server could not be established: Failed to connect to api-3t.sandbox.paypal.com port 443: Network unreachable

I'm trying to test my web shop with paypal pro credit card but unfortunately i keep getting an error

An error occurred. The connection to the PayPal Pro server could not be established: Failed to connect to api-3t.sandbox.paypal.com port 443: Network unreachable


It was working fine few days ago and now all of a sudden i'm getting this error. I haven't made any changes in the files.

I checked with latest version of hikashop -- HikaShop version -- : 2.6.0 in that also i'm getting the same error.

Please can you help me with this.

Thank you.

Last edit: 9 years 1 month ago by blacknine.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
9 years 1 month ago #216209

Hi,

Did your hosting changed something maybe ? Like the possibility to make outgoing connections from your server ? Or maybe they changed something with the cURL library (which is used to establish connections with external services like PayPal Pro) ?

Otherwise, what you can try to do is the change the code:
curl_setopt($session, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($session, CURLOPT_SSL_VERIFYHOST, false);

to:
curl_setopt($session, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($session, CURLOPT_SSL_VERIFYHOST, 2);
in the file plugins/hikashoppayment/paypalpro/paypalpro.php and see if that helps.
If that doesn't, I guess you'll have to see that with your hosting company.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
9 years 1 month ago #216303

Thanks Nicolas for replying back.

Yeah it is not working in my localhost, but when i checked it on host server no problem there.

I've one more query in my webshop there are products which don't have prices, but for displaying add to cart button i've given them price 0.00001$

Now the problem is everything works fine but as soon as i try to do checkout using paypal pro credit card payment method it gives me error

Error 10413: The totals of the cart item amounts do not match order amounts.


Please can you help resolving this issue.

It is working fine with paypal payment method.

Thanks again for all your help.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
9 years 1 month ago #216309

Hi,

You should keep the product price to 0. To get the add to cart button for these products, it's simple. Just turn on the "Display add to cart button for free products" in the HikaShop configuration.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
9 years 1 month ago #216440

Hi Nicolas,

I made the changes as you told me to do, i changed the price of the product to 0 and then in the configuration enabled the "Display add to cart button for free products" but then also i'm getting the same error when tried checkout using paypal pro credit card payment method

Error 10413: The totals of the cart item amounts do not match order amounts.

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
9 years 1 month ago #216475

Hi,

You should not see any payment methods selection if the total amount of the order is zero.
So what you're describing is not possible, unless you have other fees on your order that you didn't talk about.

Please provide some screenshots of your checkout so that we can see what you're doing exactly.

Also, a simple solution is to not send the details of the order to PayPal (there is a setting for that if you edit the payment method).

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
9 years 1 month ago #216546

Hi Nicolas,

Yes you are right, i'm sorry i forgot to mention shipping price is getting applied.
I've attached few screenshots for your reference.

I'm using HikaShop version -- : 2.3.5 in which i can't find option of "Send order details to paypal" in Paypal pro payment method.
Is it possible to upgrade only paypal pro payment method because i've made a lot of tweaks and changes in hikashop, so upgrading the whole package will result in extra work which is not possible for me to do now.

Please could you kindly advise me.

Thank you.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
9 years 1 month ago #216574

Hi,

Yes, you can upgrade just the plugin.
Download the latest version install package on our website, extract it on your website and go in the folder back/extensions/plg_hikashoppayment_paypalpro and zip the files in that folder.
Then, install that zip on your website and it will update just PayPal Pro and you should then get that new option.

Please Log in or Create an account to join the conversation.

  • Posts: 63
  • Thank you received: 3
8 years 11 months ago #222854

We are having the same issue, perhaps because we have one free product?

Where do I download the latest version of Paypal Pro?

How can I pay someone to get help with our shopping cart?

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
8 years 11 months ago #222857

Hi,

Download the install package on our website. In the folder back/extensions/plg_hikashoppayment/paypalpro of the install package you'll have the files of the PayPal Pro plugin that you can zip and then install that zip in your website to update just that plugin to the latest version.

Please Log in or Create an account to join the conversation.

  • Posts: 63
  • Thank you received: 3
8 years 11 months ago #222990

If I have the latest version of Hikashop, should I not also have the latest version of Paypal Pro automatically?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 11 months ago #223021

Hi,

HikaShop install/update automatically his plugins during his install/update.
And because the plugin "paypal pro" is in the HikaShop package ; it should be up to date yes.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum