Cash App and After Pay are not working on Magento 2

Hello,

I have installed SquareUp version 1.16.2 for my Magento 2.4.6p3 store.

I enabled 2 payment methods Cash App and After Pay, but none of them work.

The first, Cash App, does not show anything, it only says that an error occurred (There was an error processing your payment), and through the console it returns:

> false

The second, After Pay, does not show any visible error as an alert, but through the console it returns:

> Catch on handleSubmit
> square.js:1 TypeError: Cannot read properties of undefined (reading 'tokenize')
>      at UiClass.handleSubmit (square.js:583:58)
>      at UiClass.requestCardNonce (square.js:549:37)
>      at UiClass.placeOrderClick (square.js:522:45)
>      at HTMLButtonElement.<anonymous> (knockout.js:4669:74)
>      at HTMLButtonElement.dispatch (jquery.js:5430:49)
>      at elemData.handle (jquery.js:5234:47)
>      at HTMLButtonElement.n (square.js:1:76713)

It doesn’t seem to be a configuration problem for me since Google Pay works correctly.

Please, I await your response to validate these errors.

Thanks in advance.

Since this is with the Magento integration have you reached out to there support team about this? :slightly_smiling_face:

1 Like