Fix the usage of the collectTotals() method for the quote created in product detail page. Missing quote totals causes amount/value not being added to the /paymentMethods call request and Apple Pay tx_variant doesn't return in the payment methods in this case.
Tested scenarios
Apple Pay express from product detail page and minicart.
Summary
Fix the usage of the
collectTotals()
method for the quote created in product detail page. Missing quote totals causesamount/value
not being added to the/paymentMethods
call request and Apple Pay tx_variant doesn't return in the payment methods in this case.Tested scenarios