-
Notifications
You must be signed in to change notification settings - Fork 207
Release testing instructions for the WooCommerce Stripe payment gateway 5.9.0
César Costa edited this page Dec 3, 2021
·
11 revisions
- With UPE disabled
- Add any product to card
- Go to checkout page
- Select card payment method
- Try to checkout with an invalid credit card on classic checkout 4000000000000002
- Go to pay My account > Orders > click on pay order
- Select Card as payment method
- Try to pay with invalid card again 4000000000000002
- The error Notice:
Undefined property: stdClass::$status in /var/www/html/public/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-gateway-stripe.php on line 436 must not show up or be logged to debug.log
- Activate UPE
- Go to WooCommerce > Settings > Payment > Activate Boleto
- Add any product to cart
- Go to Blocks checkout
- Fill the checkout fields. Set country as Botswana
- Select Boleto as payment method
- Click on place order
- The error "This payment method is not available on the selected country" will show up
- Change country to Brazil and a valid address/zipcode
- The error "'BW' is not a valid country for a Brazilian address ('BR' required)" must not show up.
- The Boleto modal must show up
Execute tests below with:
- UPE Disabled
- UPE Enabled
- UPE + Blocks checkout
Note: It's important that webhooks are set up correctly for Boleto/OXXO payments to work correctly.
- 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
- As a Merchant Go to WooCommerce > Settings
- Set currency to Mexican Pesos
- Go to WooCommerce > Settings > Payments
- Activate OXXO and credit card
- Set country as Mexico on stripe dashboard
- As a shopper add any product over R$10.00 and bellow R$10000.00 to cart
- Go to checkout
- Select OXXO as payment method
- Fill all fields (use Mexico as country, a valid address)
- Click on Place order
- The OXXO voucher 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
- OXXO 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 Mexican Pesos
- Go to WooCommerce > Settings > Payments
- Activate OXXO and credit card
- Set country as Mexico on stripe dashboard
- As a shopper add any product over R$10.00 and bellow R$10000.00 to cart
- Go to checkout
- Select card as payment method
- Fill all fields (use Mexico as country, a valid address)
- Use 4000000000000002 as credit card
- Try to place order
- The error "The card was declined." must show up
- Change payment method to OXXO
- Use a valid card 4242 4242 4242 4242
- Place order again
- The OXXO voucher 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 Mexican Pesos
- Go to WooCommerce > Settings > Payments
- Activate OXXO and credit card
- Set country as Mexico on stripe dashboard
- As a shopper add any product over R$10.00 and bellow R$10000.00 to cart
- Go to checkout
- Select card as payment method
- Fill all fields (use Mexico as country, a valid address)
- 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 Mexican Pesos
- Go to WooCommerce > Settings > Payments
- Activate OXXO and credit card
- Set country as Mexico on stripe dashboard
- As a shopper add any product over R$10.00 and bellow R$10000.00 to cart
- Go to checkout
- Select card as payment method
- Fill all fields (use Mexico as country, a valid address)
- 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 OXXO as payment method
- Click on Pay order
- OXXO Voucher 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
- OXXO 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 Mexican Pesos
- Go to WooCommerce > Settings > Payments
- Activate OXXO and credit card
- Set country as Mexico on stripe dashboard
- As a shopper add any product over R$10.00 and bellow R$10000.00 to cart
- Go to checkout
- Select card as payment method
- Fill all fields (use Mexico as country, a valid address)
- 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 Mexican Pesos
- Go to WooCommerce > Settings > Payments
- Activate OXXO and credit card
- Set country as Mexico on stripe dashboard
- As a shopper add any product over R$10.00 and bellow R$10000.00 to cart
- Go to checkout
- Select OXXO as payment method
- Fill all fields (use Mexico as country, a valid address)
- Go to checkout
- Set any country but mexico
- 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 Mexican Pesos
- Go to WooCommerce > Settings > Payments
- Activate OXXO only
- Set country as Mexico on stripe dashboard
- As a shopper add any product over R$10.00 and bellow R$10000.00 to cart
- Go to checkout
- Select OXXO as payment method
- Fill all fields (use Mexico as country, a valid address)
- Click on Place order
- The OXXO voucher 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
- Create a product with stock quantity set to 10
- As a Merchant Go to WooCommerce > Settings
- Set currency to Mexican Pesos
- Go to WooCommerce > Settings > Payments
- Activate OXXO and credit card
- Set country as Mexico on stripe dashboard
- As a shopper add any product over R$10.00 and bellow R$10000.00 to cart
- Go to checkout
- Select OXXO as payment method
- Fill all fields (use Mexico as country, a valid address)
- Click on Place order
- The OXXO voucher 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
- Create a product with stock quantity set to 10
- As a Merchant Go to WooCommerce > Settings
- Set currency to Mexican Pesos
- Go to WooCommerce > Settings > Payments
- Activate OXXO and credit card
- Set country as Mexico on stripe dashboard
- As a shopper add any product over R$10.00 and bellow R$10000.00 to cart
- Go to checkout
- Fill all fields (use Mexico as country, a valid address)
- Select Card as payment method
- Use an invalid card 4000000000000002
- Try to place order
- The error "The card was declined." must show up
- The product quantity must still be 10
- Go to My Account > Orders > click on pay button on last order
- Select OXXO as payment method
- Click on Pay order
- OXXO Voucher 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
- Wait 4 minutes until stripe approves the payment
- Order must go to processing/completed
- Product quantity must still be 9
- 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 OXXO
- Make sure the settings page is shown
- As a merchant, go to
WooCommerce > Settings > Payments > Stripe
- In the
Payment methods
section, verify that the unavailable payment methods' icons appear at the bottom, next to theGet more payment methods
button - Also, note that if more than 3 payment methods are not available, a
+ # more
text element appears