Not forwarding to payment
-
Hi, we set all API credentials and webhooks. And its connected well.
On checkout, we click Paypal payment and the paypal button it shows for a second the paypal loader and gone with following error message: Cannot read properties of undefined (reading ‘then’)
{ "err": "TypeError: Cannot read properties of undefined (reading 'then')\n at T (https://oleaessencenew.kinsta.cloud/wp-includes/js/dist/api-fetch.min.js?ver=bc0029ca2c943aec5311:2:4613)\n at l (https://oleaessencenew.kinsta.cloud/wp-includes/js/dist/api-fetch.min.js?ver=bc0029ca2c943aec5311:2:2097)\n at https://oleaessencenew.kinsta.cloud/wp-includes/js/dist/api-fetch.min.js?ver=bc0029ca2c943aec5311:2:4851\n at O (https://oleaessencenew.kinsta.cloud/wp-includes/js/dist/api-fetch.min.js?ver=bc0029ca2c943aec5311:2:4312)\n at https://oleaessencenew.kinsta.cloud/wp-includes/js/dist/api-fetch.min.js?ver=bc0029ca2c943aec5311:2:4851\n at o (https://oleaessencenew.kinsta.cloud/wp-includes/js/dist/api-fetch.min.js?ver=bc0029ca2c943aec5311:2:695)\n at https://oleaessencenew.kinsta.cloud/wp-includes/js/dist/api-fetch.min.js?ver=bc0029ca2c943aec5311:2:4851\n at O.method.r (https://oleaessencenew.kinsta.cloud/wp-includes/js/dist/api-fetch.min.js?ver=bc0029ca2c943aec5311:2:4136)\n at https://oleaessencenew.kinsta.cloud/wp-includes/js/dist/api-fetch.min.js?ver=bc0029ca2c943aec5311:2:4851\n at https://oleaessencenew.kinsta.cloud/wp-includes/js/dist/api-fetch.min.js?ver=bc0029ca2c943aec5311:2:929\n\nError: Cannot read properties of undefined (reading 'then')\n at qr.error (https://www.paypal.com/sdk/js?client-id=Aasq6JONyKirciVapSoSBOPzSk3oO4ruJQLoMIjf9PvY6n8xJtQKMbi_ADyDurfopaeXxGA3NhzeQWLR&intent=capture&vault=false&commit=true&components=buttons,messages¤cy=ILS&enable-funding=paylater:2:132375)\n at Object.<anonymous> (https://www.paypal.com/sdk/js?client-id=Aasq6JONyKirciVapSoSBOPzSk3oO4ruJQLoMIjf9PvY6n8xJtQKMbi_ADyDurfopaeXxGA3NhzeQWLR&intent=capture&vault=false&commit=true&components=buttons,messages¤cy=ILS&enable-funding=paylater:2:140753)\n at JSON.parse (<anonymous>)\n at o (https://www.paypal.com/sdk/js?client-id=Aasq6JONyKirciVapSoSBOPzSk3oO4ruJQLoMIjf9PvY6n8xJtQKMbi_ADyDurfopaeXxGA3NhzeQWLR&intent=capture&vault=false&commit=true&components=buttons,messages¤cy=ILS&enable-funding=paylater:2:140612)\n at no (https://www.paypal.com/sdk/js?client-id=Aasq6JONyKirciVapSoSBOPzSk3oO4ruJQLoMIjf9PvY6n8xJtQKMbi_ADyDurfopaeXxGA3NhzeQWLR&intent=capture&vault=false&commit=true&components=buttons,messages¤cy=ILS&enable-funding=paylater:2:140765)\n at u.on (https://www.paypal.com/sdk/js?client-id=Aasq6JONyKirciVapSoSBOPzSk3oO4ruJQLoMIjf9PvY6n8xJtQKMbi_ADyDurfopaeXxGA3NhzeQWLR&intent=capture&vault=false&commit=true&components=buttons,messages¤cy=ILS&enable-funding=paylater:2:145334)\n at fo (https://www.paypal.com/sdk/js?client-id=Aasq6JONyKirciVapSoSBOPzSk3oO4ruJQLoMIjf9PvY6n8xJtQKMbi_ADyDurfopaeXxGA3NhzeQWLR&intent=capture&vault=false&commit=true&components=buttons,messages¤cy=ILS&enable-funding=paylater:2:145454)\n at https://www.paypal.com/sdk/js?client-id=Aasq6JONyKirciVapSoSBOPzSk3oO4ruJQLoMIjf9PvY6n8xJtQKMbi_ADyDurfopaeXxGA3NhzeQWLR&intent=capture&vault=false&commit=true&components=buttons,messages¤cy=ILS&enable-funding=paylater:2:151778\n at e.try (https://www.paypal.com/sdk/js?client-id=Aasq6JONyKirciVapSoSBOPzSk3oO4ruJQLoMIjf9PvY6n8xJtQKMbi_ADyDurfopaeXxGA3NhzeQWLR&intent=capture&vault=false&commit=true&components=buttons,messages¤cy=ILS&enable-funding=paylater:2:77073)\n at https://www.paypal.com/sdk/js?client-id=Aasq6JONyKirciVapSoSBOPzSk3oO4ruJQLoMIjf9PvY6n8xJtQKMbi_ADyDurfopaeXxGA3NhzeQWLR&intent=capture&vault=false&commit=true&components=buttons,messages¤cy=ILS&enable-funding=paylater:2:151575", "timestamp": "1675256376228", "referer": "www.paypal.com", "sdkCorrelationID": "f56281726df6a", "sessionID": "uid_6c93a7b287_mti6ntk6mde", "clientID": "Aasq6JONyKirciVapSoSBOPzSk3oO4ruJQLoMIjf9PvY6n8xJtQKMbi_ADyDurfopaeXxGA3NhzeQWLR", "env": "production", "buttonSessionID": "uid_784e3307bd_mti6ntk6mdi", "buttonCorrelationID": "f7233682252f8", "time": "1675256376228", "user_id": "uid_784e3307bd_mti6ntk6mdi", "token": null }
i cant really figure out where is the problem to fix
thank you!
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Not forwarding to payment’ is closed to new replies.