{"action":"opened","issue":{"url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe/issues/985","repository_url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe","labels_url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe/issues/985/labels{/name}","comments_url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe/issues/985/comments","events_url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe/issues/985/events","html_url":"https://github.com/woocommerce/woocommerce-gateway-stripe/issues/985","id":490788410,"node_id":"MDU6SXNzdWU0OTA3ODg0MTA=","number":985,"title":"Apple Pay not initially showing correct total (quantity) if used on Product Page","user":{"login":"zwiesman31","id":10859683,"node_id":"MDQ6VXNlcjEwODU5Njgz","avatar_url":"https://avatars0.githubusercontent.com/u/10859683?v=4","gravatar_id":"","url":"https://api.github.com/users/zwiesman31","html_url":"https://github.com/zwiesman31","followers_url":"https://api.github.com/users/zwiesman31/followers","following_url":"https://api.github.com/users/zwiesman31/following{/other_user}","gists_url":"https://api.github.com/users/zwiesman31/gists{/gist_id}","starred_url":"https://api.github.com/users/zwiesman31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwiesman31/subscriptions","organizations_url":"https://api.github.com/users/zwiesman31/orgs","repos_url":"https://api.github.com/users/zwiesman31/repos","events_url":"https://api.github.com/users/zwiesman31/events{/privacy}","received_events_url":"https://api.github.com/users/zwiesman31/received_events","type":"User","site_admin":false},"labels":[{"id":378942934,"node_id":"MDU6TGFiZWwzNzg5NDI5MzQ=","url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe/labels/[Pri]%20Low","name":"[Pri] Low","color":"fef2c0","default":false},{"id":378942952,"node_id":"MDU6TGFiZWwzNzg5NDI5NTI=","url":"https://api.github.com/repos/woocommerce/woocommerce-gateway-stripe/labels/[Type]%20Bug","name":"[Type] Bug","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-08T18:41:40Z","updated_at":"2019-09-08T18:41:40Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for contributing to this extension! Pick a clear title (\"Order: Unable to refund\") and proceed. -->\r\n\r\n#### Affected ticket(s)\r\n\r\n2332304-zen\r\n\r\n#### What I expected\r\n\r\nWhen the Apple Pay button is used from an individual product page, the initial total should take into acccount the product's price X the quantity selected (ex: `$15.00 x 2`).\r\n\r\n#### What happened instead\r\n\r\nThe checkout totals if Apple Pay is used from the product page are incorrect, as they don't take quantity into account for the total initially, they only show the product price 1X: \r\n\r\n![https://cld.wthms.co/j9jlrW](https://cld.wthms.co/j9jlrW+)\r\nImage link: https://cld.wthms.co/j9jlrW\r\n\r\nThen click button: \r\n\r\n![https://cld.wthms.co/B0wXnr](https://cld.wthms.co/B0wXnr+)\r\nImage link: https://cld.wthms.co/B0wXnr\r\n\r\nAs we can see, it should show $30 (`$15 x quantity of 2`), but only shows $15.00 - it also doesn't display the total correctly if there is a `Default` variation option set.\r\n\r\nThe end total that gets calculated is correct though.\r\n\r\n#### Steps to reproduce the issue\r\n\r\n1. Setup Apple Pay.\r\n2. Setup a product.\r\n3. Go to individual product page and select a quantity of 2 or more.\r\n4. When selecting `Apple Pay`, the initial total does not reflect the quantity selected, although the end total is correct.\r\n\r\nNot sure if this is a Stripe/Apple Pay limitation, but either way it's `Low` priority as the final total is correct.\r\n\r\n-------------------\r\n\r\n- [ ] Issue assigned to next milestone.\r\n- [ ] Issue assigned a priority (will be assessed by maintainers).\r\n"}}
{"actor":{"display_login":"zwiesman31"}}