-
Notifications
You must be signed in to change notification settings - Fork 42
Apple Pay
Chase Wiseman edited this page Feb 12, 2020
·
1 revision
The following steps cover the Apple Pay functionality as it currently exists. For testing, you can use Authorize.Net.
- Product A: simple shippable & taxable product
- Product B: simple virtual taxable product
- Product C: variable product with a few variations
- 1 tax rate that applies to your iCloud address
- 1 shipping method with a cost
- 1 free shipping option
- 1 shipping method that doesn’t apply to your iCloud address
- 1 fee applied to the cart via filter
Each test should be performed with a fresh browser session in incognito mode
Tests all of the base functionality for generating the payment UI, keeping it up to date with correct shipping & tax rates, and order generation.
- Visit Product A’s single page
- The Apple Pay button should be present and read “Buy with Pay”
- Click the Apple Pay button
- Add to cart UI is blocked
- Subtotal is correct
- Shipping total is correct
- Fee total is correct
- Taxes total is correct
- Grand total is correct
- An appropriate shipping method is pre-selected
- The correct shipping methods are available for selection
- The method that doesn't apply to your address is not present
- Switch to the free shipping method
- Totals are updated correctly
- Switch your shipping address to something that applies to the second shipping method
- That method is listed and selected
- The totals are correct
- Place the order
- Order is successful
- Taken to Thank You page
- Your cart is empty
- The order has the correct line items and totals in the admin
- A "Apple Pay payment authorized." note has been added
- A transaction note was added with card last four and transaction ID
- The transaction appears in the gateway merchant account
- Return to the Product A page
- Click "Buy" again, but do not change any selections on the Apple Pay UI
- Confirm the payment
- Order is successful
- Totals are correct
- Visit Product B
- Click "Buy"
- No shipping address details are shown
- Confirm payment
- Order is successful
- No shipping was added
- Visit Product C
- No Apple Pay button is visible
- Select a variation
- No Apple Pay button is visible
- Add Product A to the cart & visit the cart page
- Apple Pay button is visible
- Click Apple Pay
- The totals are correct
- Cancel Apple Pay
- Increase the Product A quantity to 2
- Click Apple Pay
- The totals are correct
- Confirm payment
- Order is successful
- Totals are correct
- Add Product A to the cart
- Visit Checkout
- Apple Pay button is visible
- Click Apple Pay
- Totals are correct
- Confirm payment
- Order is successful
- Totals are correct
- Home
- General Usage
- Payment Gateways
- WooCommerce Blocks
- Updating
- Testing
- Workflow