Hello everyone,
We are experiencing an issue with our Apple Pay integration on a Magento 2 store using the Rootways Authorize.net module. Standard Credit Card and Google Pay transactions are processing without issue, but Apple Pay transactions are failing immediately after user authentication.
Issue Description
The Apple Pay payment sheet opens correctly, and the customer is prompted for biometric verification. Immediately after completing the biometric verification, the UI spins briefly and then states that the payment failed.
Technical Details & Console Logs
Reviewing the browser developer console during the failure reveals the following sequence:
Merchant Validation Success: The rw_onvalidatemerchant function executes successfully. The promise returns as "fulfilled" and generates the proper payload, including the merchantSessionIdentifier, nonce, and signature for our domain (2b5eae029c.nxcli.io).
Cancel Event Triggered: Shortly after successful validation, an ApplePayCancelEvent is thrown while a promise is still "pending".
Unknown Session Error: Within this cancel event, the sessionError returns a code of "unknown" with an empty info: {} object.
Context Error: We are also seeing a strict mode JavaScript error in the object prototype reading: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.
Environment details:
Platform: Magento 2
Payment Module: Rootways Authorize.net
Domain: 2b5eae029c.nxcli.io
Has anyone encountered this specific sequence of events or seen this strict mode JS error trigger an ApplePayCancelEvent? Any guidance on why the session triggers a cancel event post-verification—or suggestions on how to further debug this "unknown" session error—would be greatly appreciated.
Thank you!
0
0
18