Skip to main content
edited title
Link
Alex
  • 14k
  • 19
  • 83
  • 167

How to fix "ThreeDomainSecure is not a function" during PayPal Credit Card Payment?

added 186 characters in body
Source Link
Alex
  • 14k
  • 19
  • 83
  • 167

We using the standard Magento 2 PayPal integration.

On the production site of our customer, we get an Javascript error "window.paypal.ThreeDomainSecure is not a function", and payment cannot continue.

This happens when trying to place an order with the inline VISA form on the Checkout (not when using an existing paypal account).

It also happens only on production, so we cannot reproduce that locally yet with the sandbox account.

We cannot find this line of code in the Magento code, so we believe the error comes from the components loaded from PayPal

Did anybody see this issue before and knows a solution or how to narrow it down?

Is it likely to be related to the PayPal account or a technical issue?

A bit debugging:

error message

Somhow the module seems to be there? but cannot be accessed

window.paypal

It seems to come all from PayPal? So no Magento issue? Can it be due to some server config?

script source

error message

window.paypal.ThreeDomainSecure
undefined

EDIT is it maybe related to CSP blocks? Can I even influence that? The checkout.js mentioned is also loaded from PayPal.

CSPerrors

EDIT it seems to be related to the PayPal account, as we cannot reproduce it with a sandbox account. There is a PayPal support case open, still we try to rule out issues on our side.

We using the standard Magento 2 PayPal integration.

On the production site of our customer, we get an Javascript error "window.paypal.ThreeDomainSecure is not a function", and payment cannot continue.

This happens when trying to place an order with the inline VISA form on the Checkout (not when using an existing paypal account).

It also happens only on production, so we cannot reproduce that locally yet with the sandbox account.

We cannot find this line of code in the Magento code, so we believe the error comes from the components loaded from PayPal

Did anybody see this issue before and knows a solution or how to narrow it down?

Is it likely to be related to the PayPal account or a technical issue?

A bit debugging:

error message

Somhow the module seems to be there? but cannot be accessed

window.paypal

It seems to come all from PayPal? So no Magento issue? Can it be due to some server config?

script source

error message

window.paypal.ThreeDomainSecure
undefined

EDIT is it maybe related to CSP blocks? Can I even influence that? The checkout.js mentioned is also loaded from PayPal.

CSPerrors

We using the standard Magento 2 PayPal integration.

On the production site of our customer, we get an Javascript error "window.paypal.ThreeDomainSecure is not a function", and payment cannot continue.

This happens when trying to place an order with the inline VISA form on the Checkout (not when using an existing paypal account).

It also happens only on production, so we cannot reproduce that locally yet with the sandbox account.

We cannot find this line of code in the Magento code, so we believe the error comes from the components loaded from PayPal

Did anybody see this issue before and knows a solution or how to narrow it down?

Is it likely to be related to the PayPal account or a technical issue?

A bit debugging:

error message

Somhow the module seems to be there? but cannot be accessed

window.paypal

It seems to come all from PayPal? So no Magento issue? Can it be due to some server config?

script source

error message

window.paypal.ThreeDomainSecure
undefined

EDIT is it maybe related to CSP blocks? Can I even influence that? The checkout.js mentioned is also loaded from PayPal.

CSPerrors

EDIT it seems to be related to the PayPal account, as we cannot reproduce it with a sandbox account. There is a PayPal support case open, still we try to rule out issues on our side.

added 194 characters in body
Source Link
Alex
  • 14k
  • 19
  • 83
  • 167

We using the standard Magento 2 PayPal integration.

On the production site of our customer, we get an Javascript error "window.paypal.ThreeDomainSecure is not a function", and payment cannot continue.

This happens when trying to place an order with the inline VISA form on the Checkout (not when using an existing paypal account).

It also happens only on production, so we cannot reproduce that locally yet with the sandbox account.

We cannot find this line of code in the Magento code, so we believe the error comes from the components loaded from PayPal

Did anybody see this issue before and knows a solution or how to narrow it down?

Is it likely to be related to the PayPal account or a technical issue?

A bit debugging:

error message

Somhow the module seems to be there? but cannot be accessed

window.paypal

It seems to come all from PayPal? So no Magento issue? Can it be due to some server config?

script source

error message

window.paypal.ThreeDomainSecure
undefined

EDIT is it maybe related to CSP blocks? Can I even influence that? The checkout.js mentioned is also loaded from PayPal.

CSPerrors

We using the standard Magento 2 PayPal integration.

On the production site of our customer, we get an Javascript error "window.paypal.ThreeDomainSecure is not a function", and payment cannot continue.

This happens when trying to place an order with the inline VISA form on the Checkout (not when using an existing paypal account).

It also happens only on production, so we cannot reproduce that locally yet with the sandbox account.

We cannot find this line of code in the Magento code, so we believe the error comes from the components loaded from PayPal

Did anybody see this issue before and knows a solution or how to narrow it down?

Is it likely to be related to the PayPal account or a technical issue?

A bit debugging:

error message

Somhow the module seems to be there? but cannot be accessed

window.paypal

It seems to come all from PayPal? So no Magento issue? Can it be due to some server config?

script source

error message

window.paypal.ThreeDomainSecure
undefined

We using the standard Magento 2 PayPal integration.

On the production site of our customer, we get an Javascript error "window.paypal.ThreeDomainSecure is not a function", and payment cannot continue.

This happens when trying to place an order with the inline VISA form on the Checkout (not when using an existing paypal account).

It also happens only on production, so we cannot reproduce that locally yet with the sandbox account.

We cannot find this line of code in the Magento code, so we believe the error comes from the components loaded from PayPal

Did anybody see this issue before and knows a solution or how to narrow it down?

Is it likely to be related to the PayPal account or a technical issue?

A bit debugging:

error message

Somhow the module seems to be there? but cannot be accessed

window.paypal

It seems to come all from PayPal? So no Magento issue? Can it be due to some server config?

script source

error message

window.paypal.ThreeDomainSecure
undefined

EDIT is it maybe related to CSP blocks? Can I even influence that? The checkout.js mentioned is also loaded from PayPal.

CSPerrors

added 49 characters in body
Source Link
Alex
  • 14k
  • 19
  • 83
  • 167
Loading
added 471 characters in body
Source Link
Alex
  • 14k
  • 19
  • 83
  • 167
Loading
added 105 characters in body
Source Link
Alex
  • 14k
  • 19
  • 83
  • 167
Loading
Source Link
Alex
  • 14k
  • 19
  • 83
  • 167
Loading