Skip to content

Testing instructions for critical flows WooCommerce Gateway‐Gocardless

Diego Curbelo edited this page Jan 27, 2025 · 1 revision

Theme Compatibility

Twenty Twenty-Four


Can activate the plugin without any error

The plugin should be installed and activated without any error or trouble.

Pre-requisites

Download and Install the Woocommerce extension

Test Steps

  1. Download the Plugin zip from Woo account or Github
  2. Install the plugin zip in the Plugin Uploader screen of the store

Expected Result

  1. After installation the Gocardless setting will appear under WooCommerce Setting > Payments > Direct Debit (GoCardless)
  2. Gateway‐Gocardless requires WooCommerce to be installed and active. You can download WooCommerce here.
  3. Without WooCommerce, the Gateway‐Gocardless extension cannot be activated. It throws an error Like: "This plugin cannot be activated because required plugins are missing or inactive."

Register or Sign in at GoCardless

Test Steps

  1. Go to: Sandbox
  2. Select Sign Up Now.
  3. Complete all fields (required).
  4. Select Create Your Account.

Expected Result Account should be created and work with WordPress site.


Supported Country and Currency

Test Steps

  1. Goto wp-admin dashboard
  2. Goto Woocommerce > Setting > General > Country / State
  3. Goto Woocommerce > Setting > General > Currency options > Currency

Expected Result

Direct Debit (GoCardless) only appears as a payment method if the customer’s billing country is in:

Country
Australia
Austria
Belgium
Bulgaria
Canada
Cyprus
Czech Republic
Denmark
Estonia
Eurozone
Finland
France
Germany
Greece
Hungary
Iceland
Ireland
Italy
Latvia
Liechtenstein
Lithuania
Luxembourg
Malta
Monaco
Netherlands
New Zealand
Norway
Poland
Portugal
Romania
San Marino
Slovakia
Slovenia
Spain
Sweden
Switzerland
United Kingdom
United States

Setup and Configuration

After activating the GoCardless extension, the Configuration setting should appear.

Test Steps

  1. Goto wp-admin dashboard
  2. Goto Woocommerce > Setting > Payments > Direct Debit (GoCardless)
  3. Use the toggle under Enabled to select Direct Debit (GoCardless).
  4. Select Set Up. You are taken to Direct Debit (GoCardless) settings
  5. Log in to your GoCardless account. If you haven’t yet created an account, select Sign Up.
  6. If successful, an authentication notice will appear.
  7. Select the That’s My Site – Redirect Me button.

Expected Result

  1. GoCardless Configuration settings should be functional and connected to GoCardless.
  2. The store owner can Disconnect from GoCardless by clicking the Disconnect from GoCardless button.
Screenshot

Screenshot 2023-09-04 at 12 24 19 PM

image

image

Note: Sandbox Test transactions using GoCardless test credentials.

  • In the UK, use the sort code 200000 and the account number 55779911
  • In Sweden, use the clearingnummer (branch code) 5527 and the kontonummer (account number) 1234512
  • Everywhere else, use the IBAN GB60 BARC 2000 0055 7799 11

Gocardless Settings

Gocardleess Setting > Connect

Test steps:

  1. Navigate to WordPress Dashboard > Woocommerce > Payments > Select Direct Debit (GoCardless)
  2. Clik on "Connect with Gocardless" (for the Live site)
  3. For sandbox click on "Not ready to accept live payments? Click here to connect using sandbox mode"
  4. Login with GoCardless credentials and connect with your site.

Expected Result:

  1. After establishing a connection with GoCardless, the extension should now establish a connection with the GoCardless.
  2. The "Disconnect from GoCardless" button can be found.

Gocardleess Setting > Enable / Disable

Test Steps:

  1. Goto WP Dashboard
  2. Navigate to WordPress Dashboard > Woocommerce > Payments > Select Direct Debit (GoCardless)
  3. Click on the check box for Enable / Disable GoCardless payment Getaway
  4. Save the setting

