Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Number Exception for string from Stripe Tax #13349

Open
3 tasks done
danielcherubini opened this issue Jan 19, 2025 · 4 comments
Open
3 tasks done

Invalid Number Exception for string from Stripe Tax #13349

danielcherubini opened this issue Jan 19, 2025 · 4 comments
Labels
type: bug A confirmed bug.

Comments

@danielcherubini
Copy link

danielcherubini commented Jan 19, 2025

Describe the bug
When loading the order detail page with Stripe Tax Addon enabled, (the woocommerce made one) the app crashes.

To Reproduce
Steps to reproduce the behavior:

  1. open app
  2. navigate to order page
  3. click an order to go to the detail page

Screenshots
here's a stack trace instead.

FATAL EXCEPTION: main
Process: com.woocommerce.android, PID: 4529
com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: For input string: "stripe_tax_for_woocommerce__vat__0.0__Norway Merverdiavgift (MVA)"
	at com.google.gson.internal.bind.TypeAdapters$11.read(TypeAdapters.java:333)
	at com.google.gson.internal.bind.TypeAdapters$11.read(TypeAdapters.java:323)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.readIntoField(ReflectiveTypeAdapterFactory.java:212)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.readField(ReflectiveTypeAdapterFactory.java:433)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:393)
	at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
	at com.google.gson.Gson.fromJson(Gson.java:1227)
	at com.google.gson.Gson.fromJson(Gson.java:1137)
	at com.google.gson.Gson.fromJson(Gson.java:1047)
	at com.google.gson.Gson.fromJson(Gson.java:1014)
	at org.wordpress.android.fluxc.model.OrderEntity.getTaxLineList(OrderEntity.kt:162)
	at org.wordpress.android.fluxc.network.rest.wpcom.wc.order.StripOrder.invoke(StripOrder.kt:26)
	at org.wordpress.android.fluxc.network.rest.wpcom.wc.order.OrderDtoMapper.toDatabaseEntity(OrderDtoMapper.kt:94)
	at org.wordpress.android.fluxc.network.rest.wpcom.wc.order.OrderRestClient.fetchSingleOrder(OrderRestClient.kt:484)
	at org.wordpress.android.fluxc.network.rest.wpcom.wc.order.OrderRestClient$fetchSingleOrder$1.invokeSuspend(OrderRestClient.kt:0)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@dcfe663, Dispatchers.Main.immediate]
Caused by: java.lang.NumberFormatException: For input string: "stripe_tax_for_woocommerce__vat__0.0__Norway Merverdiavgift (MVA)"
	at jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054)
	at jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
	at java.lang.Double.parseDouble(Double.java:662)
	at com.google.gson.stream.JsonReader.nextLong(JsonReader.java:977)
	at com.google.gson.internal.bind.TypeAdapters$11.read(TypeAdapters.java:331)
	... 22 more

Expected behavior
The app doesn't crash, perhaps even some kind of warning..

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.

Mobile Environment
Please include:

  • Device: Google Pixel 8 Pro
  • Android version: 15
  • WooCommerce Android version: 21.3

WordPress Environment

``` ` ### WordPress Environment ###

WordPress address (URL): https://lwbrushes.store
Site address (URL): https://lwbrushes.store
WC Version: 9.5.2
Legacy REST API Package Version: ✔ 1.0.4
Action Scheduler Version: ✔ 3.8.2
Log Directory Writable: ✔
WP Version: 6.7.1
WP Multisite: –
WP Memory Limit: 768 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: ✔

Server Environment

Server Info: Apache
PHP Version: 8.2.27
PHP Post Max Size: 256 MB
PHP Time Limit: 120
PHP Max Input Vars: 3000
cURL Version: 8.2.1
OpenSSL/3.1.4

SUHOSIN Installed: –
MySQL Version: 8.0.39-30
Max Upload Size: 256 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

Database

