gitcoinco / web

Grow Open Source
https://gitcoin.co
Other
1.78k stars 773 forks source link

Wallet app browser use zkSync checkout error #10754

Open buynao opened 2 years ago

buynao commented 2 years ago

Overview When I'm in the browser of some wallet apps, I can't use zkSync checkout

Steps To Reproduce Steps to reproduce the behavior:

  1. Open any of the wallet apps(imToken,metamask), using their built-in (DApp) browser
  2. Open gitcoin.co, login, select the project and use zkSync to checkout
  3. In the pay with zksync pop-up, click proceed
  4. At this time, some unusual behavior appears

Observed behavior In the case of iOS, a pop-up message [Filed to open zkSync page] will appear and the page will start jumping, but there is no billing information for the payment In the case of the android system, the page will also start to jump, but there will still be no billing information for the payment

Expected behavior No errors should be reported and the full billing information should be displayed on the new page of the payment。 Using zkSync to checkout within the APP should behave the same as in a mobile or PC browser

Screenshots

image

image

Additional context

App: imToken 2.10.4,metamask 5.4.0 OS:ios13.5, android 10 Browser: App browser

buynao commented 2 years ago

When gitcoin makes a zkSync payment, it launches a new page to complete the payment.

The reason for the iOS error being reported is that the handle was lost when fetching the reference to the payment page that had just been opened and was not fetched, so the error is displayed.

However, this does not affect the display of the payment page. As to why the payment page is not displaying the normal billing information, I need your help in troubleshooting and hopefully a solution, thanks~.

image