Expected Result: If GoCardless is enabled (checkbox is checked):

  1. GoCardless payment will be available for customers to use during the checkout process.
  2. Customers will see GoCardless as a payment option at checkout.

If GoCardless is disabled (checkbox is unchecked):

  1. GoCardless will not be available as a payment option during checkout.
  2. GoCardless will not appear in the list of payment gateways for customers to choose from.

Gocardleess Setting > Title and Description

Test Steps:

  1. Goto WP Dashboard
  2. Navigate to WordPress Dashboard > Woocommerce > Payments > Select Direct Debit (GoCardless)
  3. Enter the title and Description

Expected Result:

  1. Both the title and description text will be visible to customers during the checkout process

Webhook Secret Configuration

Test Steps:

  1. Goto Woocommerce > Setting > Payments > Direct Debit (GoCardless)
  2. Navigate to GoCardless Sync > Click on Setup sync > and copy the URL.
  3. Goto GoCardless Dashboard
  4. Goto Developer tab and create a Webhook endpoint
  5. Enter info in the Create Webhook Endpoint screen.
    • Name: Give your webhook a descriptive name so you recognize it in the future
    • URL: Paste the URL from step 2.
    • Secret: Goto Setup 2 and copy Secret key.
    • Webhook client certificate: Can be de-selected
  6. Select the Create Webhook Endpoint button.
  7. Close the GoCardless webhooks endpoints window.
  8. Return to the Direct Debit (GoCardless) settings screen at your store.
  9. Enter the secret string from step 4 for Webhook Secret.
  10. Save changes.

Expected Result:

  1. The webhook URL can be configured in the GoCardless plugin settings.
  2. The plugin successfully registers and configures the webhook endpoint with the GoCardless API.
  3. Webhook events triggered from the GoCardless sandbox environment are delivered to the configured URL.
  4. The plugin processes different types of webhook events correctly, triggering the appropriate actions.
Screenshot

image

May-24-2024 22-17-32


Saved Bank Accounts

Enable Payment via Saved Bank Accounts

Test steps:

  1. Goto Woocommerce > Setting > Payments > Direct Debit (GoCardless)
  2. Navigate to Saved Bank Accounts
  3. Click on the check box for Enable / Disable

Expected Result:

  1. If the checkbox is enabled, the Saved Bank Accounts for Payment list is displayed.
  2. If the checkbox is disabled, Save Bank Account for Payment will not appear.

Direct Debit Scheme

Automatically detected from the customer’s bank account

Test steps:

  1. Goto Woocommerce > Setting > Payments > Direct Debit (GoCardless)
  2. Navigate to Direct Debit Scheme
  3. Select a scheme. Default is: Automatically detected from the customer’s bank account

Expected Result The chosen scheme will be applied to the GoCardless payment method.

ACH

Test steps:

  1. Goto Woocommerce > Setting > Payments > Direct Debit (GoCardless)
  2. Navigate to Direct Debit Scheme
  3. Select "ACH" from drop down
  4. Save changes
  5. Goto WooCommerce > Settings > General
  6. Change Country / State to "United States"
  7. Change Currency - "United States (US) dollar ($)"
  8. Save changes
  9. Goto Shop page and add any product to the cart and process for checkout
  10. Use a new payment method
  11. A direct debit popup will open
  12. Set up an ACH Debit Authorization popup that will open
  13. Verify Country, Personal details should be as per checkout detail

Expected Result:

The chosen ACH scheme will be successfully applied to the GoCardless payment method, and the checkout process should proceed smoothly. The mandate creation should be successful, and the payment method should function as expected.

Autogiro

Test steps:

  1. Goto Woocommerce > Setting > Payments > Direct Debit (GoCardless)
  2. Navigate to Direct Debit Scheme
  3. Select "Autogiro" from drop down
  4. Save changes
  5. Goto WooCommerce > Settings > General
  6. Change Country / State to "Sweden"
  7. Change Currency - "Swedish Krona"
  8. Save changes
  9. Goto Shop page and add any product to the cart and process for checkout
  10. Use a new payment method
  11. A direct debit popup will open
  12. Set up an ACH Debit Authorization popup that will open
  13. Verify Country, Personal details should be as per checkout detail