WC Database Version: 9.5.2
WC Database Prefix: yng_
Total Database Size: 23.47MB
Database Data Size: 17.51MB
Database Index Size: 5.96MB
yng_woocommerce_sessions: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
yng_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
yng_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
yng_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_actionscheduler_actions: Data: 1.52MB + Index: 0.44MB + Engine InnoDB
yng_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_actionscheduler_logs: Data: 0.36MB + Index: 0.23MB + Engine InnoDB
yng_aioseo_blc_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_aioseo_blc_link_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_aioseo_blc_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_aioseo_blc_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
yng_aioseo_blc_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_aioseo_cache: Data: 0.11MB + Index: 0.03MB + Engine InnoDB
yng_aioseo_crawl_cleanup_blocked_args: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_aioseo_crawl_cleanup_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
yng_aioseo_posts: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
yng_aioseo_writing_assistant_keywords: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_aioseo_writing_assistant_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
yng_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB
yng_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
yng_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_automation_run_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
yng_mailpoet_automation_run_subjects: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_mailpoet_automation_runs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
yng_mailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_mailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_mailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
yng_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
yng_mailpoet_newsletters: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
yng_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
yng_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
yng_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
yng_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
yng_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_mailpoet_subscribers: Data: 0.02MB + Index: 0.23MB + Engine InnoDB
yng_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_options: Data: 6.31MB + Index: 0.09MB + Engine InnoDB
yng_postmeta: Data: 0.36MB + Index: 0.14MB + Engine InnoDB
yng_posts: Data: 1.45MB + Index: 0.06MB + Engine InnoDB
yng_s2w_error_product_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_sgs_log_events: Data: 0.16MB + Index: 0.06MB + Engine InnoDB
yng_sgs_log_visitors: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_stripe_tax_for_wc_calculate_tax: Data: 0.31MB + Index: 0.02MB + Engine InnoDB
yng_stripe_tax_for_wc_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_stripe_tax_for_wc_products: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_stripe_tax_for_wc_tax_codes: Data: 0.20MB + Index: 0.00MB + Engine InnoDB
yng_stripe_tax_for_wc_tax_transactions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_trp_dictionary_en_us_nb_no: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
yng_trp_gettext_en_us: Data: 0.52MB + Index: 0.55MB + Engine InnoDB
yng_trp_gettext_nb_no: Data: 0.33MB + Index: 0.31MB + Engine InnoDB
yng_trp_gettext_original_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_trp_gettext_original_strings: Data: 0.45MB + Index: 0.31MB + Engine InnoDB
yng_trp_original_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
yng_trp_original_strings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_userfeedback_survey_responses: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_userfeedback_surveys: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_usermeta: Data: 0.16MB + Index: 0.03MB + Engine InnoDB
yng_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
yng_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
yng_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
yng_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
yng_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
yng_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
yng_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
yng_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
yng_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
yng_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
yng_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
yng_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
yng_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB
yng_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

Post Type Counts

attachment: 97
custom_css: 2
customize_changeset: 72
language_switcher: 4
mailpoet_page: 2
monsterinsights_note: 1
nav_menu_item: 7
page: 11
post: 4
product: 18
revision: 55
shop_order_placehold: 1
wp_block: 6
wp_font_face: 36
wp_font_family: 12

Security

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

Active Plugins (26)

All in One SEO: by All in One SEO Team – 4.7.8
Botiga Pro: by aThemes – 1.4.10
Bring Fraktguiden for WooCommerce: by Cove AS – 1.10.12
Broken Link Checker by AIOSEO: by All in One SEO Team – 1.2.3
Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 9.2.4
Google for WooCommerce: by WooCommerce – 2.9.5
Site Kit by Google: by Google – 1.144.0
Jetpack: by Automattic – 14.2.1
HubSpot All-In-One Marketing - Forms, Popups, Live Chat: by HubSpot – 11.1.75
MailPoet: by MailPoet – 5.6.1
OptinMonster: by OptinMonster Popup Builder Team – 2.16.13
Otter – Page Builder Blocks & Extensions for Gutenberg: by ThemeIsle – 3.0.9
Pinterest for WooCommerce: by WooCommerce – 1.4.14
Speed Optimizer: by SiteGround – 7.7.2
Security Optimizer: by SiteGround – 1.5.7
Stripe Tax - Sales tax automation for WooCommerce: by – 1.1.5
TikTok: by TikTok – 1.3.0
TranslatePress - Multilingual: by Cozmoslabs
Razvan Mocanu
Madalin Ungureanu
Cristophor Hurduban – 2.9.3

