-
Notifications
You must be signed in to change notification settings - Fork 207
v8.3.0 ‐ Release testing instructions
Stripe 8.3.0 introduces 3 new Buy Now, Pay Later 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
-
Connect the store to a Stripe account under one of the countries that support Klarna, like France
-
Ensure the store currency is set to Euro
-
Ensure the Legacy experience is disabled
-
Go to the Payment Methods tab, at
wp-admin/admin.php?page=wc-settings&tab=checkout§ion=stripe&panel=methods
-
Confirm Klarna is displayed and available to be enabled
-
Go to WooCommerce settings, at
/wp-admin/admin.php?page=wc-settings
-
Change the currency to an unsupported one, like the Mexican peso
-
Go to the Payment Methods tab, at
wp-admin/admin.php?page=wc-settings&tab=checkout§ion=stripe&panel=methods
-
Confirm Klarna has a note on the supported currencies and can't be enabled
-
Go to WooCommerce settings, at
/wp-admin/admin.php?page=wc-settings
-
Select Euro as the store currency
-
As a shopper, add a product to the cart and go to the Block checkout page
-
Select France as the billing country
-
Confirm Klarna is displayed among the available payment methods
-
Select Klarna and click on the Place Order button
-
On the Klarna payments page, log in with a French account using the phone number
+33689854321
-
Complete the payment flow
-
Confirm the payment is placed as expected
- The related WC order has an associated charge in the Stripe dashboard
- The WC order status is "processing"
- The payment in the Stripe dashboard has a "Succeeded" status, has the correct WC order number, billing and shipping address, and payment method associated with it
Confirm the behavior is the same when checking out through the Shortcode checkout page
- Go to WooCommerce settings, at
/wp-admin/admin.php?page=wc-settings
- Select a currency that's supported by Klarna, but that's not the default of the country your Stripe account is associated with. For example, select the United States dollar when your Stripe account is from France
- As a shopper, go to the Block checkout page
- Confirm that France is selected as the billing country
- Confirm Klarna is not displayed on the available payment methods
Confirm this behavior is the same on the Shortcode checkout page
- Confirm the store currency is the one used by the country your Stripe account is associated with. For example, Euro for a French Stripe account
- As a shopper, go to the Block checkout page
- Select France as the billing country
- Confirm that Klarna is displayed on the available payment methods
- Select a country that Klarna does not support as the billing country, like Mexico
- Confirm that Klarna is no longer displayed on the available payment methods
Confirm this behavior is the same on the shortcode checkout page
- Ensure Klarna is enabled and available on the checkout page
- Follow the steps on the Checkout via the Pay for Order page critical flow, but choosing Klarna as the payment method
- Ensure Klarna is enabled and available on the checkout page
- Go to the Settings tab, at
/wp-admin/admin.php?page=wc-settings&tab=checkout§ion=stripe&panel=settings
- Enable "Issue an authorization on checkout, and capture later"
- As a shopper, go to the Block checkout page
- Confirm that Klarna isn't displayed on the available payment methods
Confirm this behavior is the same on the shortcode checkout page
- Place an order using Klarna, as described in Can process a payment on the checkout pages
- Confirm the Full refund critical flow works as expected for this order
- Place an order using Klarna, as described in Can process a payment on the checkout pages
- Confirm the Partial refund critical flow works as expected for this order
-
Ensure Webhooks are set up
-
Place an order using Klarna, as described in Can process a payment on the checkout pages
-
Go to your Stripe dashboard
-
Go to the payment related to the order you just placed
-
At the right of the screen, click on "Refund"
-
Process a refund for the full total of the order
-
Go to the Edit order page for this order on your WooCommerce dashboard, at
/wp-admin/admin.php?page=wc-orders&action=edit&id=< order_id >
-
Confirm that the order status is "refunded", and that the refunded amount is the order's total
-
Ensure Webhooks are set up
-
Place an order using Klarna, as described in Can process a payment on the checkout pages
-
Go to your Stripe dashboard
-
Go to the payment related to the order you just placed
-
At the right of the screen, click on "Refund"
-
Process a refund for part of the order's total
-
Go to the Edit order page for this order on your WooCommerce dashboard, at
/wp-admin/admin.php?page=wc-orders&action=edit&id=< order_id >
-
Confirm that the order status is "processing", and that the refunded amount matches the amount you defined on the Stripe dashboard
- As a shopper, add a product to the cart and go to the Block checkout page
- Select Klarna as the payment method
- On the Klarna payments page, use the following French user that will be denied
+33687984322
. You can find users from other countries here - Attempt to pay for the order until the flow takes you back to the store
- On the store, confirm that the related WC order has a "failed" status
Confirm the behavior is the same on the Shortcode checkout page
Confirm the behavior is the same on the Pay for Order page - The behavior here can be improved. We have the following issue to address it: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/3066
- Connect the store to a Stripe account under one of the countries that support Affirm, like the US or Canada
- Ensure the store currency (WooCommerce → Settings → General) is set to US or CAD (matching your Stripe account country)
- Ensure the Legacy experience is disabled
- Go to the Payment Methods tab, at
wp-admin/admin.php?page=wc-settings&tab=checkout§ion=stripe&panel=methods
- Confirm Affirm is displayed and available to be enabled
- Go to WooCommerce settings, at
/wp-admin/admin.php?page=wc-settings
- Change the currency to an unsupported one, like the Mexican peso
- Go to the Payment Methods tab, at
wp-admin/admin.php?page=wc-settings&tab=checkout§ion=stripe&panel=methods
- Confirm Affirm has a note on the supported currencies and can't be enabled
- Go to WooCommerce settings, at
/wp-admin/admin.php?page=wc-settings
- Select CAD or USD as the store currency. Note it needs to match your Stripe Account's default currency (US ⇒ USD, CA ⇒ CAD)
- As a shopper, add a product to the cart and go to the Block checkout page
- Enter the United States or Canada as the billing country
- Confirm Affirm is displayed among the available payment methods
- Change the billing country to an inedible country like Australia.
- Confirm Affirm is not displayed among the available payment methods
Available to US or CA shoppers | Not available to other countries |
---|---|
Important
Note that if you are using a US based Stripe account, you can only transact with customers in the US. If you are using a Canadian based Stripe Account you can only transact with customers in Canada. This payment method is not eligible for cross border transactions.
- Enter the United States or Canada as the billing country
- Select Affirm and click on the Place Order button
- You will be redirected to a Stripe sandbox page and asked to Authorize or Fail.
- Authorize the payment.
- Confirm the payment is placed as expected
- The related WC order has an associated charge in the Stripe dashboard
- The WC order status is "processing"
- The payment in the Stripe dashboard has a "Succeeded" status, has the correct WC order number, billing and shipping address, and payment method associated with it
Confirm this behavior is the same on the shortcode checkout page