You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When refunding an order in WooCommerce you get two options:
Refund manually
Refund via PayPal
When refunding manually in Woo, the refund-action updates the date_modified timestamp for the order.
When refunding via PayPal, the date_modified timestamp for the order is NOT updated.
To Reproduce
Go to order
Click on refund
Choose refund via PayPal
Refund
Expected Behavior
Order created
"date_modified": "2023-01-18T11:08:58"
After refund
"date_modified": "2023-01-18T11:16:10" <--- Update
Actual Behavior
After refund
"date_modified": "2023-01-18T11:08:58" <--- NO update
Environment
WordPress Version 6.1.1
WooCommerce Version 7.2.3
Plugin Version 2.0.1
Browser Chrome Version 108.0.5359.126
Any other plugins installed: Classic Editor, Currency Switcher for WooCommerce, Custom Order Numbers for WooCommerce, ManageWP - Worker, Sharespine Woocommerce Connector, Subscriptions For WooCommerce, WooCommerce Shipping & Tax
Additional Details
We offer a WooCommerce <> PayPal integration for merchants. The integration import orders from Woo and also refunds are imported and saved in our integration platform, as return orders. The integration is looking for changes on the order in Woo, by using the date_modified timestamp from the order.
Above details is just our test-environment for Woo - PayPal, but we have recieved several support requests from our customers, stating they have issues with our integration not creating returnorders even though refunds have been made in Woo.
This has worked fine before, but maybe it was with the old PayPal Checkout plugin?
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔
Active Plugins (9)
ManageWP - Worker: av GoDaddy – 4.9.16
Classic Editor: av Bidragsgivare till WordPress – 1.6.2
Currency Switcher for WooCommerce: av WP Wham – 2.15.1
Custom Order Numbers for WooCommerce: av Tyche Softwares – 1.4.0
Sharespine Woocommerce Connector: av Sharespine AB – 4.6.54
Subscriptions For WooCommerce: av WP Swings – 1.4.7
WooCommerce PayPal Payments: av WooCommerce – 2.0.1
WooCommerce Shipping & Tax: av WooCommerce – 2.1.1
WooCommerce: av Automattic – 7.2.3 (en uppdatering till version 7.3.0 finns tillgänglig)
Inactive Plugins (2)
Payment Plugins for PayPal WooCommerce: av Payment Plugins [email protected] – 1.0.19
WooCommerce PayPal Checkout Gateway: av WooCommerce – 2.1.3
Dropin Plugins (1)
advanced-cache.php: advanced-cache.php
Must Use Plugins (1)
ManageWP - Worker Loader: av GoDaddy –
Settings
API Enabled: ✔
Force SSL: –
Currency: SEK (kr)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
Name: Storefront
Version: 4.2.0
Author URL: https://woocommerce.com/
Child Theme: ❌ – Om du modifierar WooCommerce på ett modertema som du själv inte byggt
så rekommenderar vi att du använder ett barntema istället. Läs: Hur du skapar ett barntema
WooCommerce Support: ✔
Templates
Overrides: –
Currency Switcher Settings
WooCommerce Currency Switcher Plugin: yes
Currency switcher on per product basis: yes
Revert to shop's default currency on checkout: no
Apply currency conversion to fixed amount coupons: yes
Add currency selector for fixed amount coupons: no
Apply currency conversion to shipping amount:
Apply currency conversion to minimum order amount required for free shipping: yes
Apply currency conversion to cart fees: yes
Apply currency conversion to WooCommerce Price Filter Widget:
Switcher placement: Array
(
[0] => single_page_after_price_radio
)
Switcher wrapper: %currency_switcher%
Switcher item format: %currency_name%
Link list switcher separator:
Reposition page after currency switch: no
Rounding: no_round
Number of decimals: 2
Make "pretty price": no
Apply rounding and "pretty price" to shipping rates: no
Apply rounding and "pretty price" to shop's default currency: no
Order currency: no
Format price: no
Currencies:
Currency (shop's default): [SEK] Svenska kronor
Total additional currencies: 2
Additional currency #1: yes
alg_currency_switcher_currency_1: USD
Additional currency #2: yes
alg_currency_switcher_currency_2: EUR
Exchange Rates:
Exchange rates updates: manual
Exchange rates server: ecb
Free Currency Converter API Key: not set
CoinMarketCap API Key:
Exchange rates offset: 0 #1 SEK/USD (Amerikanska dollar):
alg_currency_switcher_exchange_rate_server_SEK_USD:
alg_currency_switcher_exchange_rate_offset_type_SEK_USD:
percent: #2 SEK/EUR (Euro): 0.090405286901
alg_currency_switcher_exchange_rate_server_SEK_EUR: default
alg_currency_switcher_exchange_rate_offset_type_SEK_EUR: default
percent: 0
Currency Countries (by IP):
Currency Countries (by IP):
Enter countries as comma separated text:
Override country: #1 [USD] Amerikanska dollar: Array
(
[0] =>
) #2 [EUR] Euro: Array
(
[0] =>
)
Currency Languages (Locales):
Currency Languages (Locales):
Enter locales as comma separated text:
Always use locale to assign currency: #1 [USD] Amerikanska dollar: Array
(
[0] =>
) #2 [EUR] Euro: Array
(
[0] =>
)
Price Formats:
#0 [SEK] Svenska kronor: left
Additional currency code position (optional):
Tusentalsavgränsare: ,
Decimalavgränsare: .
Antal decimaler: 2
Currency Symbol: #1 [USD] Amerikanska dollar:
Additional currency code position (optional):
Tusentalsavgränsare:
Decimalavgränsare:
Antal decimaler:
Currency Symbol: #2 [EUR] Euro:
Additional currency code position (optional):
Tusentalsavgränsare:
Decimalavgränsare:
Antal decimaler:
Currency Symbol:
Flags:
#0 [SEK] Svenska kronor: #1 [USD] Amerikanska dollar: #2 [EUR] Euro:
Price conversion method:
Fix mini cart:
Disable on URI:
Additional price filters:
Price filters to remove:
Session save path:
WooCommerce PayPal Payments
Onboarded: ✔
Shop country code: SE
WooCommerce currency supported: ✔
Advanced Card Processing available in country: –
Pay Later messaging available in country: –
Webhook status: ✔
Vault enabled: ✔
Logging enabled: –
Reference Transactions: ✔
Used PayPal Checkout plugin: ✔
Tracking enabled: ✔
Describe the Bug
When refunding an order in WooCommerce you get two options:
When refunding manually in Woo, the refund-action updates the
date_modified
timestamp for the order.When refunding via PayPal, the
date_modified
timestamp for the order is NOT updated.To Reproduce
Expected Behavior
Order created
"date_modified": "2023-01-18T11:08:58"
After refund
"date_modified": "2023-01-18T11:16:10" <--- Update
Actual Behavior
After refund
"date_modified": "2023-01-18T11:08:58" <--- NO update
Environment
Additional Details
We offer a WooCommerce <> PayPal integration for merchants. The integration import orders from Woo and also refunds are imported and saved in our integration platform, as return orders. The integration is looking for changes on the order in Woo, by using the
date_modified
timestamp from the order.Above details is just our test-environment for Woo - PayPal, but we have recieved several support requests from our customers, stating they have issues with our integration not creating returnorders even though refunds have been made in Woo.
This has worked fine before, but maybe it was with the old PayPal Checkout plugin?
System status
` ### WordPress Environment ###WordPress address (URL): https://testshops.dev-sharespine.se/paypal
Site address (URL): https://testshops.dev-sharespine.se/paypal
WC Version: 7.2.3
REST API Version: ✔ 7.2.3
WC Blocks Version: ✔ 8.9.4
Action Scheduler Version: ✔ 3.4.0
Log Directory Writable: ✔
WP Version: 6.1.1
WP Multisite: –
WP Memory Limit: 2 GB
WP Debug Mode: –
WP Cron: ✔
Language: sv_SE
External object cache: –
Server Environment
Server Info: LiteSpeed
PHP Version: 7.4.33
PHP Post Max Size: 50 MB
PHP Time Limit: 90
PHP Max Input Vars: 50000
cURL Version: 7.84.0
OpenSSL/1.1.1p
SUHOSIN Installed: –
MySQL Version: 5.5.5-10.5.18-MariaDB-cll-lve
Max Upload Size: 50 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔
Database
WC Database Version: 7.2.3
WC Database Prefix: wpum_
Total databasstorlek: 2.40MB
Datastorlek för databas: 1.95MB
Indexstorlek för databas: 0.45MB
wpum_woocommerce_sessions: Data: 0.05MB + Index: 0.00MB + Motor MyISAM
wpum_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB + Motor MyISAM
wpum_woocommerce_order_itemmeta: Data: 0.04MB + Index: 0.04MB + Motor MyISAM
wpum_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_actionscheduler_actions: Data: 0.05MB + Index: 0.03MB + Motor MyISAM
wpum_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_actionscheduler_logs: Data: 0.03MB + Index: 0.02MB + Motor MyISAM
wpum_commentmeta: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_comments: Data: 0.03MB + Index: 0.02MB + Motor MyISAM
wpum_links: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_litespeed_img_optm: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_options: Data: 1.50MB + Index: 0.08MB + Motor MyISAM
wpum_postmeta: Data: 0.14MB + Index: 0.10MB + Motor MyISAM
wpum_posts: Data: 0.03MB + Index: 0.01MB + Motor MyISAM
wpum_termmeta: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_terms: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_term_relationships: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_usermeta: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_users: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Motor MyISAM
wpum_wc_admin_note_actions: Data: 0.02MB + Index: 0.01MB + Motor MyISAM
wpum_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_wc_download_log: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
wpum_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Motor MyISAM
wpum_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Motor MyISAM
Post Type Counts
attachment: 3
page: 8
post: 2
product: 5
revision: 1
shop_order: 40
shop_order_refund: 8
wps_subscriptions: 2
Security
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔
Active Plugins (9)
ManageWP - Worker: av GoDaddy – 4.9.16
Classic Editor: av Bidragsgivare till WordPress – 1.6.2
Currency Switcher for WooCommerce: av WP Wham – 2.15.1
Custom Order Numbers for WooCommerce: av Tyche Softwares – 1.4.0
Sharespine Woocommerce Connector: av Sharespine AB – 4.6.54
Subscriptions For WooCommerce: av WP Swings – 1.4.7
WooCommerce PayPal Payments: av WooCommerce – 2.0.1
WooCommerce Shipping & Tax: av WooCommerce – 2.1.1
WooCommerce: av Automattic – 7.2.3 (en uppdatering till version 7.3.0 finns tillgänglig)
Inactive Plugins (2)
Payment Plugins for PayPal WooCommerce: av Payment Plugins
[email protected] – 1.0.19
WooCommerce PayPal Checkout Gateway: av WooCommerce – 2.1.3
Dropin Plugins (1)
advanced-cache.php: advanced-cache.php
Must Use Plugins (1)
ManageWP - Worker Loader: av GoDaddy –
Settings
API Enabled: ✔
Force SSL: –
Currency: SEK (kr)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
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: –
Order datastore: WC_Order_Data_Store_CPT
WC Pages
Butikbas: #6 - /butik/
Varukorg: #7 - /varukorg/
Kassan: #8 - /kassan/
Mitt konto: #9 - /mitt-konto/
Villkor: #13 - /villkor/
Theme
Name: Storefront
Version: 4.2.0
Author URL: https://woocommerce.com/
Child Theme: ❌ – Om du modifierar WooCommerce på ett modertema som du själv inte byggt
så rekommenderar vi att du använder ett barntema istället. Läs: Hur du skapar ett barntema
WooCommerce Support: ✔
Templates
Overrides: –
Currency Switcher Settings
WooCommerce Currency Switcher Plugin: yes
Currency switcher on per product basis: yes
Revert to shop's default currency on checkout: no
Apply currency conversion to fixed amount coupons: yes
Add currency selector for fixed amount coupons: no
Apply currency conversion to shipping amount:
Apply currency conversion to minimum order amount required for free shipping: yes
Apply currency conversion to cart fees: yes
Apply currency conversion to WooCommerce Price Filter Widget:
Switcher placement: Array
(
[0] => single_page_after_price_radio
)
Switcher wrapper: %currency_switcher%
Switcher item format: %currency_name%
Link list switcher separator:
Reposition page after currency switch: no
Rounding: no_round
Number of decimals: 2
Make "pretty price": no
Apply rounding and "pretty price" to shipping rates: no
Apply rounding and "pretty price" to shop's default currency: no
Order currency: no
Format price: no
Currencies:
Currency (shop's default): [SEK] Svenska kronor
Total additional currencies: 2
Additional currency #1: yes
alg_currency_switcher_currency_1: USD
Additional currency #2: yes
alg_currency_switcher_currency_2: EUR
Exchange Rates:
Exchange rates updates: manual
Exchange rates server: ecb
Free Currency Converter API Key: not set
CoinMarketCap API Key:
Exchange rates offset: 0
#1 SEK/USD (Amerikanska dollar):
alg_currency_switcher_exchange_rate_server_SEK_USD:
alg_currency_switcher_exchange_rate_offset_type_SEK_USD:
percent:
#2 SEK/EUR (Euro): 0.090405286901
alg_currency_switcher_exchange_rate_server_SEK_EUR: default
alg_currency_switcher_exchange_rate_offset_type_SEK_EUR: default
percent: 0
Currency Countries (by IP):
Currency Countries (by IP):
Enter countries as comma separated text:
Override country:
#1 [USD] Amerikanska dollar: Array
(
[0] =>
)
#2 [EUR] Euro: Array
(
[0] =>
)
Currency Languages (Locales):
Currency Languages (Locales):
Enter locales as comma separated text:
Always use locale to assign currency:
#1 [USD] Amerikanska dollar: Array
(
[0] =>
)
#2 [EUR] Euro: Array
(
[0] =>
)
Price Formats:
#0 [SEK] Svenska kronor: left
Additional currency code position (optional):
Tusentalsavgränsare: ,
Decimalavgränsare: .
Antal decimaler: 2
Currency Symbol:
#1 [USD] Amerikanska dollar:
Additional currency code position (optional):
Tusentalsavgränsare:
Decimalavgränsare:
Antal decimaler:
Currency Symbol:
#2 [EUR] Euro:
Additional currency code position (optional):
Tusentalsavgränsare:
Decimalavgränsare:
Antal decimaler:
Currency Symbol:
Flags:
#0 [SEK] Svenska kronor:
#1 [USD] Amerikanska dollar:
#2 [EUR] Euro:
Price conversion method:
Fix mini cart:
Disable on URI:
Additional price filters:
Price filters to remove:
Session save path:
WooCommerce PayPal Payments
Onboarded: ✔
Shop country code: SE
WooCommerce currency supported: ✔
Advanced Card Processing available in country: –
Pay Later messaging available in country: –
Webhook status: ✔
Vault enabled: ✔
Logging enabled: –
Reference Transactions: ✔
Used PayPal Checkout plugin: ✔
Tracking enabled: ✔
Admin
Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
experimental-products-task
experimental-import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
multichannel-marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page
Disabled Features: minified-js
new-product-management-experience
settings
Daily Cron: ✔ Next scheduled: 2023-01-19 06:36:01 +01:00
Options: ✔
Notes: 110
Onboarding: completed
Action Scheduler
Färdigbehandlad: 117
Oldest: 2022-12-19 09:59:38 +0100
Newest: 2023-01-18 11:46:17 +0100
Väntar: 4
Oldest: 2023-01-18 12:46:17 +0100
Newest: 2023-01-19 11:16:10 +0100
Status report information
Generated at: 2023-01-18 11:56:54 +01:00
`
The text was updated successfully, but these errors were encountered: