woocommerce / woocommerce-gateway-stripe

The official Stripe Payment Gateway for WooCommerce
https://wordpress.org/plugins/woocommerce-gateway-stripe/
232 stars 203 forks source link

Add Multibanco in UPE #3204

Closed Mayisha closed 3 months ago

Mayisha commented 3 months ago

Fixes #3169

Changes proposed in this Pull Request:

Testing instructions

New checkout experience

  1. Disable the Legacy checkout experience checkbox from the Stripe settings page.
  2. Enable Multibanco from the Stripe settings page.
  3. Set store currency as Euro.
  4. As a shopper, add a product to the cart. Go to the checkout page. Confirm that Multibanco is offered as a payment method on both shortcode and block checkout pages.
  5. On the checkout page, select Multibanco and place an order.
  6. Confirm that the voucher details are presented on a modal.
  1. In your admin dashboard, confirm you have a new order with on-hold status. Wait for a few minutes and confirm that the order status is transitioned to processing.
  2. Test on both shortcode and block checkout.
  3. Go to the order edit page of a processing order and refund this order. Check in the Stripe dashboard and confirm that the transaction is marked as refunded.

Legacy checkout experience

  1. Enable the Legacy checkout experience checkbox from the Stripe settings page.
  2. Enable Multibanco from the Stripe settings page.
  3. Set store currency as Euro.
  4. As a shopper, add a product to the cart. Go to the checkout page. Confirm that Multibanco is offered as a payment method on the shortcode checkout but missing on the block checkout pages.
  5. On the checkout page, select Multibanco and place an order. You should be redirected to a Stripe hosted page.

legacy multibanco

  1. In your admin dashboard, confirm you have a new order with on-hold status. Wait for a few minutes and confirm that the order status is transitioned to processing