Expected Result:

The chosen ACH scheme will be successfully applied to the GoCardless payment method, and the checkout process should proceed smoothly. The mandate creation should be successful, and the payment method should function as expected.

BACS

Test steps:

  1. Goto Woocommerce > Setting > Payments > Direct Debit (GoCardless)
  2. Navigate to Direct Debit Scheme
  3. Select "BACS" from drop down
  4. Save changes
  5. Goto WooCommerce > Settings > General
  6. Change Country / State to "United Kingdom"
  7. Change Currency - "Pound sterling"
  8. Save changes
  9. Goto Shop page and add any product to the cart and process for checkout
  10. Use a new payment method
  11. A direct debit popup will open
  12. Set up an ACH Debit Authorization popup that will open
  13. Verify Country, Personal details should be as per checkout detail

Expected Result:

The chosen ACH scheme will be successfully applied to the GoCardless payment method, and the checkout process should proceed smoothly. The mandate creation should be successful, and the payment method should function as expected.

BECS

Test steps:

  1. Goto Woocommerce > Setting > Payments > Direct Debit (GoCardless)
  2. Navigate to Direct Debit Scheme
  3. Select "BECS" from drop down
  4. Save changes
  5. Goto WooCommerce > Settings > General
  6. Change Country / State to "Australia"
  7. Change Currency - "Australian Dollor"
  8. Save changes
  9. Goto Shop page and add any product to the cart and process for checkout
  10. Use a new payment method
  11. A direct debit popup will open
  12. Set up an ACH Debit Authorization popup that will open
  13. Verify Country, Personal details should be as per checkout detail

Expected Result:

The chosen ACH scheme will be successfully applied to the GoCardless payment method, and the checkout process should proceed smoothly. The mandate creation should be successful, and the payment method should function as expected.

Betalingsservice

Test steps:

  1. Goto Woocommerce > Setting > Payments > Direct Debit (GoCardless)
  2. Navigate to Direct Debit Scheme
  3. Select "Betalingsservice" from drop down
  4. Save changes
  5. Goto WooCommerce > Settings > General
  6. Change Country / State to "Denmark"
  7. Change Currency - "Danish Krone"
  8. Save changes
  9. Goto Shop page and add any product to the cart and process for checkout
  10. Use a new payment method
  11. A direct debit popup will open
  12. Set up a Debit Authorization popup that will open
  13. Verify Country, Personal details should be as per checkout detail

Expected Result:

The chosen ACH scheme will be successfully applied to the GoCardless payment method, and the checkout process should proceed smoothly. The mandate creation should be successful, and the payment method should function as expected.

PAD (Pre-Authorized Debit)

Test steps:

  1. Goto Woocommerce > Setting > Payments > Direct Debit (GoCardless)
  2. Navigate to Direct Debit Scheme
  3. Select "Betalingsservice" from drop down
  4. Save changes
  5. Goto WooCommerce > Settings > General
  6. Change Country / State to "United Kingdom"
  7. Change Currency - "Pound Sterling"
  8. Save changes
  9. Goto Shop page and add any product to the cart and process for checkout
  10. Use a new payment method
  11. A direct debit popup will open
  12. Set up a Debit Authorization popup that will open
  13. Verify Country, Personal details should be as per checkout detail

Expected Result:

The chosen ACH scheme will be successfully applied to the GoCardless payment method, and the checkout process should proceed smoothly. The mandate creation should be successful, and the payment method should function as expected.

SEPA Core

