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
Have You updated Virtuemart AIO ?
Jörgen @ Kreativ Fotografi
Hello Jörgen, Thank you for replying to me.
I've updated it after your question but before you ask NO.
Have You emtied cache and seen any difference ?
Jörgen @ Kreativ Fotografi
I cleared cache but there is no difference
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:
Incorrect credentials for PayPal express ?
Jörgen @ Kreativ Fotografi
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).
**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
Nice to hear that it has worked out for You :)
Jörgen @ Kreativ Fotografi