• Resolved Gebrüder Holz

    (@gebuederholz)


    Hello everybody,
    we’ve been using the PayPal Standard Plugin and tried to switch to the new one. But it doesn’t work.
    Users can’t complete the payment. If they click the final button of the PayPal Popup they get back to the checkout form with lots of validation errors:
    “name is required”
    “street is required”
    and so on.

    Best Thomas

    ### WordPress Environment ###

    WordPress address (URL):
    Site address (URL):
    WC Version: 6.3.1
    REST API Version: ✔ 6.3.1
    WC Blocks Version: ✔ 6.9.0
    Action Scheduler Version: ✔ 3.4.0
    WC Admin Version: ✔ 3.2.1
    Log Directory Writable: ✔
    WP Version: 5.9.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: de_DE
    External object cache: –

    ### Server Environment ###

    SUHOSIN Installed: –
    Max Upload Size: 50 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 6.3.1
    WC Database Prefix: wp_
    Datenbank-Gesamtgröße: 19.91MB
    Datenbank-Datengröße: 15.43MB
    Datenbank-Indexgröße: 4.48MB
    wp_woocommerce_sessions: Daten: 0.08MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Daten: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Daten: 0.22MB + Index: 0.19MB + Engine InnoDB
    wp_woocommerce_tax_rates: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Daten: 0.11MB + Index: 0.13MB + Engine InnoDB
    wp_actionscheduler_claims: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Daten: 0.09MB + Index: 0.03MB + Engine InnoDB
    wp_ce4wp_abandoned_checkout: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Daten: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Daten: 0.11MB + Index: 0.09MB + Engine InnoDB
    wp_koko_analytics_post_stats: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_koko_analytics_referrer_stats: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_koko_analytics_referrer_urls: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_koko_analytics_site_stats: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailchimp_carts: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Daten: 4.28MB + Index: 0.14MB + Engine InnoDB
    wp_postmeta: Daten: 3.41MB + Index: 1.92MB + Engine InnoDB
    wp_posts: Daten: 5.48MB + Index: 0.23MB + Engine InnoDB
    wp_smush_dir_images: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Daten: 0.11MB + Index: 0.09MB + Engine InnoDB
    wp_users: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Daten: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Daten: 0.05MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Daten: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_gzd_dhl_im_products: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_dhl_im_product_services: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_packaging: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_gzd_packagingmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_shipmentmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_shipments: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_woocommerce_gzd_shipment_itemmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_shipment_items: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_gzd_shipment_labelmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_shipment_labels: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_shipping_provider: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_gzd_shipping_providermeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpmailsmtp_debug_events: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_tasks_meta: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Daten: 0.17MB + Index: 0.09MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB

    ### Post Type Counts ###

    attachment: 155
    custom_css: 1
    customize_changeset: 1
    nav_menu_item: 21
    page: 21
    post: 1
    product: 16
    product_variation: 6
    product-feed: 1
    revision: 344
    shop_coupon: 101
    shop_order: 222
    shop_order_refund: 2
    wcpa_pt_forms: 6
    wphb_minify_group: 8

    ### Security ###

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

    ### Active Plugins (15) ###

    Koko Analytics: von ibericode – 1.0.29
    Cool Zeitleiste: von Cool Plugins – 2.3.3
    WooCommerce Coupon Generator: von Jeroen Sormani – 1.2.0
    DSGVO All in one for WP: von Michael Leithold – 4.1
    Favicon by RealFaviconGenerator: von Philippe Bernard – 1.3.23
    Hummingbird: von WPMU DEV – 3.3.2
    Loco Translate: von Tim Whitlock – 2.6.1
    Ultimate Addons for Gutenberg: von Brainstorm Force – 1.25.4
    WooCommerce Custom Product Addons (Free): von Acowebs – 2.6.1
    Sofortüberweisung / Klarna Gateway für Woocommerce: von Michael Leithold – 1.3.4
    WooCommerce: von Automattic – 6.3.1
    Yoast SEO: von Team Yoast – 18.4
    WP Mail SMTP: von WPForms – 3.3.0
    WP Nav Plus: von mattkeys – 3.4.9
    Smush: von WPMU DEV – 3.9.5

    ### Inactive Plugins (4) ###

    Product Feed Manager for WooCommerce: von RexTheme – 7.1.1
    Smart PayPal Checkout For WooCommerce: von mbjtech – 3.0.0
    WooCommerce Payments: von Automattic – 3.8.2
    WooCommerce PayPal Payments: von WooCommerce – 1.7.0

    ### Dropin Plugins (1) ###

    advanced-cache.php: advanced-cache.php

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right_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: –

    ### WC Pages ###

    Shop-Basis: #522 – /produkte/
    Warenkorb: #9 – /warenkorb/
    Kasse: #10 – /kasse/
    Mein Konto: #11 – /kundenkonto/
    Allgemeine Geschäftsbedingungen: #164 – /agb/

    ### Theme ###

    Name: SUPER BROS
    Version: 1.3
    Author URL: https://gebrüder-holz.de
    Child Theme: ❌ – Wenn du WooCommerce mit einem Theme
    das du nicht selbst entwickelt hast
    an eigene Bedürfnisse anpasst
    dann empfehlen wir die Verwendung eines Child-Themes. Siehe Wie du ein Child-Theme erstellst (engl.)

    WooCommerce Support: ✔

    ### Templates ###

    Overrides: superbros/woocommerce/emails/email-styles.php
    superbros/woocommerce/loop/rating.php

    ### Action Scheduler ###

    Abgeschlossen: 277
    Oldest: 2022-02-21 08:47:05 +0000
    Newest: 2022-03-22 11:40:25 +0000

    Ausstehend: 1
    Oldest: 2022-03-22 17:07:32 +0000
    Newest: 2022-03-22 17:07:32 +0000

    ### Status report information ###

    Generated at: 2022-03-22 12:41:16 +01:00
    `

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @gebuederholz,

    On the Checkout page, users must still first provide the details in the required form fields as was the case with the PayPal Standard integration.

    The buttons on the non-Checkout pages work differently as these will collect the buyer details from PayPal and automatically transmit them to the WooCommerce Checkout form fields: https://woocommerce.com/document/woocommerce-paypal-payments/#paypal-on-non-checkout-pages

    The PayPal smart button on the checkout page replaces the place order button and still needs the Checkout details to be present. There is currently an issue that prevents the form field validation from happening directly when the user clicks the PayPal button, but we are working to resolve this in a future update. You can read more about it in the GitHub issue here: https://github.com/woocommerce/woocommerce-paypal-payments/issues/513

    But basically, this would be the expected behavior for now if the buyer doesn’t fill in the required Checkout fields.

    Kind regards,
    Niklas

    Thread Starter Gebrüder Holz

    (@gebuederholz)

    Hello Niklas,
    thanks for your response. I’m ok with what, so the topic can be closed.

    Part of the problem was for me that the “shipping other than billing” checkbox was set by default. So the user hat to provide shipping details even if he hat already provided them through PayPal which let to confusion.

    Best Regards
    Thomas

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @gebuederholz,

    I see. Yes this particular configuration is currently not handled in the most ideal way and we created an issue about it earlier today: https://github.com/woocommerce/woocommerce-paypal-payments/issues/557
    As PayPal only provides one address by default, we will look into filling the PayPal address details in both the WooCommerce billing and shipping fields if both are required. For the two other shipping configurations, the current behavior shouldn’t be a major issue.

    Kind regards,
    Niklas

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Validation error after complete’ is closed to new replies.