Test steps:

  1. Goto Woocommerce > Setting > Payments > Direct Debit (GoCardless)
  2. Navigate to Direct Debit Scheme
  3. Select "SEPA Core" from drop down
  4. Save changes
  5. Goto WooCommerce > Settings > General
  6. Change Country / State to "Germany"
  7. Change Currency - "Euro"
  8. Save changes
  9. Goto Shop page and add any product to the cart and process for checkout
  10. Use a new payment method
  11. A direct debit popup will open
  12. Set up a Debit Authorization popup that will open
  13. Verify Country, Personal details should be as per checkout detail

Expected Result:

The chosen ACH scheme will be successfully applied to the GoCardless payment method, and the checkout process should proceed smoothly. The mandate creation should be successful, and the payment method should function as expected.


Checkout flow

Test Steps:

  1. Add to cart product and checkout with GoCardless
  2. Use a new payment method
  3. Craete a mandate, add necessary details, and click on continue
  4. Add the account holder name and bank details and click on continue
  5. After adding all the details Click on "Set up this direct debit"
  6. Order received

Expected Result: Once the customer confirms the order, they are redirected to your site and shown the standard WooCommerce order confirmation:

Note: Gocardless compatible with WooCommerce cart and checkout block

Screenshot

image

image


Sandbox Simulate a scenario

After placing an order with GoCardless, a scenario must be simulated.

Test Steps:

  1. Place order using GoCardless
  2. Go to GoCardless Dashboard > Customer
  3. Select Customer > Select Bank account
  4. Click on Mandates
  5. Copy the Mandates number
  6. Go to the Developer menu > Simulate a scenario
  7. Scenario > Mandate active > add Mandate ID which we have copy at steps 5 > click on Simulate a scenario
  8. Scenario > Payment confirm > add Payment ID from WordPress order (screenshot is below) > Simulate a scenario

Expected Result

  1. Manate should activate and Confirm the payment
  2. Gocardless webhook events, payment regarding status notes is available in WordPress order.
Screenshot/Video

Screenshot 2023-09-04 at 5 51 49 PM

Screenshare.-.2023-09-04.5_56_22.PM.mp4

Refund

Verify the successful refund process for orders paid through Gocarddless

Test Steps

  1. Open an order made through Gocardless from WooCommerce > Orders
  2. Click on the Refund button
  3. Enter the refund amount and a reason(optional)
  4. Click on Refund via Direct Ddebit (Gocarrdless)
  5. Simulate a scenario to confirm the payment.
  6. Observe the order note message
  7. Cross verify the refund amount and message in the Gocardless Dashboard under Transactions.

Expected Result The refund process for orders paid through the Gocardless payment gateway can be initiated successfully. Verify that the order note contains the refund ID and refund reference information.

Note: The refund endpoint should be enabled for the refund; by default, it is disabled.

Screenshot/Video

image image image


Cross check Subscription flow

pre-requisite WooCommerce Subscriptions (separate plugin)

Test Steps:

  1. Add Subscription product to cart and process to checkout with GoCardless
  2. Goto My account > Subscription > Renew the product Subscription with GoCardless

Expected Result: Subscriptions can be purchased successfully, with recurring payments processed with Gocardless

Note: How to create and checkout with GoCardless in relation to the WooCommerce Subscription extension is available here.


Payment Method

  1. Save payment method during Checkout

Test steps:

  1. Goto Shop page and add to the cart product
  2. Process for checkout
  3. Select GoCardless as a payment method
  4. Select Use a new payment method
  5. Checkmark on "Save to account"

Expected Result:

  1. Payment method should be saved under the My account > Payment method
  2. Customer Can use a previously saved payment method to place order.
  3. The customer should delete a payment method.

Supported version and Plugins

WooCommerce Subscriptions

Test steps:

  1. Goto WP Dashboard
  2. Download and Install WooCommerce Subscriptions extension
  3. Navigate to Product > Add a new product
  4. Goto Product data > Select Simple Subscription
  5. Add required details like (Price, Subscription time period Day,week,month,year)
  6. Publish a product
  7. Goto shop and add to cart pre-order product
  8. Check out with GoCardless

