VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: titolin10 on April 11, 2020, 21:49:03 PM

Title: [SOLVED] "Security header is not valid" After setting up multilingual shop
Post by: titolin10 on April 11, 2020, 21:49:03 PM
Hello, my friends.

1- Today I finished setting up multilingual but unfortunately, the Paypal express payment is giving this error when trying to confirm and checkout.

Error
vmError: 10002: Security header is not valid

Notice: Undefined property: VirtueMartCart::$inConfirm in
plugins/vmpayment/paypal/paypal.php on line 1403

2- Also, I can't find a solution to this warning!
Warning
Assign the component VirtueMart to a menu item

I set "hundreds" of menu items in different ways even in hidden menus, public menus, menu type category layout, and front-page layout but not solved

J3.9.16
VM3.6.10
PHP7.3

Your help is highly appreciated
Title: Re: "Security header is not valid" After setting up multilingual shop
Post by: GJC Web Design on April 11, 2020, 22:33:21 PM
error 1.  comes from paypal

Re: ErrorCode 10002, Security Header is not valid.
The "10002" API response means that there is an issue with the API credentials you have provided. Check the credentials that you've entered, ensure that there are no "white spaces" at the start or the end of the credentials.

error 2

make a menu to the VM root category

Title: Re: "Security header is not valid" After setting up multilingual shop
Post by: titolin10 on April 13, 2020, 16:21:03 PM
Hello GJC,

Thank you for your response


1- first issue solved.. by mistake, the payment form captures the account password from autofill function in the browser then I saved it as the credential password.

2- The second issue is not solved even by applying your recommendation. I think this error message has a relation with this issue reported here
http://forum.virtuemart.net/index.php?topic=143968.0

It solved partially after applying the patch from Milbo but the Warning of Assign the component VirtueMart to a menu item still appears on forgot password page in addition to billing information page.

I would prefer to consider the issue reported in this post as solved. for the error message, I will try to apply more solutions as mentioned in the fours and if still not solved I will open another thread for it.

Thank you GJC