-
Notifications
You must be signed in to change notification settings - Fork 207
v8.4.0 ‐ Release testing instructions
Mayisha edited this page Jun 10, 2024
·
11 revisions
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:
- From the Stripe Dashboard click on the Accounts dropdown
- Click "Create New Account"
- Enter a Business name (can be anything).
- Select the country you want to create a Stripe Account for.
- Click Create
- Go to Developers → Api Keys and copy the API Publishable Key and Secret Key into your WooCommerce Stripe Settings
- Create a non-US based Stripe Account. eg Australian, German, French etc.
- Update your Stripe plugin credentials to that account not located in the US.
- Go to WooCommerce > Settings > Payments > Stripe
- Cash App Pay should not be listed.
- Update your Stripe plugin credentials to an account located in the US.
- Go to WooCommerce > Settings > Payments > Stripe
- Cash App Pay should be listed.
- Change your store's currency to a currency other than USD.
- Back on the payment methods list, it should now be displayed with the currency warning.
USD | |
---|---|
- Change the currency back to USD
- Enable Cash App
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.
- Place a simple product in the cart.
- Go to the block checkout.
- Enter an non-US based address.
- Note that Cash App is not shown for non-US customers.
- Change your address to a US address.
- Select Cash App Pay.
- Click Place order.
- A modal should pop up with a QR code.
- Using the camera app on your phone, scan the QR code. It will direct you to a test page hosted by Stripe.
- Click the Authorize test payment button.
- Once payment has been processed on your phone, your original browser will redirect you to the order received page.
- In your store admin section. View the WooCommerce > Orders table and confirm the payment is compete/processing.
- 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.
- In your store admin section. View the WooCommerce > Orders table and confirm the payment is failed.
- Test the same steps on shortcode checkout.
- Go to the edit order page of the failed order created in the test above.
- On edit order page, click
Customer payment page →
- On the Pay for order page, select Cash App.
- On the Stripe authorization page, click the Authorize test payment button to simulate a successful payment.
- In your store admin section. View the WooCommerce > Orders table and confirm the payment is compete/processing.
- On your store admin, enable Cash App.
- Update your Stripe plugin credentials to an account located in the US and set the store currency to USD.
- Add a new user in your WordPress. Add a US billing address to the customer details.
- Now log in to your site as the customer and go to My Account → Payment methods.
- Click Add payment method.
- Select Cash App Payments.
- Click Add payment method.
- The Cash App Payment modal should pop up.
- Using your mobile device scan the QR code and complete payment at Stripe's test site.
- Once complete you will be redirected to the payment methods list and you should have a newly created token.
- Complete a new purchase using that new token to verify it works.
- From your store admin's Stripe settings page, check the
Enable payments via saved cards
checkbox. - 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).
- On block checkout, select Cash App Pay.
- Check the
Save payment information
checkbox. - Click the Place Order button.
- Scan the QR code and authorize the payment.
- After redirecting to the order received page, add another product to the cart and go to the checkout page.
- Confirm that you have a saved payment method with Cash App Pay.
- Test the same steps on shortcode checkout.
- Install and activate WooCommerce Subscriptions plugin.
- Create a simple subscription product and add the simple subscription product to your cart.
- Complete the checkout using a new Cash App payment method.
- Confirm the order is successfully paid and the subscription is active.
- From the WooCommerce → Subscriptions page edit the subscriptions purchased with Cash App.
- From the actions dropdown select Process Renewal.
- Verify the subscription renewal order is paid in the Stripe dashboard.
- Add the simple subscription product to your cart again.
- Use the saved Cash App token to complete the payment.
- Confirm the order is successfully paid and the subscription is active.
- From the WooCommerce → Subscriptions page edit the subscriptions purchased with Cash App.
- From the actions dropdown select Process Renewal.
- Verify the subscription renewal order is paid in the Stripe dashboard.
- Create a Stripe Account with a country unsupported by WeChat Pay. eg Mexico, Brazil, India etc. (Find the supported currency vs country list here)
- Update your Stripe plugin credentials to that account not supported by WeChat.
- Go to WooCommerce > Settings > Payments > Stripe
- WeChat Pay should not be listed.
- Update your Stripe plugin credentials to an account located in a supported country, e.g. US.
- Go to WooCommerce > Settings > Payments > Stripe
- WeChat Pay should be listed.
- Change your store's currency to a currency other than USD and CNY.
- Back on the payment methods list, it should now be displayed with the currency warning.
USD | |
---|---|
- Change the currency back to USD
- Enable WeChat
- Place a simple product in the cart.
- Go to block checkout page.
- 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.
- Change your address to a US address.
- Select WeChat Pay.
- Click Place order.
- A modal should pop up with a QR code.
- 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.
- Click the Authorize test payment button.
|
- Once payment has been processed, your original browser will redirect you to the order received page.
- In your store admin section. View the WooCommerce > Orders table and confirm the payment is compete/processing.
- 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.
- In your store admin section. View the WooCommerce > Orders table and confirm the payment is failed.
- Test the same steps on shortcode checkout.
- Go to the edit order page of the failed order created in the test above.
- On edit order page, click
Customer payment page →
- On the Pay for order page, select WeChat Pay.
- On the Stripe authorization page, click the Authorize test payment button to simulate a successful payment.
- In your store admin section. View the WooCommerce > Orders table and confirm the payment is compete/processing.