Expected Result:

  1. The WooCommerce Subscriptions extension work seamlessly with GoCardless as the payment method.
  2. Customers are able to purchase a subscription product, and the subscription Renewal process is initiated correctly through the GoCardless gateway

Note: More detail related to WooCommerce Subscriptions


WooCommerce Pre-Orders

Test steps:

  1. Download and Install WooCommerce Pre-Orders extension
  2. Goto WP Dashboard
  3. Navigate to Product > Add a new product
  4. Goto Product data > and Select the Pre-order tab
  5. Enable pre-orders and add required details like (Availability date/time , Pre-order Fee ($))
  6. Select When to Charge like (Upon release Or upfront)
  7. Publish the product
  8. Goto shop and add to cart pre-order product
  9. Check out with GoCardless

Expected Result:

  1. The WooCommerce Pre-Orders extension work seamlessly with GoCardless as the payment method for pre-order products
  2. The payment is processed according to the selected "When to Charge" option, whether upon release or upfront.

Note: More detail related to WooCommerce Pre-Orders


WooCommerce Checkout Block

Test steps:

  1. Download and Install WooCommerce checkout block extension
  2. Goto WP Dashboard
  3. Edit a cart page and add Cart block > and Update
  4. Edit a cart page and add Checkout block > and Update
  5. Add Product to Cart and proceed to checkout
  6. The GoCardless payment option should be available on the checkout page.

Expected Result:

  1. The WooCommerce WooCommerce checkout block extension works seamlessly with GoCardless
  2. Verify that the GoCardless payment option is displayed as a payment method on the checkout page.
  3. Check the order confirmation page to ensure that the payment method is listed as GoCardless.

Email - Email Confirmation for Merchant After Successful Order

Test Steps:

  1. Checkout any product with the GoCardless payment gateway
  2. Check the Merchant's Email Inbox

Expected Result:

  1. An email confirmation should be received in the Merchant's inbox
  2. The payment method mentioned in the email, such as "GoCardless," should match the one selected during checkout.
  3. The email should serve as a confirmation of the successful order and payment processing with GoCardless.
  4. Payment method name, which we have set in the title here, should be used as the mail-in payment method option.
Screenshot

image

image


Email - Email Confirmation for Customer After Successful Order

Test Steps:

  1. Checkout any product with the GoCardless payment gateway
  2. Check the Customer's Email Inbox

Expected Result:

  1. The payment method mentioned in the email, such as "GoCardless," should match the one selected during checkout.

Add support for the Success+ (Intelligent retries)

Test steps:

  1. Enable Success+ on the GoCardless Dashboard. (Follow steps from docs here)
  2. Go to the WooCommerce store front-end, add a product to the cart, and place an order.
  3. Go to the GoCardless dashboard and simulate a scenario to make the order payment failed.

Expected Result:

  1. Confirm that GoCardless automatically retries the payment for the failed order.
  2. Check the WooCommerce edit order screen to ensure that the order status is set to On-Hold and that webhook logs are generated. Validate that the retry mechanism is functioning as expected, ensuring successful payment processing for the order.
Screenshot

retry payment

Note: Related PR


Add support for One Off Instant Bank Pay (Open Banking)

With the support of Instant Bank Pay, we now offer three options for the payment collection flow:

  • Instant Bank Pay only.
  • Instant Bank Pay and Direct Debit (mandate) setup for recurring payments.
  • Mandate only.

Instant bank pay only:

Test steps:

  1. Set the WooCommerce store currency to "GBP".
  2. Add a simple product to the cart and proceed to the checkout page.
  3. Fill out the billing address based in the UK and click "Place Order."
  4. The GoCardless JS drop-in model should be displayed, showing the Instant Bank Pay steps.
  5. Complete the process of the drop-in model and verify that the order is successfully placed.
  6. Verify that the order status is updated to "Processing" after some time, as Instant Bank Pay provides instant payment confirmation.
  7. Set the WooCommerce store currency to "EUR."
  8. Add a simple product to the cart and proceed to the checkout page.
  9. Fill out the billing address based in DE and click "Place Order."
  10. Complete the payment process and ensure that the order status is updated accordingly using Instant Bank Pay.
  11. Test with various banks: GoCardless drop-in provides various banks in the dropdown with different statuses. Try making payments with each bank option and ensure that it works as expected.
  12. Place an order with a Pre-orders product (upfront payment) and verify that it works as expected.

