• Resolved richrabago

    (@richrabago)


    I have an interesting situation. I have a back Office application that is built using WooCommerce, PayPal Payments and Divi. Only the admin or select customers can log into the website to place orders FOR people who want the products. I do not have any custom code for orders in my functions.php file. I have the updated both Woocommerce (8.1.1) and PayPal Payments (2.3.1) plugins. My checkout screen is built with Divi. I have tested this with both Guest Checkout turned on and turned off.

    What happens is that when the order is placed the code that sends the order details to PayPal ignores the names entered on the checkout screen for both billing and shipping. Instead the code pulls from the WordPress user profile the names stored for billing and shipping and sends those names to PayPal instead. This happens both in live and sandbox mode. I tried emptying the user name fields before placing an order, but then the names show up as blank names or worse PayPal just makes up a name (e.g. Juan). The order information stored in WooCommerce is CORRECT. And the order information sent to the customer from WooCommerece is also correct. Also, the order summary on the checkout page after placing the order is CORRECT. It is just the names sent to PayPal that are incorrectly the names from the user profile and NOT the checkout names entered on the checkout screen. Also, PayPal is able to successfully process the payments even though the incorrect names are being sent.

    I will post below a sample from the logs I got from WooCommerce. For my testing I changed the names in the user profile to be User-FirstBill, User-LastBill, User-FirstShip, User-LastShip. I then used CO-FirstBill, CO-LastBill, CO-FirstShip, CO-LastShip as the names in the checkout screen. Every order placed sends the User names listed in the profile instead of the CO (checkout) names.

    If this is expected behavior (which would be strange) can someone please point me to where in the code the order is placed and user-names are being pulled. That way I can try and overwrite the user names with checkout names before the order being sent to PayPal.

    I have obfuscated the merchant id in the order logs below.

    Thank you for any help,

    Rich

    2023-10-03T20:19:02+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"USD","value":"207.75","breakdown":{"item_total":{"currency_code":"USD","value":"181.95"},"shipping":{"currency_code":"USD","value":"25.80"},"tax_total":{"currency_code":"USD","value":"0.00"}}},"description":"","items":[{"name":"BurrowRx Case of Smoke Oil (12 Pints)","unit_amount":{"currency_code":"USD","value":"181.95"},"quantity":1,"description":"[et_pb_section fb_built=\"1\" _builder_version=\"4.16\" custom_padding=\"0px||||false|false\" global_colors_info=\"{}\"][et_pb_row _bui","sku":"SOC","category":"PHYSICAL_GOODS","url":"https:\/\/orders.burrowrx.com\/product\/burrowrx-case-of-smoke-oil-12-pints\/","image_url":"https:\/\/orders.burrowrx.com\/wp-content\/uploads\/2023\/02\/BurrowRxSmokeOil.jpg","cart_item_key":"ac1dd209**********98e8cbbe8"}],"payee":{"merchant_id":"W************"},"shipping":{"name":{"full_name":"User-FirstShip User-LastShip"},"address":{"country_code":"US","address_line_1":"1781 York St Apt CO-Ship","admin_area_1":"CO","admin_area_2":"Denver","postal_code":"80206"}},"custom_id":"pcp_customer_2"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"en-US","brand_name":"BurrowRx","return_url":"https:\/\/orders.burrowrx.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/orders.burrowrx.com\/checkout\/","payment_method":{"payee_preferred":"UNRESTRICTED"}},"payer":{"email_address":"[email protected]","name":{"given_name":"CO-FirstBilling","surname":"CO-LastBilling"},"address":{"country_code":"US","address_line_1":"1781 York St Apt CO-Bill","admin_area_1":"CO","admin_area_2":"Denver","postal_code":"80206"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"6197881371"}}}}
    Response Debug ID: cb70bf094c332
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    
    2023-10-03T20:19:06+00:00 DEBUG  https://api.sandbox.paypal.com/v2/checkout/orders/7XG75095VV222221B
    Response Debug ID: 6ad34f83316e4
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2023-10-03T20:19:07+00:00 DEBUG PATCH https://api.sandbox.paypal.com/v2/checkout/orders/7XG75095VV222221B
    Request Body: [{"op":"replace","path":"\/purchase_units\/@reference_id=='default'","value":{"reference_id":"default","amount":{"currency_code":"USD","value":"207.75","breakdown":{"item_total":{"currency_code":"USD","value":"181.95"},"shipping":{"currency_code":"USD","value":"25.80"},"tax_total":{"currency_code":"USD","value":"0.00"}}},"description":"","items":[{"name":"BurrowRx Case of Smoke Oil (12 Pints)","unit_amount":{"currency_code":"USD","value":"181.95"},"quantity":1,"description":"[et_pb_section fb_built=\"1\" _builder_version=\"4.16\" custom_padding=\"0px||||false|false\" global_colors_info=\"{}\"][et_pb_row _bui","sku":"SOC","category":"PHYSICAL_GOODS","url":"https:\/\/orders.burrowrx.com\/product\/burrowrx-case-of-smoke-oil-12-pints\/","image_url":"https:\/\/orders.burrowrx.com\/wp-content\/uploads\/2023\/02\/BurrowRxSmokeOil.jpg"}],"payee":{"merchant_id":"W*********G"},"shipping":{"name":{"full_name":"CO-FirstShip CO-LastShip"},"address":{"country_code":"US","address_line_1":"1781 York St Apt CO-Ship","admin_area_1":"CO","admin_area_2":"Denver","postal_code":"80206"}},"custom_id":"907","invoice_id":"BRXO-20022"}}]
    Response Debug ID: cc7d8d0ace250
    Response: Array
    (
        [code] => 204
        [message] => No Content
    )
    
    
    2023-10-03T20:19:08+00:00 DEBUG  https://api.sandbox.paypal.com/v2/checkout/orders/7XG75095VV222221B
    Response Debug ID: 49e96efa153cd
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2023-10-03T20:19:10+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders/7XG75095VV222221B/capture
    Response Debug ID: 6ccb0466e7b04
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    `
    ### WordPress Environment ###
    
    WordPress address (URL): https://orders.burrowrx.com
    Site address (URL): https://orders.burrowrx.com
    WC Version: 8.1.1
    REST API Version: ? 8.1.1
    WC Blocks Version: ? 10.9.3
    Action Scheduler Version: ? 3.6.2
    Log Directory Writable: ?
    WP Version: 6.3.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 8.1.22
    PHP Post Max Size: 512 MB
    PHP Time Limit: 900
    PHP Max Input Vars: 5000
    cURL Version: 7.87.0
    OpenSSL/1.1.1p
    
    SUHOSIN Installed: –
    MySQL Version: 10.5.22-MariaDB-cll-lve
    Max Upload Size: 512 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 8.1.1
    WC Database Prefix: apjxlxYf_
    Total Database Size: 21.47MB
    Database Data Size: 19.89MB
    Database Index Size: 1.58MB
    apjxlxYf_woocommerce_sessions: Data: 0.05MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_actionscheduler_actions: Data: 0.06MB + Index: 0.03MB + Engine MyISAM
    apjxlxYf_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_actionscheduler_logs: Data: 0.04MB + Index: 0.03MB + Engine MyISAM
    apjxlxYf_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_comments: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_litespeed_avatar: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    apjxlxYf_litespeed_img_optming: Data: 0.03MB + Index: 0.04MB + Engine MyISAM
    apjxlxYf_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    apjxlxYf_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    apjxlxYf_options: Data: 2.06MB + Index: 0.10MB + Engine MyISAM
    apjxlxYf_postmeta: Data: 0.34MB + Index: 0.10MB + Engine MyISAM
    apjxlxYf_posts: Data: 0.90MB + Index: 0.05MB + Engine MyISAM
    apjxlxYf_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_term_relationships: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_usermeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    apjxlxYf_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_wc_admin_note_actions: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    apjxlxYf_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    apjxlxYf_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    apjxlxYf_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    apjxlxYf_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    apjxlxYf_wc_product_download_directories: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    apjxlxYf_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    apjxlxYf_wfconfig: Data: 1.36MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wffilemods: Data: 9.52MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    apjxlxYf_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    apjxlxYf_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    apjxlxYf_wfknownfilelist: Data: 4.52MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    apjxlxYf_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wflogins: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    apjxlxYf_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    apjxlxYf_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY
    apjxlxYf_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    apjxlxYf_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    apjxlxYf_wfstatus: Data: 0.11MB + Index: 0.09MB + Engine InnoDB
    apjxlxYf_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wpforms_payments: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_wpforms_payment_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_wpforms_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    apjxlxYf_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    apjxlxYf_yoast_indexable: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    apjxlxYf_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    apjxlxYf_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    apjxlxYf_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    apjxlxYf_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 14
    custom_css: 2
    customize_changeset: 1
    et_body_layout: 5
    et_footer_layout: 1
    et_header_layout: 1
    et_pb_layout: 2
    et_template: 12
    et_theme_builder: 1
    nav_menu_item: 8
    page: 10
    post: 2
    product: 12
    revision: 290
    shop_coupon: 7
    shop_order: 11
    wp_global_styles: 2
    wpcode: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (17) ###
    
    All-in-One WP Migration: by ServMask – 7.78
    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
    UPS Live Rates and Access Points PRO: by Octolize – 1.20.5
    USPS Live Rates: by Octolize – 1.6.3
    LiteSpeed Cache: by LiteSpeed Technologies – 5.6
    Login Designer: by LoginDesigner – 1.6.2
    Reveal IDs: by Oliver Schl?be – 1.6.1
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.23.10
    
    Advanced Order Export For WooCommerce: by AlgolPlus – 3.4.2
    WooCommerce PayPal Payments: by WooCommerce – 2.3.1
    PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.6.3
    WooCommerce: by Automattic – 8.1.1
    Wordfence Security: by Wordfence – 7.10.4
    Force Login: by Kevin Vess – 5.6.3
    WP Mail SMTP: by WP Mail SMTP – 3.9.0
    WPForms Lite: by WPForms – 1.8.4
    Sequential Order Numbers for WooCommerce: by WebToffee – 1.5.5
    
    ### Inactive Plugins (1) ###
    
    UPS Live Rates and Access Points: by Octolize – 2.0.11
    
    ### Settings ###
    
    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)
    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 screen enabled: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –
    
    ### WC Pages ###
    
    Shop base: #8 - /products/
    Cart: ? Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
    Checkout: ? Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block.
    My account: #11 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: DiviGopherX
    Version: 1.0.0
    Author URL: https://gopherx.com
    Child Theme: ?
    Parent Theme Name: Divi
    Parent Theme Version: 4.22.2
    Parent Theme Author URL: https://www.elegantthemes.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ?
    Shop country code: US
    WooCommerce currency supported: ?
    Advanced Card Processing available in country: ?
    Pay Later messaging available in country: ?
    Webhook status: –
    PayPal Vault enabled: –
    ACDC Vault enabled: –
    Logging enabled: ?
    Reference Transactions: ?
    Used PayPal Checkout plugin: –
    Subscriptions Mode: Disabled
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    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: customize-store
    minified-js
    new-product-management-experience
    product-variation-management
    settings
    async-product-editor-category-field
    
    Daily Cron: ? Next scheduled: 2023-10-03 22:57:16 -07:00
    Options: ?
    Notes: 119
    Onboarding: skipped
    
    ### Action Scheduler ###
    
    Complete: 135
    Oldest: 2023-09-03 00:50:56 -0700
    Newest: 2023-10-03 13:19:34 -0700
    
    Failed: 7
    Oldest: 2023-06-04 22:17:07 -0700
    Newest: 2023-09-09 00:44:00 -0700
    
    Pending: 5
    Oldest: 2023-10-03 15:58:20 -0700
    Newest: 2023-10-07 23:56:38 -0700
    
    
    ### Status report information ###
    
    Generated at: 2023-10-03 15:52:09 -07:00
    `
    • This topic was modified 1 year, 5 months ago by richrabago.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter richrabago

    (@richrabago)

    These are two screen shots for the above logged transaction. One shows the details on PayPal that has the user names and not the names entered during checkout. The second image shows the order confirmation with the correct Checkout names.

    Checkout Confirmation
    PayPal Transaction
    Thread Starter richrabago

    (@richrabago)

    Hey, checking to see if anyone from the plugin support has seen this issue or has any suggestions on what to try to fix the issue. Please don’t suggest disabling all my plugins as that is not the issue.

    If no ideas on what is causing the issue then I would really appreciate someone pointing me to the code that sends the first and second calls to the PayPal API end point so I can override the names that are sent to the correct Checkout Names. I can look myself, but any help would shorten my search.

    Thanks in advance for any help. Rich

    Thread Starter richrabago

    (@richrabago)

    Hi @niklasinpsyde

    I was checking to see if you have seen my above post about my Order Names issue and if you feel it is a real issue or is working as “designed”?

    I am about to embark on a perilous journey to try and change the plugin code to send the Checkout names. I feel this might end in sadness and wanted to avoid the hours of searching the code and testing if I can’t find the right place to make the change. If you don’t think it is a real issue can you save me the searching time and please point me to the location in the code where the User names are inserted rather than the Checkout names.

    Thank you in advance for any guideance.

    Rich

    Thread Starter richrabago

    (@richrabago)

    Hi @niklasinpsyde

    One more plea for anything. If I am so wrong and this is not a real issue please just say so. Anything at all. Even I have not had a chance to look or I don’t like you – something please.

    Thanks

    Rich

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @richrabago

    Apologies for getting back to you just now. Our support availability is a bit more limited due to holidays, but we’re working to get back to all requests and, unfortunately, have missed yours.

    The issue you describe is a known problem with the Advanced Card Processing. The team has already spent a few hours investigating it a while back but hasn’t yet fully figured out what’s causing it.

    For the most part, this should not impact buyers who create their WordPress user account during the checkout process. But as you reported, in scenarios with updated WordPress user data, it may cause some confusion within the PayPal dashboard.

    The plugin provides filters to allow you to modify the order creation/patch data, but I’m not sure this will help in this scenario.
    It surely is not the most desired workaround, but one way to prevent this behavior is by using the Standard Card Button instead of Advanced Card Processing.
    I hope the team has the opportunity to investigate this again deeply after the next update is finalized.

    Kind regards,
    Niklas

    Thread Starter richrabago

    (@richrabago)

    Hi @niklasinpsyde

    Thank you so much! Now I know it is not just something I messed up. I really appreciate the options you gave me. I am going to look at those and see if they work for my situation. Worse case I have to make some sort of hack and just keep making the hack with each update.

    Thank you again and I will post back here to update on my situation. Can you also please post here if your team does figure out a long term solution.

    Rich

    Thread Starter richrabago

    (@richrabago)

    Thank you @niklasinpsyde you saved me many hours!!!

    I got it working and sending correct data to PayPal. I was able to enable the ?Standard Card Button. It turns out that for our backend website we did not need the Advanced Card Processing and the Standard Card Button works for us. I was able to turn off Advanced and turn on the Standard Credit Cards and then the correct data was transmitted to PayPal.

    Thank you again, Rich

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Incorrect Customer Names being sent to PayPal for Order’ is closed to new replies.