# Cash App and After Pay are not working on Magento 2

**URL:** <https://developer.squareup.com/forums/t/cash-app-and-after-pay-are-not-working-on-magento-2/12715>\
**Category:** Questions\
**Tags:** payments-api, sandbox, web-payments-sdk\
**Created:** [February 21, 2024, 9:28pm UTC](https://developer.squareup.com/forums/t/cash-app-and-after-pay-are-not-working-on-magento-2/12715 "2024-02-21T21:28:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbmedical](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@sbmedical](https://developer.squareup.com/forums/u/sbmedical)\
**Post date:** [February 21, 2024, 9:28pm UTC](https://developer.squareup.com/forums/t/cash-app-and-after-pay-are-not-working-on-magento-2/12715/1 "2024-02-21T21:28:01Z")

</div>

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:

```auto
> 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.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [February 21, 2024, 9:45pm UTC](https://developer.squareup.com/forums/t/cash-app-and-after-pay-are-not-working-on-magento-2/12715/2 "2024-02-21T21:45:56Z")

</div>

Since this is with the Magento integration have you reached out to there [support team](https://commercemarketplace.adobe.com/square-module-squareup-omni.html#product.info.details.support:~:text=Seller%20contact-,E%2Dmail,-Integrator) about this? 🙂
