[Webkit-unassigned] [Bug 219254] Update promise doesn't update the currency

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 7 10:39:27 PDT 2021


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

--- Comment #3 from Pierre-Olivier Blouin <p-o.blouin at ssense.com> ---
Adding to my previous comment, this makes the feature unusable for context where you land on a page that is in a certain country and then your shipping address is in a different country.

The expected behaviour would be:

PaymentRequest is initiated with the item to purchase and the currency is USD
The user initiates the Apple Pay payment, his shipping address is in Canada, then updateWith() is called and everything gets updated to CAD

Problem now, is that the payment data returned by Apple Pay is always in the first currency that was selected.

We use PayEasy to process the payment and we got this error: `Error(s) returned in Apple Pay authorize response: [{"code":"400","description":"Bad Request (95) - Invalid Currency Requested"}]`

Which makes sense because I want to purchase in CAD, but the request was encoded with USD for its currency.

-- 
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/20210907/34307660/attachment-0001.htm>


More information about the webkit-unassigned mailing list