VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: webmasto on September 09, 2020, 19:06:45 PM

Title: Hi I have problems with the post pay payment
Post by: webmasto on September 09, 2020, 19:06:45 PM
Hi I have problems with the post pay payment.I don't know how to do it, it is possible to have some help, thanks

Errore
10002: Security header is not valid
×
Avviso
An error occurred. The payment has not validated. Please choose another payment

PayPal SetExpressCheckout Request variables::
Array
(
        [METHOD]   ⇒   SetExpressCheckout
        [version]   ⇒   116.0
        [USER]   ⇒   caiazzo_api1.inwind.it
        [PWD]   ⇒   **MASKED**
        [BUTTONSOURCE]   ⇒   VirtueMart_Cart_PPA
        [SIGNATURE]   ⇒   **MASKED**
        [CURRENCYCODE]   ⇒   EUR
        [IPADDRESS]   ⇒   37.119.234.249
        [PAYMENTREQUEST_0_CURRENCYCODE]   ⇒   EUR
        [RETURNURL]   ⇒   https://www.staysafemanipulite.com/vetrina/index.php?option=com_virtuemart&view=cart&task=setpayment&expresscheckout=done&virtuemart_paymentmethod_id=3&Itemid=119&lang=
        [CANCELURL]   ⇒   https://www.staysafemanipulite.com/vetrina/index.php?option=com_virtuemart&view=cart&expresscheckout=cancel&Itemid=119&lang=
        [ADDROVERRIDE]   ⇒   0
        [NOSHIPPING]   ⇒   0
        [MAXAMT]   ⇒   200
        [LOGOIMG]   ⇒   https://www.staysafemanipulite.com/vetrina/images/virtuemart/vendor/logopiccolo9.jpg
        [LOCALECODE]   ⇒   GB
        [PAYMENTREQUEST_0_PAYMENTACTION]   ⇒   Sale
        [PAYMENTREQUEST_0_AMT]   ⇒   6.1
)

PayPal response::
Array
(
        [TIMESTAMP]   ⇒   2020-09-09T16:54:27Z
        [CORRELATIONID]   ⇒   11b777af874b0
        [ACK]   ⇒   Failure
        [VERSION]   ⇒   116.0
        [BUILD]   ⇒   54871143
        [L_ERRORCODE0]   ⇒   10002
        [L_SHORTMESSAGE0]   ⇒   Security   error
        [L_LONGMESSAGE0]   ⇒   Security   header   is   not   valid
        [L_SEVERITYCODE0]   ⇒   Error
        [custom]   ⇒   e43359a22231e0167d87a84e6607841e
        [method]   ⇒   SetExpressCheckout
)

handleResponse::
Array
(
        [TIMESTAMP]   ⇒   2020-09-09T16:54:27Z
        [CORRELATIONID]   ⇒   11b777af874b0
        [ACK]   ⇒   Failure
        [VERSION]   ⇒   116.0
        [BUILD]   ⇒   54871143
        [L_ERRORCODE0]   ⇒   10002
        [L_SHORTMESSAGE0]   ⇒   Security   error
        [L_LONGMESSAGE0]   ⇒   Security   header   is   not   valid
        [L_SEVERITYCODE0]   ⇒   Error
        [custom]   ⇒   e43359a22231e0167d87a84e6607841e
        [method]   ⇒   SetExpressCheckout
)
Title: Re: Hi I have problems with the post pay payment
Post by: pinochico on September 09, 2020, 19:13:11 PM
HTTPS certificate quality problem?

And what answered Paypal on your question?
I think first question you send on Paypal, isn't it?
Title: Re: Hi I have problems with the post pay payment
Post by: webmasto on September 09, 2020, 19:34:37 PM
The certificate is active
Title: Re: Hi I have problems with the post pay payment
Post by: Jumbo! on September 09, 2020, 19:35:02 PM
You need to upgrade your SSL certificate. It must support TLS 1.3. See - https://www.cdn77.com/tls-test?domain=www.staysafemanipulite.com
Title: Re: Hi I have problems with the post pay payment
Post by: webmasto on September 09, 2020, 19:38:34 PM
I created a second folder on the main server to be able to test the program.It is: https://www.staysafemanipulite.com/vetrina/index.php/cart
Title: Re: Hi I have problems with the post pay payment
Post by: webmasto on September 09, 2020, 20:42:31 PM
The TLS 1.2 protocol is installed on my server :'(
Title: Re: Hi I have problems with the post pay payment
Post by: Jörgen on September 10, 2020, 01:19:24 AM
As jumbo Said, you need tls 1.3

Jörgen @ Kreativ Fotografi
Title: Re: Hi I have problems with the post pay payment
Post by: GJC Web Design on September 10, 2020, 15:04:40 PM
No expert on this dull subject but my server with many VM sites using paypal hasn't got 1.3..  :(

Is it certain that it is a requirement?
Title: Re: Hi I have problems with the post pay payment
Post by: Jörgen on September 10, 2020, 15:20:15 PM
I guess You are right GJC,
https://developer.paypal.com/docs/api/info-security-guidelines/ (https://developer.paypal.com/docs/api/info-security-guidelines/)

Tls 1.2 or higher. Back to square one.

Jörgen