[GlobalStep] Payment method name fails to appear in the "Refund via WooPayments" button on the "Edit order" page.
Closed this issue · 0 comments
Describe the bug
Payment method name fails to appear in the "Refund via WooPayments" button on the "Edit order" page.
Environment:
Woocommerce Version: WooCommerce 9.5.0
WooCommerce Payments: 8.7.0-test-2
WordPress version: v6.7.1
PC:
Windows 10,
Chrome(Version 131.0.6778.140)
Firefox (Version133.0.3)
To Reproduce
- Create any test site.
- Install and activate all the required plugins.
- Install and activate the Woocommerce version 9.5.0 plugin.
- Install the version of WooCommerce Payments 8.7.0-test-2 plugin.
- Complete WooCommerce Payments KYC flow.
- Navigate to Payments > Settings.
- Enable any UPE payment method(Bancontact/ P24/ iDeal/ Klarna/ Affirm/ Afterpay).
- On the frontend, add an item to your cart, and go to checkout.
- Complete checkout/place order using UPE payment method.
- Once order is received, navigate to WooCommerce > Orders in the admin.
- Find your order and select it.
- Click Refund, and then increase a line item in your order to 1.
- Observe that, Payment method name fails to appear in the "Refund via WooPayments" button on the "Edit order" page.
Instruction Links:
https://github.com/Automattic/woocommerce-payments/wiki/Testing-instructions-for-critical-flows#p24-checkout
https://github.com/Automattic/woocommerce-payments/wiki/Testing-instructions-for-critical-flows#bancontact-checkout
https://github.com/Automattic/woocommerce-payments/wiki/Testing-instructions-for-critical-flows#ideal-checkout
https://github.com/Automattic/woocommerce-payments/wiki/Testing-instructions-for-critical-flows#klarna-checkout
https://github.com/Automattic/woocommerce-payments/wiki/Testing-instructions-for-critical-flows#affirm-checkout
https://github.com/Automattic/woocommerce-payments/wiki/Testing-instructions-for-critical-flows#afterpay-checkout
Actual behavior
Payment method name fails to appear in the "Refund via WooPayments" button on the "Edit order" page.
Expected behavior
Payment method name should be appear in the "Refund via WooPayments" button on the "Edit order" page.
Screenshots
Woocommerce bugs uploading format:
Isolating the problem (mark completed items with an [x]):
- I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
- This bug happens with a default WordPress theme active, or Storefront.
- I can reproduce this bug consistently using the steps above.
System Status Report
### WordPress Environment ###
WordPress address (URL): [Redacted]
Site address (URL): [Redacted]
WC Version: 9.5.0
Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
Action Scheduler Version: ✔ 3.8.2
Log Directory Writable: ✔
WP Version: 6.7.1
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: ✔
### Server Environment ###
Server Info: nginx
PHP Version: 8.2.26
PHP Post Max Size: 2 GB
PHP Time Limit: 850
PHP Max Input Vars: 6144
cURL Version: 8.10.1
OpenSSL/3.0.15
SUHOSIN Installed: –
MySQL Version: 10.11.9-MariaDB-log
Max Upload Size: 2 GB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔
### Database ###
[REDACTED]
### Post Type Counts ###
attachment: 24
page: 9
post: 4
product: 25
product_variation: 7
revision: 10
shop_coupon: 4
shop_order_placehold: 94
wp_font_face: 36
wp_font_family: 12
wp_navigation: 1
### Security ###
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔
### Active Plugins (6) ###
Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.5
Code Snippets: by Code Snippets Pro – 3.6.6.1
Query Monitor: by John Blackbourn – 3.17.0
WooPayments: by WooCommerce – 8.7.0-test-2
WooCommerce Subscriptions: by WooCommerce – 6.9.1
WooCommerce: by Automattic – 9.5.0
### Inactive Plugins (1) ###
WooCommerce Payments Dev Tools: by Automattic –
### Dropin Plugins () ###
advanced-cache.php: advanced-cache.php
db.php: Query Monitor Database Class (Drop-in)
object-cache.php: Memcached
### Must Use Plugins (1) ###
load.php: by –
### Settings ###
Legacy API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
subscription (subscription)
variable (variable)
variable subscription (variable-subscription)
Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)
Connected to WooCommerce.com: –
Enforce Approved Product Download Directories: ✔
HPOS feature enabled: ✔
Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
HPOS data sync enabled: –
### Logging ###
Enabled: ✔
Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
Retention period: 30 days
Level threshold: –
Log directory size: 6 MB
### WC Pages ###
Shop base: #5 - /shop/
Cart: #6 - /cart/ - Contains the woocommerce/cart block
Checkout: #7 - /checkout/ - Contains the woocommerce/checkout block
My account: #8 - /my-account/
Terms and conditions: ❌ Page not set
### Theme ###
Name: Storefront
Version: 4.6.0
Author URL: https://woocommerce.com/
Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
Theme type: Classic theme
WooCommerce Support: ✔
### Templates ###
Overrides: –
### WooPayments ###
Version: 8.7.0-test-2
Connected to WPCOM: Yes
WPCOM Blog ID: 239976271
Account ID: acct_1QWub1Fd7BmnpZSp
Payment Gateway: Enabled
Test Mode: Enabled
Enabled APMs: card,p24
WooPay: Disabled
WooPay Incompatible Extensions: No
Apple Pay / Google Pay: Enabled (product,cart,checkout)
Fraud Protection Level: basic
Multi-currency: Enabled
Auth and Capture: Disabled
Documents: Disabled
Logging: Enabled
### Subscriptions ###
WCS_DEBUG: ✔ No
Subscriptions Mode: ✔ Live
Subscriptions Live URL:
Subscriptions-core Library Version: 7.7.2
Subscription Statuses: wc-active: 12
wc-cancelled: 1
WooCommerce Account Connected: ❌ No
Report Cache Enabled: ✔ Yes
Cache Update Failures: ✔ 0 failure
### Store Setup ###
Country / State: United States (US) — California
### Subscriptions by Payment Gateway ###
WooPayments: wc-active: 12
wc-cancelled: 1
### Payment Gateway Support ###
WooPayments: products
refunds
multiple_subscriptions
subscription_cancellation
subscription_payment_method_change_admin
subscription_payment_method_change_customer
subscription_payment_method_change
subscription_reactivation
subscription_suspension
subscriptions
subscription_amount_changes
subscription_date_changes
tokenization
add_payment_method
WooPayments (): products
refunds
multiple_subscriptions
subscription_cancellation
subscription_payment_method_change_admin
subscription_payment_method_change_customer
subscription_payment_method_change
subscription_reactivation
subscription_suspension
subscriptions
subscription_amount_changes
subscription_date_changes
tokenization
add_payment_method
### Admin ###
Enabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customize-store
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
onboarding
onboarding-tasks
pattern-toolkit-full-composability
product-custom-fields
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
printful
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page
launch-your-store
Disabled Features: product-data-views
experimental-blocks
coming-soon-newsletter-template
minified-js
product-pre-publish-modal
settings
async-product-editor-category-field
product-editor-template-system
blueprint
reactify-classic-payments-settings
use-wp-horizon
add-to-cart-with-options-stepper-layout
Daily Cron: ✔ Next scheduled: 2024-12-18 06:12:02 +00:00
Options: ✔
Notes: 61
Onboarding: skipped
### Action Scheduler ###
Canceled: 29
Oldest: 2024-12-17 07:03:51 +0000
Newest: 2024-12-17 10:58:27 +0000
Complete: 617
Oldest: 2024-12-17 06:12:08 +0000
Newest: 2024-12-17 08:54:26 +0000
Failed: 2
Oldest: 2024-12-17 06:46:03 +0000
Newest: 2024-12-17 08:21:11 +0000
Pending: 14
Oldest: 2024-12-18 06:12:08 +0000
Newest: 2025-02-17 08:56:07 +0000
### Status report information ###
Generated at: 2024-12-17 12:37:48 +00:00