UserFeedback Lite: by UserFeedback Team – 1.4.0
WooCommerce.com Update Manager: by Automattic – 1.0.3
WooCommerce Legacy REST API: by WooCommerce – 1.0.4
WooPayments: by WooCommerce – 8.8.0
WooCommerce: by Automattic – 9.5.2
WordPress Importer: by wordpressdotorg – 0.8.3
SiteGround Central: by SiteGround – 3.3.1
WPForms Lite: by WPForms – 1.9.3.1

Inactive Plugins (2)

Jetpack Boost: by Automattic - Jetpack Site Speed team – 3.7.0
WooCommerce Stripe Gateway: by Stripe – 9.1.1

Dropin Plugins ()

object-cache.php: Memcached

Settings

Legacy API Enabled: ✔
Force SSL: –
Currency: NOK (kr)
Currency Position: left_space
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: ✔
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: 5 MB

WC Pages

Shop base: #53 - /shop/
Cart: #54 - /cart/ - Contains the [woocommerce_cart] shortcode
Checkout: #55 - /checkout/ - Contains the [woocommerce_checkout] shortcode
My account: #56 - /my-account/
Terms and conditions: ❌ Page not set

Theme

Name: Botiga
Version: 2.2.16
Author URL: https://athemes.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.8.0
Connected to WPCOM: Yes
WPCOM Blog ID: 240423240
Account ID: acct_1QdioRFgwrzHalS6
Payment Gateway: Enabled
Test Mode: Disabled
Enabled APMs: card,klarna
WooPay: Not eligible
Apple Pay / Google Pay: Enabled (product,cart,checkout)
Fraud Protection Level: basic
Multi-currency: Enabled
Auth and Capture: Disabled
Documents: Disabled
Logging: Disabled

MailPoet

Sending Method: MailPoet
Send all site's emails with: Default WordPress sending method
Task Scheduler method: Action Scheduler
Cron ping URL: https://lwbrushes.store?mailpoet_router&endpoint=cron_daemon&action=ping

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: 2025-01-19 21:28:50 +00:00
Options: ✔
Notes: 54
Onboarding: completed

Action Scheduler

Canceled: 5
Oldest: 2025-01-07 17:35:36 +0000
Newest: 2025-01-19 10:37:10 +0000

Complete: 1,619
Oldest: 2025-01-05 21:52:53 +0000
Newest: 2025-01-19 12:34:10 +0000

Failed: 1
Oldest: 2025-01-05 22:14:19 +0000
Newest: 2025-01-05 22:14:19 +0000

Pending: 15
Oldest: 2025-01-19 12:36:10 +0000
Newest: 2025-02-03 06:00:00 +0000

Status report information

Generated at: 2025-01-19 13:34:12 +01:00
`

</details>
@danielcherubini danielcherubini added the type: bug A confirmed bug. label Jan 19, 2025
@dangermattic
Copy link
Collaborator

🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.

@danielcherubini
Copy link
Author

danielcherubini commented Jan 19, 2025

Here's the value of taxLines which is where it's crashing.

[
  {
    "id": 37,
    "rate_code": "stripe_tax_for_woocommerce__vat__0.0__Norway Merverdiavgift (MVA)",
    "rate_id": "stripe_tax_for_woocommerce__vat__0.0__Norway Merverdiavgift (MVA)",
    "label": "Norway Merverdiavgift (MVA)",
    "compound": false,
    "tax_total": "0.00",
    "shipping_tax_total": "0.00",
    "rate_percent": 0,
    "meta_data": []
  },
  {
    "id": 38,
    "rate_code": "stripe_tax_for_woocommerce__shipping_tax__0__Shipping Tax",
    "rate_id": "stripe_tax_for_woocommerce__shipping_tax__0__Shipping Tax",
    "label": "Shipping Tax",
    "compound": false,
    "tax_total": "0.00",
    "shipping_tax_total": "0.00",
    "rate_percent": 0,
    "meta_data": []
  }
]

@danielcherubini
Copy link
Author

It would appear that rate_id is a string instead of a Long.

@danielcherubini
Copy link
Author

lastly, it seems like it's also a Long in the ios app
https://github.com/woocommerce/woocommerce-ios/blob/99a403fe2d27628642f729b09a47fe02b597332d/Networking/Networking/Model/OrderTaxLine.swift#L43C3-L43C71

My guess is either i've set something up wrong in stripe... OR .. stripe changed their payload contract.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A confirmed bug.
Projects
None yet
Development

No branches or pull requests

2 participants