Expected Result:

  1. After configuring the WooCommerce store currency to "GBP," proceed to the checkout page and ensure that the GoCardless JS drop-in model is displayed for Instant Bank Pay.
  2. Successfully complete the Instant Bank Pay process for a product with a UK billing address, and verify that the order is placed without issues.
  3. Confirm that the order status changes to "Processing" promptly after completing the payment, as Instant Bank Pay provides instant payment confirmation.
  4. Change the WooCommerce store currency to "EUR" and repeat the checkout process with a product and billing address based in Germany (DE).
  5. Ensure that Instant Bank Pay functions smoothly with the new currency and billing address, updating the order status accordingly. Test the payment process with various banks provided in the GoCardless drop-in model.
Screenshot
Instant.bank.pay.only.mp4

Instant bank pay and DD setup:

Test steps:

  1. Set the WooCommerce store currency to "GBP" or "EUR."
  2. Add a subscription product to the cart and proceed to the checkout page.
  3. Fill out the billing address and click "Place Order."
  4. The GoCardless JS drop-in model should be displayed, showing the steps for Instant Bank Pay and mandate setup.
  5. Complete the process of the drop-in model and verify that the order is successfully placed.
  6. Add a simple product to the cart and proceed to the checkout page.
  7. Check the "Save payment method" checkbox to save the payment for future use.
  8. The GoCardless JS drop-in model should be displayed, showing the steps for Instant Bank Pay and mandate setup.
  9. Complete the process of the drop-in model and verify that the order is successfully placed.

Expected Result:

  1. Verify that the subscription was created successfully and that subscription-related processes (such as renewal) work correctly.
  2. Verify that the new payment method is added to the customer's account.
  3. Place an order using the saved payment method and ensure that it works as expected.
Screenshot
Instant.bank.pay.and.DD.setup.mp4

Mandate only:

Test steps:

  1. Set up the store currency to "USD" or any other currency not supported by Instant Bank Pay.
  2. Add a simple product to the cart and proceed to the checkout page.
  3. Fill out the billing address and click "Place Order."
  4. The GoCardless JS drop-in model should be displayed, showing the mandate setup steps.
  5. Complete the process of the drop-in model and verify that the order is successfully placed.
  6. Place an order with a Pre-orders product (pay upon release) and verify that it works as expected.
  7. Go to my account > Subscriptions, Click on any active subscription to view it
  8. Click "Change Payment", complete process there and make sure it works as expected.

Expected Result:

  1. Complete the mandate setup process for the product, ensuring that the order is placed without any issues.
  2. Verify that the mandate setup process works seamlessly for Pre-orders products, particularly for pay upon release scenarios.
  3. Navigate to "My Account" > "Subscriptions," select any active subscription, and click on "Change Payment" to modify the payment method and it should work.
Screenshot
Mandate.only.mp4

mandate "cancelled", "expired", "failed", webhook events

Test steps:

  1. Place an order using GoCardless with the "Save payment method" checkbox checked.
  2. Ensure that the payment method is saved to the customer's account and is working as expected.
  3. Go to the GoCardless dashboard and cancel the mandate.
  4. Notice that the saved payment method is removed from the customer's account.
  5. Place an order using GoCardless with the "Save payment method" checkbox checked and ensure that the payment method is saved to the customer's account.
  6. Go to the GoCardless dashboard and simulate a scenario to make the mandate "expired" or "failed".

Expected Result:

  1. Notice that the saved payment method is removed from the customer's account.
Screenshot
Screenshare.-.2024-04-22.10_41_12.AM.mp4

Enable/Disable Instant Bank Pay

