Skip to content

v8.4.0 ‐ Release testing instructions

Mayisha edited this page Jun 10, 2024 · 11 revisions

Generating Test Stripe Accounts

Stripe 8.4.0 introduces 2 new Wallet payment methods which require specific Stripe account business location requirements to be enabled. Please follow the following steps to create Stripe accounts for specific business locations:

  1. From the Stripe Dashboard click on the Accounts dropdown
  2. Click "Create New Account"

Screenshot 2024-05-03 at 2 14 45 PM

  1. Enter a Business name (can be anything).
  2. Select the country you want to create a Stripe Account for.

Screenshot 2024-05-03 at 2 20 50 PM

  1. Click Create
  2. Go to Developers → Api Keys and copy the API Publishable Key and Secret Key into your WooCommerce Stripe Settings
Screenshot 2024-05-03 at 2 22 45 PM Screenshot 2024-05-03 at 2 28 59 PM

Cash App

Ineligible account

  1. Create a non-US based Stripe Account. eg Australian, German, French etc.
  2. Update your Stripe plugin credentials to that account not located in the US.
  3. Go to WooCommerce > Settings > Payments > Stripe
  4. Cash App Pay should not be listed.

Screenshot 2024-05-21 at 9 51 51 AM

US based account

  1. Update your Stripe plugin credentials to an account located in the US.
  2. Go to WooCommerce > Settings > Payments > Stripe
  3. Cash App Pay should be listed.
  4. Change your store's currency to a currency other than USD.
  5. Back on the payment methods list, it should now be displayed with the currency warning.
USD ⚠️ AUD
Screenshot 2024-05-21 at 10 29 25 AM Screenshot 2024-05-21 at 10 28 03 AM
  1. Change the currency back to USD
  2. Enable Cash App

Checkout

Caution

You will need a mobile device to complete payments with Cash App. You won't need a specific app, you'll be required to scan a QR code and follow the link in your mobile browser.

  1. Place a simple product in the cart.
  2. Go to the block checkout.
  3. Enter an non-US based address.
    • Note that Cash App is not shown for non-US customers.
  4. Change your address to a US address.
  5. Select Cash App Pay.
  6. Click Place order.
  7. A modal should pop up with a QR code.
  8. Using the camera app on your phone, scan the QR code. It will direct you to a test page hosted by Stripe.
  9. Click the Authorize test payment button.
Screenshot 2024-05-22 at 1 14 13 PM Screenshot 2024-05-22 at 1 14 13 PM
  1. Once payment has been processed on your phone, your original browser will redirect you to the order received page.
  2. In your store admin section. View the WooCommerce > Orders table and confirm the payment is compete/processing.
  3. Repeat the steps above to place the order with Cash App. At the step to authorize or fail the payment, click the Fail test payment button.
  4. In your store admin section. View the WooCommerce > Orders table and confirm the payment is failed.
  5. Test the same steps on shortcode checkout.

Pay for order

  1. Go to the edit order page of the failed order created in the test above.
  2. On edit order page, click Customer payment page →
  3. On the Pay for order page, select Cash App.
  1. On the Stripe authorization page, click the Authorize test payment button to simulate a successful payment.
  2. In your store admin section. View the WooCommerce > Orders table and confirm the payment is compete/processing.

Save tokens

My Account page

  1. On your store admin, enable Cash App.
  2. Update your Stripe plugin credentials to an account located in the US and set the store currency to USD.
  3. Add a new user in your WordPress. Add a US billing address to the customer details.
  4. Now log in to your site as the customer and go to My Account → Payment methods.
  5. Click Add payment method.
  6. Select Cash App Payments.
  7. Click Add payment method.
  1. The Cash App Payment modal should pop up.
  2. Using your mobile device scan the QR code and complete payment at Stripe's test site.
  3. Once complete you will be redirected to the payment methods list and you should have a newly created token.
  1. Complete a new purchase using that new token to verify it works.

Checkout page

  1. From your store admin's Stripe settings page, check the Enable payments via saved cards checkbox.
  2. As a logged in shopper place a standard product in your cart (you may log in as the user created in the previous test above).
  3. On block checkout, select Cash App Pay.
  4. Check the Save payment information checkbox.
  5. Click the Place Order button.
  6. Scan the QR code and authorize the payment.
  7. After redirecting to the order received page, add another product to the cart and go to the checkout page.
  8. Confirm that you have a saved payment method with Cash App Pay.
  1. Test the same steps on shortcode checkout.

Subscriptions

New token

  1. Install and activate WooCommerce Subscriptions plugin.
  2. Create a simple subscription product and add the simple subscription product to your cart.
  3. Complete the checkout using a new Cash App payment method.
  4. Confirm the order is successfully paid and the subscription is active.
  5. From the WooCommerce → Subscriptions page edit the subscriptions purchased with Cash App.
  6. From the actions dropdown select Process Renewal.
  7. Verify the subscription renewal order is paid in the Stripe dashboard.

Saved token

  1. Add the simple subscription product to your cart again.
  2. Use the saved Cash App token to complete the payment.
  3. Confirm the order is successfully paid and the subscription is active.
  4. From the WooCommerce → Subscriptions page edit the subscriptions purchased with Cash App.
  5. From the actions dropdown select Process Renewal.
  6. Verify the subscription renewal order is paid in the Stripe dashboard.

WeChat

Ineligible account

  1. Create a Stripe Account with a country unsupported by WeChat Pay. eg Mexico, Brazil, India etc. (Find the supported currency vs country list here)
  2. Update your Stripe plugin credentials to that account not supported by WeChat.
  3. Go to WooCommerce > Settings > Payments > Stripe
  4. WeChat Pay should not be listed.

Screenshot 2024-05-21 at 9 51 51 AM

Supported account

  1. Update your Stripe plugin credentials to an account located in a supported country, e.g. US.
  2. Go to WooCommerce > Settings > Payments > Stripe
  3. WeChat Pay should be listed.
  4. Change your store's currency to a currency other than USD and CNY.
  5. Back on the payment methods list, it should now be displayed with the currency warning.
USD ⚠️ EUR
  1. Change the currency back to USD
  2. Enable WeChat

Checkout

  1. Place a simple product in the cart.
  2. Go to block checkout page.
  3. Enter an non-US based address.
    • Note that WeChat is not shown for non-US customers as the connected Stripe account is a US account.
  4. Change your address to a US address.
  5. Select WeChat Pay.
  6. Click Place order.
  7. A modal should pop up with a QR code.
  8. You will find a Simulate scan button on the modal. Click to simulate and it will direct you to a test page hosted by Stripe.
  1. Click the Authorize test payment button.

|

  1. Once payment has been processed, your original browser will redirect you to the order received page.
  2. In your store admin section. View the WooCommerce > Orders table and confirm the payment is compete/processing.
  3. Repeat the steps above to place the order with WeChat. At the step to authorize or fail the payment, click the Fail test payment button.
  4. In your store admin section. View the WooCommerce > Orders table and confirm the payment is failed.
  5. Test the same steps on shortcode checkout.

Pay for order

  1. Go to the edit order page of the failed order created in the test above.
  2. On edit order page, click Customer payment page →
  3. On the Pay for order page, select WeChat Pay.
  1. On the Stripe authorization page, click the Authorize test payment button to simulate a successful payment.
  2. In your store admin section. View the WooCommerce > Orders table and confirm the payment is compete/processing.
Clone this wiki locally