[Webkit-unassigned] [Bug 271409] ApplePay session can only be initialized from top-level domain even when using new allow="payment" attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 3 07:08:00 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=271409

--- Comment #4 from RLambert <appsbylamby at gmail.com> ---
(In reply to Ahmad Saleem from comment #3)
> I tried following:
> 
> https://stripe-payments-demo.appspot.com
> 
> With Safari 17.4 and it seems to work with random test data.

https://codepen.io/lambodispatch/pen/VwNyyOW

Here is an example 

In the console you see 

"You have not registered or verified the domain, so the following payment methods are not enabled in the `paymentRequest`: 

- apple_pay



We have indeed registered the domain for apple pay (see https://checkout-demo.dispatch.co/v1/checkout/001/654d0ed8ea4d425923470263 outside the iframe). You can see the top-level domain being used.

I thought this was a Stripe issue but ApplePay actually requires you use the top-level domain or it cannot verify the session.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240403/1026bd68/attachment-0001.htm>


More information about the webkit-unassigned mailing list