<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>271701</bug_id>
          
          <creation_ts>2024-03-26 03:58:30 -0700</creation_ts>
          <short_desc>REGRESSION: Apple Pay banner fails to render when opening AR QuickLook with USDZ blob</short_desc>
          <delta_ts>2025-02-18 10:14:29 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>Safari 18</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 18</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Miles">mail</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>a_protyasha</cc>
    
    <cc>eddy_wong</cc>
    
    <cc>felix.herbst</cc>
    
    <cc>heycam</cc>
    
    <cc>mail</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2023892</commentid>
    <comment_count>0</comment_count>
    <who name="Miles">mail</who>
    <bug_when>2024-03-26 03:58:30 -0700</bug_when>
    <thetext>In iOS 17.4.1, when opening a USDZ blob to view in AR QuickLook, and passing in Apple Pay # params, such as applePayButtonType / checkoutTitle / checkoutSubtitle / price, the Apple Pay banner is not rendered. 

In previous versions of iOS, this used to be possible. 

Also, when opening USDZ blob, it is still possible to use other # params such as allowsContentScaling / canonicalWebPageURL and most significantly, custom / customHeight parameters do still render a custom banner in the AR session.

Repro steps:
- Using iOS 17.4.1 iPhone
- Visit this test: https://modelviewer-extended-params.glitch.me/ (This link uses the ModelViewer component to generate a USDZ blob from GLB). 
- Turn ON &apos;Auto USDZ&apos; option to use USDZ blob rather than the USDZ file. 
- Turn ON &apos;QuickLook Apple Pay Button&apos; option to add # params.
- Tap the AR icon to open model in AR QuickLook.
- Observe, no Apple Pay banner.


Tested with:
- iOS 17.4.1 - FAIL
- iOS 17.2.1 - FAIL
- iOS 16.6.1 - PASS
- iOS 15.8.1 - PASS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023930</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-26 08:44:59 -0700</bug_when>
    <thetext>&lt;rdar://problem/125418773&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2023974</commentid>
    <comment_count>2</comment_count>
    <who name="Abrar Rahman Protyasha">a_protyasha</who>
    <bug_when>2024-03-26 12:24:27 -0700</bug_when>
    <thetext>Thanks for the bug report! Investigating...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2037652</commentid>
    <comment_count>3</comment_count>
    <who name="Felix Herbst">felix.herbst</who>
    <bug_when>2024-05-24 09:14:48 -0700</bug_when>
    <thetext>I&apos;m also running into this issue. The regression is still present on iOS 17.5.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2048038</commentid>
    <comment_count>4</comment_count>
    <who name="Miles">mail</who>
    <bug_when>2024-07-24 08:48:02 -0700</bug_when>
    <thetext>Still an issue with iOS 18 beta. 
When opening a USDZ blob to view in AR QuickLook, Apple Pay banner is not rendered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2051155</commentid>
    <comment_count>5</comment_count>
    <who name="Miles">mail</who>
    <bug_when>2024-08-07 09:52:05 -0700</bug_when>
    <thetext>Still an issue in iOS 18.0 Dev Beta 5 (22A5326f)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2080945</commentid>
    <comment_count>6</comment_count>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2024-12-11 13:52:34 -0800</bug_when>
    <thetext>Thanks for the report Miles.

Miles, Felix: do you have any live sites that are being impacted by this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2081304</commentid>
    <comment_count>7</comment_count>
    <who name="Miles">mail</who>
    <bug_when>2024-12-12 13:50:41 -0800</bug_when>
    <thetext>Hi Cameron. Thanks for checking out this issue. 

Still appears to be an issue in iOS 18.2

You can repro the issue in the demo here:

https://modelviewer-extended-params.glitch.me/

Turn ON &apos;Auto USDZ&apos; option to use USDZ blob rather than the USDZ file.  Turn ON &apos;QuickLook Apple Pay Banner&apos;. Then open in AR. 

Note that the Apple Pay Banner won&apos;t render. 

But try it with a custom banner and that will show up. 

We build AR platform solutions for a lot of ecommerce retailers with 1million+ views, where this functionality would be highly beneficial.

We had to remove this feature from our platform due to this issue. 

Happy to discuss in more detail if that helps?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095487</commentid>
    <comment_count>8</comment_count>
    <who name="Miles">mail</who>
    <bug_when>2025-02-18 10:14:29 -0800</bug_when>
    <thetext>This is still an issue. Last tested with iOS 18.3.1. 
Apply Pay Banners fail to render when passing USDZ blob to ARQuickLook.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>