News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[SOLVED] PayPal express checkout vmError: Unexpected ACK type

Started by titolin10, April 08, 2020, 21:23:38 PM

Previous topic - Next topic

titolin10

Hello everyone,

Back again with this issue that I found when I activated Paypal express checkout.

When I click on view cart or I navigate from menu link to cart I get the error.

The same when I try to click on the "Check Out Now" button.

Your help is highly appreciated.

VM3.6.10
J3.9.16

Regards



Error
vmError: Unexpected ACK type:

Notice: Undefined index: ACK in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypal.php on line 241

Notice: Undefined index: ACK in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 697

Notice: Undefined index: ACK in /home/user/domain-nameplugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 697

Notice: Undefined index: ACK in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 716

Notice: Undefined index: ACK in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 716

Notice: Undefined index: TRANSACTIONID in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 716

Notice: Undefined index: PAYMENTINFO_0_TRANSACTIONID in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 716

Notice: Undefined index: ACK in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 723

Notice: Undefined property: VirtueMartCart::$inConfirm in /home/user/domain-name/plugins/vmpayment/paypal/paypal.php on line 1403

Notice: Undefined index: ACK in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypal.php on line 241

Notice: Undefined index: ACK in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 697

Notice: Undefined index: ACK in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 697

Notice: Undefined index: ACK in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 716

Notice: Undefined index: ACK in /home/user/domain-nameplugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 716

Notice: Undefined index: TRANSACTIONID in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 716

Notice: Undefined index: PAYMENTINFO_0_TRANSACTIONID in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 716

Notice: Undefined index: ACK in /home/user/domain-name/plugins/vmpayment/paypal/paypal/helpers/paypalexp.php on line 723

Jörgen

Have You updated Virtuemart AIO ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

titolin10

Hello Jörgen, Thank you for replying to me.


I've updated it after your question but before you ask NO.

Jörgen

Have You emtied cache and seen any difference ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

titolin10


titolin10

#5
I would mention that I'm testing using a sandbox. When clicking on checkout button it takes too long time sending request then it returns the error
vmError: Unexpected ACK type:

in my email inbox I get this message

Hello,

An error with your payment method paypal on your store . The details are logged in the file paypal.3.log.php

. The VirtueMart Team


When I check user/domain-name/administrator/logs


I find the file aypal.3.log.php  contains these lines of errors

Quote#<?php die("Forbidden."); ?>

2020-04-08 18:19:08 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 18:19:08 ERROR vmError: Unexpected ACK type:
2020-04-08 18:19:08 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 18:19:08 ERROR vmError: Unexpected ACK type:
2020-04-08 18:22:04 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 18:22:04 ERROR vmError: Unexpected ACK type:
2020-04-08 18:22:04 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 18:22:04 ERROR vmError: Unexpected ACK type:
2020-04-08 18:25:34 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 18:25:34 ERROR vmError: Unexpected ACK type:
2020-04-08 18:25:34 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 18:25:34 ERROR vmError: Unexpected ACK type:
2020-04-08 18:29:08 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 18:29:08 ERROR vmError: Unexpected ACK type:
2020-04-08 18:29:08 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 18:29:08 ERROR vmError: Unexpected ACK type:
2020-04-08 18:49:31 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 18:49:31 ERROR vmError: Unexpected ACK type:
2020-04-08 18:55:41 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 18:55:41 ERROR vmError: Unexpected ACK type:
2020-04-08 18:55:41 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 18:55:41 ERROR vmError: Unexpected ACK type:
2020-04-08 19:00:31 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 19:00:31 ERROR vmError: Unexpected ACK type:
2020-04-08 19:00:31 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 19:00:31 ERROR vmError: Unexpected ACK type:
2020-04-08 19:15:33 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 19:15:33 ERROR vmError: Unexpected ACK type:
2020-04-08 19:15:33 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-08 19:15:33 ERROR vmError: Unexpected ACK type:
2020-04-09 15:14:14 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-09 15:14:14 ERROR vmError: Unexpected ACK type:
2020-04-09 15:14:14 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-09 15:14:14 ERROR vmError: Unexpected ACK type:
2020-04-09 16:09:58 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-09 16:09:58 ERROR vmError: Unexpected ACK type:
2020-04-09 16:09:58 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-09 16:09:58 ERROR vmError: Unexpected ACK type:
2020-04-09 16:09:58 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-09 16:09:58 ERROR vmError: Unexpected ACK type:
2020-04-09 16:09:58 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-09 16:09:58 ERROR vmError: Unexpected ACK type:
2020-04-09 16:11:18 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-09 16:11:18 ERROR vmError: Unexpected ACK type:
2020-04-09 16:11:18 ERROR ----CURL ERROR----: unable to set private key file: '/home/user/domain-name/administrator/components/com_virtuemart/Bp3auiXsYJ4FdiDTTCh0W/paypal/api.sandbox.paypal.com_DigicertG2_08202020.pem' type PEM
2020-04-09 16:11:18 ERROR vmError: Unexpected ACK type:

Jörgen

Incorrect credentials for PayPal express ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

titolin10



I used my default sandbox business account to test with certificate that I downloaded from one of the paypal pages and immediately I uploaded the certificate to the safe path in VirtueMart and selected it from the payment configuration page. (I hope I didn't miss anything else to install the certificate).

titolin10

**Update

Just right now the issue solved after rechecking the credentials again (Thanks Jörgen)

For reference for other people who may search for the same error message:

When you use PayPal sandbox don't use account name as a user name (This was my mistake)

The sandbox account name is like an email address - don't use it as a username in payment configuration. instead, use the username with the password that you'll get in the "API Credentials" tab.

I don't know how I did it wrong maybe I was sleepy hahaha!

Thanks for the help Jörgen  :D

Jörgen

Nice to hear that it has worked out for You :)

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.