Skip to content

Shipping address errors for Apple pay #2047

@kiryakov

Description

@kiryakov

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

  • notice which address was saved there - address from customer not from apple i account as it is for order

Expected

  • address in cart should be taken from apple id data - same as it is for order

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions