FoxComm / highlander

Because there can only be one
MIT License
9 stars 3 forks source link

Shipping address errors for Apple pay #2047

Open kiryakov opened 7 years ago

kiryakov commented 7 years ago

Env: feature-branch-apple.foxcommerce.com

See three scenarios below


Scenario1. Cloning of addresses Steps possibly many operations (buyings) with the same customer being signed in and apple pay

Result same default address from customer is added to customer (in my case i have around 10 of them)

Expected addresses should not be cloned for customer in Ashes

image


Scenario2. Wrong address in the cart (taken from customer not from apple id) Steps

  1. open apple pay storefront in iphone emulator
  2. sign in with some userA (user should have default shipping address)
  3. choose product with available stock items, add it to the cart in storefront
  4. press Buy with Apple pay (Dont press Pay with Passcode)
  5. open Cart created in Ashes

Result

Expected

image


Scenario3. Shipping address error in Apple pay popup after buying few times in a row Steps buy one item via apple pay, buy another one and then cart will not be cleared, you can press Pay again

Result Shipping address error will be shown (after first time cart is cleared, but if you try second time it is not)

Expected Always clear screen after pay or allow to pay many times in a row without errors

Video https://www.dropbox.com/s/pbsh2xbxb7g9j80/video_480p.mov?dl=0

aafa commented 7 years ago
kairome commented 7 years ago

@kiryakov Scenario 3 should be fixed now

kiryakov commented 7 years ago

@Black-Phoenix yep, Scenario3 is fixed, cannot repro it anymore, thanks! 👍 Scenario2 is also fixed, address for cart is taken from apple account (street, address name and phone are - temporary default values)