-
Notifications
You must be signed in to change notification settings - Fork 206
Release testing instructions for the WooCommerce Stripe payment gateway 5.9.0
leonardo lopes de albuquerque edited this page Nov 26, 2021
·
11 revisions
Execute tests below with:
- UPE Disabled
- UPE Enabled
- UPE + Blocks checkout
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and credit card
- Set country as Brazil on stripe dashboard
- As a shopper add any product over R$5.00 and bellow R$49999.99 to cart
- Go to checkout
- Select Boleto as payment method
- Fill all fields (use Brazil as country, a valid address , 812.005.580-22 as CPF)
- Click on Place order
- The boleto modal must show up
- Close the modal
- You must be redirected to success page
- As a merchant go to WooCommerce > Orders
- Last order must be on-hold
- Wait 4 minutes until stripe approves the payment
- Order must go to processing/completed
- Click to Edit the order
- Boleto must be the payment method shown
- The transaction id must be set
- Click on refund
- Only manual refund must be available
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and credit card
- Set country as Brazil on stripe dashboard
- As a shopper add any product over R$5.00 and bellow R$49999.99 to cart
- Go to checkout
- Select Boleto as payment method
- Fill all fields (use Brazil as country, a valid address , 812.005.580-23 as CPF)
- Try to place order
- The error "Invalid Tax Id, please try again with a valid tax id" must show up
- Change CPF to 812.005.580-22
- Place order again
- The boleto modal must show up
- Close the modal
- You must be redirected to success page
- As a merchant go to WooCommerce > Orders
- Last order must be on-hold
- Wait 4 minutes until stripe approves the payment
- Order must go to processing/completed
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and Credit card
- Set country as Brazil on stripe dashboard
- As a shopper add any product over R$5.00 and bellow R$49999.99 to cart
- Go to checkout
- Select Boleto as payment method
- Fill all fields (use Brazil as country, a valid address , 812.005.580-23 as CPF)
- Try to place order
- The error "Invalid Tax Id, please try again with a valid tax id" must show up
- Change payment method to card
- Use a valid card 4242 4242 4242 4242
- Place order again
- The order must be completed successfully
- The order must be set to processing/completed
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and Credit card
- Set country as Brazil on stripe dashboard
- As a shopper add any product over R$5.00 and bellow R$49999.99 to cart
- Go to checkout
- Select Card as payment method
- Use an invalid card 4000000000000002
- Try to place order
- The error "The card was declined." must show up
- Fill all fields (use Brazil as country, a valid address , 812.005.580-22 as CPF)
- Place order
- Place order again
- The boleto modal must show up
- Close the modal
- You must be redirected to success page
- As a merchant go to WooCommerce > Orders
- Last order must be on-hold
- Wait 4 minutes until stripe approves the payment
- Order must go to processing/completed
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and Credit card
- Set country as Brazil on stripe dashboard
- As a shopper add any product over R$5.00 and bellow R$49999.99 to cart
- Go to checkout
- Select Card as payment method
- Use an invalid card 4000000000000002
- Try to place order
- The error "The card was declined." must show up
- Use a valid card 4242 4242 4242 4242
- Place order again
- The order must be completed successfully
- The order must be set to processing/completed
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and credit card
- Set country as Brazil on stripe dashboard
- As a shopper add any product over R$5.00 and bellow R$49999.99 to cart
- Go to checkout
- Select Boleto as payment method
- Fill all fields (use Brazil as country, a valid address , 812.005.580-23 as CPF)
- Try to place order
- The error "Invalid Tax Id, please try again with a valid tax id" must show up
- Go to My Account > Orders > click on pay button on last order
- Select Boleto as payment method
- Use 812.005.580-22 as CPF
- Click on Pay order
- Boleto modal must show up
- Close the modal
- You must be redirected to success page
- As a merchant go to WooCommerce > Orders
- Last order must be on-hold
- Wait 4 minutes until stripe approves the payment
- Order must go to processing/completed
- Click to Edit the order
- Boleto must be the payment method shown
- The transaction id must be set
- Click on refund
- Only manual refund must be available
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and credit card
- Set country as Brazil on stripe dashboard
- As a shopper add any product over R$5.00 and bellow R$49999.99 to cart
- Go to checkout
- Select Boleto as payment method
- Fill all fields (use Brazil as country, a valid address , 812.005.580-23 as CPF)
- Try to place order
- The error "Invalid Tax Id, please try again with a valid tax id" must show up
- Go to My Account > Orders > click on pay button on last order
- Select Card as payment method(method name might be blank)
- Use a valid card 4242 4242 4242 4242
- Must redirect to success page
- Order must be set to processing/complete
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and credit card
- Set country as Brazil on stripe dashboard
- As a shopper add any product over R$5.00 and bellow R$49999.99 to cart
- Go to checkout
- Select Card as payment method
- Use an invalid card 4000000000000002
- Try to place order
- The error "The card was declined." must show up
- Go to My Account > Orders > click on pay button on last order
- Select Boleto as payment method
- Click on Pay order
- Boleto modal must show up
- Close the modal
- You must be redirected to success page
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and credit card
- Set country as Brazil on stripe dashboard
- As a shopper add any product over R$5.00 and bellow R$49999.99 to cart
- Go to checkout
- Select Card as payment method
- Use an invalid card 4000000000000002
- Try to place order
- The error "The card was declined." must show up
- Go to My Account > Orders > click on pay button on last order
- Select Card as payment method(method name might be blank)
- Use a valid card 4242 4242 4242 4242
- Must redirect to success page
- Order must be set to processing/complete
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and credit card
- Set country as Brazil on stripe dashboard
- As a shopper add any product over R$5.00 and bellow R$49999.99 to cart
- Go to checkout
- Set any country but brazil
- Set 812.005.580-23 as CPF
- Try to place order
- The error "This payment method is not available in the selected country" should show up
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and credit card
- Set country as Brazil on stripe dashboard
- As a shopper add any product over R$5.00 and bellow R$49999.99 to cart
- Go to checkout
- Fill all fields (use Brazil as country, a valid address , 812.005.580-22 as CPF)
- Set 88330 as zipcode
- Try to place order
- The error "Billing Postcode / ZIP is not a valid postcode / ZIP." should show up
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto only
- Set country as Brazil on stripe dashboard
- As a shopper add any product over R$5.00 and bellow R$49999.99 to cart
- Go to checkout
- Select Boleto as payment method
- Fill all fields (use Brazil as country, a valid address , 812.005.580-22 as CPF)
- Click on Place order
- The boleto modal must show up
- Close the modal
- You must be redirected to success page
- As a merchant go to WooCommerce > Orders
- Last order must be on-hold
- Wait 4 minutes until stripe approves the payment
- Order must go to processing/completed
- This will only work on a completly fresh install. If UPE was enabled once it will not work unless it gets disabled via database
- As a Merchant Go to WooCommerce > Settings > Payments
- Click on Boleto
- Make sure the settings page is shown
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and credit card
- Create a product with stock quantity set to 10
- Set country as Brazil on stripe dashboard
- As a shopper add the product to cart
- Go to checkout
- Select Boleto as payment method
- Fill all fields. Use Brazil as country, a valid address
- Set 812.005.580-23 as CPF
- Try to checkout
- It must fail
- Product stock quantity must still be 10
- Set 812.005.580-22 as CPF
- Click on Place order
- The boleto modal must show up
- Close the modal
- You must be redirected to success page
- As a merchant go to WooCommerce > Orders
- Last order must be on-hold
- The product stock quantity must be 9 now
- Wait 4 minutes until stripe approves the payment
- The product stock quantity must still be 9
- Order must go to processing/completed
- As a Merchant Go to WooCommerce > Settings
- Set currency to Brazilian Real
- Go to WooCommerce > Settings > Payments
- Activate Boleto and credit card
- Create a product with stock quantity set to 10
- Set country as Brazil on stripe dashboard
- As a shopper add the product to cart
- Go to checkout
- Select Boleto as payment method
- Fill all fields. Use Brazil as country, a valid address
- Set 812.005.580-23 as CPF
- Try to checkout
- It must fail
- Product stock quantity must still be 10
- Go to My Account > Orders > click on pay button on last order
- Select Boleto as payment method
- Use 812.005.580-22 as CPF
- Click on Pay order
- Boleto modal must show up
- Close the modal
- You must be redirected to success page
- As a merchant go to WooCommerce > Orders
- Last order must be on-hold
- Product quantity must be 9 now
- Wait 4 minutes until stripe approves the payment
- Product quantity must still be 9
- Order must go to processing/completed