woocommerce / woocommerce-gateway-stripe

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

Multibanco is not compatible with Checkout Blocks #3122

Closed nicholasjeberlin closed 5 days ago

nicholasjeberlin commented 3 months ago

Describe the bug Multibanco is not compatible with Checkout Blocks. It does work with the older [woocommerce_checkout] shortcode though.

Screenshots Checkout created with [woocommerce_checkout]:

Screenshot 2024-05-06 at 1 07 27 PM

Checkout created with Checkout Blocks:

Screenshot 2024-05-06 at 1 07 38 PM

Environment (please complete the following information):

nicholasjeberlin commented 3 months ago

8151788-zen

james-allan commented 3 months ago

So I believe this is because Multibanco isn't supported via the Stipe UPE API. Multibanco works on the classic (shortcode) checkout by using the classic payment fields and having it's own process_payment() function.

At first I thought this would be a simple fix to make sure multibanco was included in the list of UPE methods but that wouldn't work. I think we'd need to build multibanco as a blocks payment method from the ground up.

Mayisha commented 5 days ago

Multibanco is now supported in the checkout blocks since 8.5.0 for UPE.

Screenshot 2024-08-20 at 1 45 56 PM

You have to enable UPE (uncheck Enable the legacy checkout experience checkbox) in the Stripe settings page and set the store currency to Euro.

Screenshot 2024-08-20 at 1 43 53 PM