Test steps:

  1. Go to "WooCommerce" > "Settings" > "Payments" > "Bank pay (open banking and direct debit via GoCardless)"
  2. Verify that the "Instant Bank Pay" checkbox option is there and by default it is unchecked.
  3. Visit the store, add the product to the cart, Go to the checkout page, and add address details where IBP is supported (eg: country: UK and currency: GBP)
  4. Place an order using the GoCardless payment method and verify the payment is collected via DD setup, not Instant Bank Pay.
  5. Go to GoCardless settings and Enable "Instant Bank Pay" by checking the checkbox
  6. Visit the store, add the product to the cart, Go to the checkout page, and add address details where IBP is supported (eg: country: UK and currency: GBP)
  7. Place an order using the GoCardless payment method and verify the payment is collected via the Instant Bank Pay.
  8. Verify that Payment collected properly with Instant Bank Pay only, Instant Bank Pay and Direct Debit (mandate) setup and Mandate only based on IBP support when "Instant Bank Pay" is enabled. Detailed testing steps can be found in PR

Expected:

Instant Bank Pay Disabled:

GoCardless payment method, the payment should be collected via Direct Debit setup only.

Instant Bank Pay Enable:

GoCardless payment method, the payment should be collected via Instant Bank Pay.

Screenshot
Screen.Recording.2024-07-26.at.4.37.03.PM.mov

Guest user Creation and Payment Processing via GoCardless During Checkout

Preconditions:

A subscription extension is installed and the subscription product is created in WooCommerce.

Scenario 1: Guest user creation During Checkout for simple Products

Test Steps:

  1. Go to WooCommerce > Settings > Accounts & Privacy.
  2. Disable Guest Checkout.
  3. Account creation > Enable Allow customers to create an account during checkout.
  4. Open an incognito browser window.
  5. Visit the WooCommerce store and add a simple product to the cart.
  6. Proceed to checkout and use an email address that is not associated with any existing user account on the site.
  7. Choose GoCardless as the payment method.
  8. Complete the checkout process.

Expected Result:

  1. Ensure that the order is placed successfully.
  2. Confirm that a new user account is created with the provided email.
  3. Verify that GoCardless-related data (e.g., Payment ID, Mandate ID) is recorded correctly in the order note.

Scenario 2: Guest user creation During Checkout for Subscription Products

Test Steps:

  1. Go to WooCommerce > Settings > Accounts & Privacy.
  2. Disable Guest Checkout.
  3. Account creation > Enable Allow customers to create an account during checkout.
  4. Ensure a subscription product is available in your WooCommerce store.
  5. Open an incognito browser window.
  6. Visit the WooCommerce store and add the subscription product to the cart.
  7. Proceed to checkout and use an email address that is not associated with any existing user account on the site.
  8. Choose GoCardless as the payment method.
  9. Complete the checkout process.

Expected Result:

  1. Ensure that the subscription is created successfully.
  2. Confirm that a new user account is created with the provided email.
  3. Verify that GoCardless-related data (e.g., Payment ID, Mandate ID) is recorded correctly in the order note.
Screenshot image

Scenario 1: Guest user creation During Checkout for simple Products

simple_product_new.user.mov

Scenario 2: Guest user creation During Checkout for Subscription Products

subscription_product_GC.mov

Guest customers when a default customer location is not set

Test Steps:

  1. Go to "WooCommerce" > "Settings" > "General" and select "No location by default" in the Default customer location setting.
  2. Go to WooCommerce > Settings > Accounts & Privacy
  3. Navigate to Guest checkout > Make sure to enable > Allow customers to place orders without an account
  4. Visit the store in Incognito mode to place the order as a guest user.
  5. Add an item to the cart and Go to the checkout page.
  6. Fill out address details, place an order using GoCardless, and verify it works perfectly.

Expected Result:

  1. Ensure that the order is placed successfully.
  2. Confirm that a new user account should not created with the provided email.
  3. The guest user’s data is recorded under WooCommerce > Customers but without creating an associated user account.