• Resolved mikolajk1

    (@mikolajk1)


    Hi, Recently i came across a problem with apple pay. I’m using WooCommerce Stripe Gateway plugin. Apple pay works only in checkout page when all customer data is filled in, but when I’m trying to pay with fast checkout button in product page I’m getting errors:

    “We were unable to process your order, please try again”.

    I had similar problem with google pay, while trying to buy product in product page i was getting error saying that “Customer’s phone number is necessary” I changed phone number property that it is no longer required in checkout and it works just fine.

    My woocommerce status:

    <br>### WordPress Environment ###<br><br>WordPress address (URL): https://huephant.com<br>Site address (URL): https://huephant.com<br>WC Version: 9.1.2<br>Legacy REST API Package Version: Wtyczka przestarza?ego REST API nie jest zainstalowana w tej witrynie.<br>Action Scheduler Version: ? 3.7.4<br>Log Directory Writable: ?<br>WP Version: 6.6.1<br>WP Multisite: –<br>WP Memory Limit: 8 GB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: pl_PL<br>External object cache: –<br><br>### Server Environment ###<br><br>Server Info: LiteSpeed<br>PHP Version: 8.1.27<br>PHP Post Max Size: 8 GB<br>PHP Time Limit: 3000<br>PHP Max Input Vars: 6000<br>cURL Version: 7.87.0<br>OpenSSL/1.1.1w<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.5.17-MariaDB<br>Max Upload Size: 2 GB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ?<br><br>### Database ###<br><br>WC Database Version: 8.3.1<br>WC Database Prefix: wp_<br>Ca?kowity rozmiar bazy danych: 79.76MB<br>Rozmiar bazy danych: 72.45MB<br>Rozmiar indeksu bazy danych: 7.31MB<br>wp_woocommerce_sessions: Dane: 0.11MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_woocommerce_api_keys: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_woocommerce_attribute_taxonomies: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_woocommerce_downloadable_product_permissions: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB<br>wp_woocommerce_order_items: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_woocommerce_order_itemmeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_woocommerce_tax_rates: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB<br>wp_woocommerce_tax_rate_locations: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_woocommerce_shipping_zones: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_woocommerce_shipping_zone_locations: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB<br>wp_woocommerce_shipping_zone_methods: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_woocommerce_payment_tokens: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_woocommerce_payment_tokenmeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_woocommerce_log: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_actionscheduler_actions: Dane: 0.08MB + Indeks: 0.11MB + Silnik InnoDB<br>wp_actionscheduler_claims: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_actionscheduler_groups: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_actionscheduler_logs: Dane: 0.06MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_commentmeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_comments: Dane: 0.05MB + Indeks: 0.09MB + Silnik InnoDB<br>wp_e_events: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_e_notes: Dane: 0.02MB + Indeks: 0.17MB + Silnik InnoDB<br>wp_e_notes_users_relations: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB<br>wp_e_submissions: Dane: 0.02MB + Indeks: 0.27MB + Silnik InnoDB<br>wp_e_submissions_actions_log: Dane: 0.02MB + Indeks: 0.11MB + Silnik InnoDB<br>wp_e_submissions_values: Dane: 0.06MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_gla_attribute_mapping_rules: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_gla_budget_recommendations: Dane: 0.19MB + Indeks: 0.14MB + Silnik InnoDB<br>wp_gla_merchant_issues: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_gla_shipping_rates: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_gla_shipping_times: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_links: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_litespeed_url: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_litespeed_url_file: Dane: 0.02MB + Indeks: 0.08MB + Silnik InnoDB<br>wp_options: Dane: 4.06MB + Indeks: 0.16MB + Silnik InnoDB<br>wp_postmeta: Dane: 32.42MB + Indeks: 1.83MB + Silnik InnoDB<br>wp_posts: Dane: 30.36MB + Indeks: 0.34MB + Silnik InnoDB<br>wp_sbi_feeds: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_sbi_feed_caches: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_sbi_instagram_feeds_posts: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_sbi_instagram_feed_locator: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_sbi_instagram_posts: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_sbi_sources: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_termmeta: Dane: 0.06MB + Indeks: 0.06MB + Silnik InnoDB<br>wp_terms: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_term_relationships: Dane: 0.06MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_term_taxonomy: Dane: 0.05MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_tinvwl_analytics: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_tinvwl_items: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_tinvwl_lists: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_trp_dictionary_pl_pl_en_gb: Dane: 0.23MB + Indeks: 0.34MB + Silnik InnoDB<br>wp_trp_gettext_en_gb: Dane: 0.38MB + Indeks: 0.38MB + Silnik InnoDB<br>wp_trp_gettext_original_meta: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB<br>wp_trp_gettext_original_strings: Dane: 0.44MB + Indeks: 0.28MB + Silnik InnoDB<br>wp_trp_gettext_pl_pl: Dane: 1.52MB + Indeks: 0.58MB + Silnik InnoDB<br>wp_trp_original_meta: Dane: 0.09MB + Indeks: 0.13MB + Silnik InnoDB<br>wp_trp_original_strings: Dane: 0.17MB + Indeks: 0.17MB + Silnik InnoDB<br>wp_usermeta: Dane: 0.06MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_users: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB<br>wp_wc_admin_notes: Dane: 0.06MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_wc_admin_note_actions: Dane: 0.05MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_wc_category_lookup: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_wc_customer_lookup: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_wc_download_log: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_wc_orders: Dane: 0.02MB + Indeks: 0.11MB + Silnik InnoDB<br>wp_wc_orders_meta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_wc_order_addresses: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB<br>wp_wc_order_coupon_lookup: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_wc_order_operational_data: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_wc_order_product_lookup: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB<br>wp_wc_order_stats: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB<br>wp_wc_order_tax_lookup: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_wc_product_attributes_lookup: Dane: 0.05MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_wc_product_download_directories: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_wc_product_meta_lookup: Dane: 0.05MB + Indeks: 0.11MB + Silnik InnoDB<br>wp_wc_rate_limits: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_wc_reserved_stock: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_wc_tax_rate_classes: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_wc_webhooks: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_woostify_attribute_index: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_woostify_category_index: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_woostify_filter_index: Dane: 0.27MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_woostify_product_index: Dane: 0.05MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_woostify_sku_index: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_woostify_tag_index: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_woostify_tax_index: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB<br>wp_yoast_indexable: Dane: 0.13MB + Indeks: 0.13MB + Silnik InnoDB<br>wp_yoast_indexable_hierarchy: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB<br>wp_yoast_migrations: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB<br>wp_yoast_primary_term: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB<br>wp_yoast_seo_links: Dane: 0.06MB + Indeks: 0.03MB + Silnik InnoDB<br><br>### Post Type Counts ###<br><br>attachment: 229<br>custom_css: 1<br>elementor_library: 19<br>hf_builder: 3<br>language_switcher: 4<br>mega_menu: 1<br>nav_menu_item: 28<br>oembed_cache: 4<br>page: 22<br>post: 3<br>product: 50<br>product_filter: 2<br>product_variation: 162<br>revision: 890<br>shop_coupon: 4<br>shop_order_placehold: 10<br>size_guide: 1<br>woo_builder: 3<br>wp_template: 2<br>wpcf7_contact_form: 5<br>wpcode: 5<br><br>### Security ###<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ?<br><br>### Active Plugins (21) ###<br><br>FiboSearch - AJAX Search for WooCommerce: przez Zespó? FiboSearch – 1.28.1<br>Contact Form 7: przez Takayuki Miyoshi – 5.8.4<br>Cookie Notice & Compliance dla RODO / CCPA: przez Hu-manity.co – 2.4.16<br>Elementor Pro: przez Elementor.com – 3.17.1<br>Elementor: przez Elementor.com – 3.18.0<br>Furgonetka.pl: przez Furgonetka.pl – 1.3.2<br>Google Listings and Ads: przez WooCommerce – 2.7.6<br>WPCode Lite: przez WPCode – 2.1.10<br>Smash Balloon Instagram Feed: przez Smash Balloon – 6.2.6<br>LiteSpeed Cache: przez LiteSpeed Technologies – 5.7.0.1<br>Lista ?yczeń TI WooCommerce: przez TemplateInvaders - PL Naje?d?cySzablonu – 2.8.0<br>TranslatePress - Multilingual: przez Cozmoslabs<br>Razvan Mocanu<br>Madalin Ungureanu<br>Cristophor Hurduban – 2.8.1<br><br>UpdraftPlus - Kopia/przywracanie: przez UpdraftPlus.Com<br>DavidAnderson – 1.24.4<br><br>Checkout Field Editor for WooCommerce: przez ThemeHigh – 2.0.1<br>Variation Swatches for WooCommerce: przez Emran Ahmed – 2.1.1<br>WooCommerce Stripe Gateway: przez WooCommerce – 8.5.2<br>WooCommerce: przez Automattic – 9.1.2 (dost?pna aktualizacja do wersji 9.1.4)<br>Woostify Pro: przez Woostify – 1.8.0<br>Woostify Sites Library: przez Woostify – 1.4.8<br>Yoast SEO: przez Zespó? Yoast – 23.0<br>WPS Hide Login: przez WPServeur<br>NicolasKulka<br>wpformation – 1.9.13.2<br><br><br>### Inactive Plugins (0) ###<br><br><br>### Settings ###<br><br>API Enabled: –<br>Force SSL: –<br>Currency: PLN (z?)<br>Currency Position: right_space<br>Thousand Separator: <br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature enabled: ?<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: –<br><br>### Logging ###<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 dni<br>Level threshold: –<br>Log directory size: 34 KB<br><br>### WC Pages ###<br><br>Strona sklepu: #691 - /strona-sklepu/<br>Koszyk: #7 - /koszyk/ -  Contains the woocommerce/cart block<br>Zamówienie: #8 - /zamowienie/ -  Contains the woocommerce/checkout block<br>Moje konto: #9 - /moje-konto/<br>Regulamin: #1863 - /regulamin/<br><br>### Theme ###<br><br>Name: Woostify<br>Version: 2.2.6 (dost?pna aktualizacja do wersji 2.3.2)<br>Author URL: https://woostify.com/about<br>Child Theme: ? – Je?li modyfikujesz WooCommerce lub motyw nadrz?dny<br>którego nie jeste? autorem<br>polecamy u?ywanie motywu potomnego. Zobacz: Jak tworzy? motywy potomne<br><br>WooCommerce Support: ?<br><br>### Templates ###<br><br>Overrides: woostify/woocommerce/single-product/stock.php<br><br>### Admin ###<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>pattern-toolkit-full-composability<br>product-pre-publish-modal<br>printful<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br><br>Daily Cron: ? Next scheduled: 2024-07-31 10:52:57 +02:00<br>Options: ?<br>Notes: 79<br>Onboarding: completed<br><br>### Szablony TI WooCommerce Wishlist ###<br><br>Nadpisywanie: –<br><br>### Action Scheduler ###<br><br>Zakończ: 150<br>Oldest: 2024-06-30 13:55:35 +0200<br>Newest: 2024-07-31 01:06:31 +0200<br><br>Niepowodzenie: 3<br>Oldest: 2023-12-04 12:02:00 +0100<br>Newest: 2024-05-22 23:10:40 +0200<br><br>Oczekuj?ce: 3<br>Oldest: 2024-07-31 19:21:49 +0200<br>Newest: 2024-08-01 01:06:31 +0200<br><br><br>### Status report information ###<br><br>Generated at: 2024-07-31 11:53:35 +02:00<br>

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there, @mikolajk1! Thanks for contacting us. I’m happy to help you.

    To confirm, Apple Pay does work correctly on checkout, right?
    So your website meets all the requirements, correct?

    I checked your SSR, and I can see your WooCommerce version is not updated and that your database version does not match the WooCommerce versio, which can cause issues.

    Please update WooCommerce and if the database still does not match the WooCommerce version after that, please update it by either following the warning message a the top of the page on WooCommerce area of the dashboard or going to WooCommerce > Status > Tools > Update Database.

    Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.

    If the issue persists after that please enable Stripe debug mode.
    To to that, please go to WooCommerce > Settings > Payments > Stripe > Settings > Advanced Settings > Enable Log error messages > Save the changes.

    Then please follow the steps you need to trigger the issue and see the error message to see if it generates error logs (they will only show when the issue is triggered after enabling this).

    You can find the logs under WooCommerce > Status > Logs, and you can use the selector to search for Stripe issues. Please also check Fatal Errors there and share both with us here.

    You can paste them on https://pastebin.com/, just make sure to allow enough time for us to check it before it expires ??

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter mikolajk1

    (@mikolajk1)

    Hi there,

    So, I followed your steps and now my database is the same version as my Woocommerce plugin, but It didn’t help.

    I’m still getting same error messages saying that Customer data such as Name, Email address etc. is missing. It is like apple pay is trying to get customer data from checkout fields which are empty and required.

    I turned on stripe debug mode but i don’t really understand it, I don’t think it logged any errors – link to Apple pay logs: https://pastebin.com/DRiT3RqY

    I also read some forums and i found github article “Required fields breaking Apple Pay”. I found this problem very simmilar to ours, but I couldn’t find any solutions. Link to this github issue: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2169

    Looking forward to your reply.

    Have a nice day!

    Hey, @mikolajk1!

    Thanks for the information and the GitHub link.

    Do you have any custom checkout fields on your checkout page?
    What about other checkout modifications?

    Can you please run a conflict test to see if something external is interfering with this?

    To test, you’ll first want to change the theme on your site to Storefront, then check to see if the issue is still present. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you.

    If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.

    — Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.

    — It is important to consider as well a staging functionality in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging for quickly spinning up a new test site.

    You can find more about this in this guide.

    Please let us know about your findings.

    Have a wonderful day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Apple pay doesn’t work in fast checkout’ is closed to new replies.