| Summary: | Update promise doesn't update the currency | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dmitry Kochnev <aurokkez> |
| Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | aestes, p-o.blouin, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 14 | ||
| Hardware: | Mac | ||
| OS: | macOS 10.15 | ||
|
Description
Dmitry Kochnev
2020-11-23 04:50:13 PST
Hi! Could we have a timeline on this or maybe if you need more details in order to fix it? I have the exact same issue, the currency won't update when you call updateWith() with a new currency. Thanks 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.
|