Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter prizzrak

    (@prizzrak)

    Hello @asifsiam97.

    Php 7.4.32, 7.4.33

    Thread Starter prizzrak

    (@prizzrak)

    It took 4 answers and waste of a lot of your and my time to solve the issue. And the solution is as excepted – to disable “very useful” build in functions! Your support and support policy is awful. Why it needed to collect my data and give null answers if the problem is in your functions? And even support doesn’t know how your plugin works!

    Thanks to @babylon1999 for GitHub link. That snippet is needed to all countries.

    Thread Starter prizzrak

    (@prizzrak)

    Hello.

    Please share a complete copy of your site’s?System Status Report? It is under?WooCommerce > Status. Select “Get system report” and then “Copy for support”.?

    Full status in my prev. message.

    Please share a copy of any fatal error log found under?WooCommerce > System Status > Logs?(if any).

    There is no errors in logs.

    ?but I could not reproduce the same problem.

    According to your screenshot it is not clear to understand what happened next. I can give you admin access to my site if needed.

    What about my last questions?

    What hooks/filters can I use with shipping calculator in the cart?

    Thread Starter prizzrak

    (@prizzrak)

    I replicated the scenario on my personal site, however, I am unable to reproduce the issue here.

    Did you replicate the same shipping zones? At least 2 counties? The first country (in admin panel listing) works, but the second doesn’t.

    Should you wish to test the latest version of WooCommerce,

    Why do you wish me to update, even I explained that it’s impossible in my case?

    And meanwhile don’t you have an intention to solve the issue? All can you suggest is only to update to the latest version?

    I’d be very appreciate to receive from you – as from the plugin developer – any solution to resolve my issue.

    What hooks/filters can I use with shipping calculator in the cart?

    At least where can I find the technical data how shipping calculator works? Ajax calls, functions, hooks? Or is this information prohibited?

    Thread Starter prizzrak

    (@prizzrak)

    Hello.

    You show screenshot from checkout page, but I’m talking about the cart!

    I need shipping calculator in cart.

    Once againe I add screenshots of my settings.

    Sell to specific countries. https://snipboard.io/ZAI6lL.jpg

    Add Shipping zones. https://snipboard.io/TJQDfU.jpg

    Now go to the cart, select any shipping country and its zip except first one (Germany).

    For example Netherlands 54000. https://snipboard.io/3NlTIj.jpg

    “Update” and the error is “Please enter a valid postcode / ZIP” but zip I entered is valid! And it works with the first country I added in admin panel (in my case Germany), but doesn’t works with any other. https://snipboard.io/5W49xE.jpg

    WordPress Environment
    
    WordPress address (URL): https://astera.cc/hugo
    Site address (URL): https://astera.cc/hugo
    WC Version: 5.6.2
    REST API Version: ?</img> 5.6.2
    WC Blocks Version: ?</img> 5.5.1
    Action Scheduler Version: ?</img> 3.2.1
    WC Admin Version: ?</img> 2.5.2
    Log Directory Writable: ?</img>
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?</img>
    Language: en_US
    External object cache: –
    
    Server Environment
    
    Server Info: LiteSpeed
    PHP Version: 7.4.33
    PHP Post Max Size: 200 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 10000
    cURL Version: 7.83.1
    NSS/3.79
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.40-43-log
    Max Upload Size: 200 MB
    Default Timezone is UTC: ?</img>
    fsockopen/cURL: ?</img>
    SoapClient: ?</img>
    DOMDocument: ?</img>
    GZip: ?</img>
    Multibyte String: ?</img>
    Remote Post: ?</img>
    Remote Get: ?</img>
    
    Database
    
    WC Database Version: 5.6.2
    WC Database Prefix: wp_
    Total Database Size: 4.30MB
    Database Data Size: 2.90MB
    Database Index Size: 1.40MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 2.06MB + Index: 0.03MB + Engine InnoDB
    wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    
    Post Type Counts
    
    attachment: 1
    page: 7
    post: 2
    product: 1
    
    Security
    
    Secure connection (HTTPS): ?</img>
    Hide errors from visitors: ?</img>
    
    Active Plugins (2)
    
    WooCommerce: by Automattic – 5.6.2 (update to version 7.2.2 is available)
    
    Inactive Plugins (0)
    
    Settings
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    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: –
    
    WC Pages
    
    Shop base: #7 - /?page_id=7
    Cart: #8 - /?page_id=8
    Checkout: #9 - /?page_id=9
    My account: #10 - /?page_id=10
    Terms and conditions: ?</img> Page not set
    
    Theme
    
    Name: Storefront
    Version: 4.2.0
    Author URL: https://woocommerce.com/
    Child Theme: ?</img> – 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
    WooCommerce Support: ?</img>
    
    Templates
    
    Overrides: –
    
    Action Scheduler
    
    Complete: 5
    Oldest: 2022-12-21 14:34:36 +0000
    Newest: 2022-12-21 15:37:15 +0000
    
    Status report information
    
    Generated at: 2022-12-26 19:35:49 +03:00
    `

    Based on the information provided, please?update WooCommerce core?to the latest version since the version you are using is quite old.

    I can’t update WooCommerce because I need to use some plugins that work only WC not higher 5.6.2! There are many different plugins that work quite good only on quite old WC!

    Thread Starter prizzrak

    (@prizzrak)

    I use “Ship to different address” button is always checked. And fill at first shipping details.
    After I entered shipping details I press “next” button to hide shipping and show billing details (jQuery hide/show) and copy all shipping (input) fields to billing (jQuery).
    So I can enter billing details optional.
    I thing it can be said that my checkout is almost standard WooCommerce.

    The problem is in your plugin. I do not understand how it works…

    If I logged in user then (as I wrote above) “shipping full_name” is taken from my profile, not from input fields. Shipping “address_line_1” is taken from billing field.

    If I am not logged in – anonym user then:
    If I entered only shipping (means it equals to billing):

    "shipping":{"name":{"full_name":" "},"address":{"country_code":"DE","admin_area_2":"shipcity","postal_code":"40223"}}}],
    ....
    "payer":{"name":{"given_name":"shipname1","surname":"shipname2"},"email_address":"[email protected]","address":{"country_code":"DE","address_line_1":"shipaddr","address_line_2":"40223","admin_area_2":"shipcity"

    No shipping full name…

    And the old problem – if billing details other than shipping:

    "shipping":{"name":{"full_name":" "},"address":{"country_code":"DE","address_line_1":"billaddr","postal_code":"40223"}}}],
    ....
    "payer":{"name":{"given_name":"billname1","surname":"billname2"},"email_address":"[email protected]","address":{"country_code":"DE","address_line_1":"billaddr","address_line_2":"10000","admin_area_2":"billcity","postal_code":"40223"}
    
    Response: Array
    (
        [code] => 422
        [message] => Unprocessable Entity
    )
    
    Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='default'/shipping/address/admin_area_2","issue":"CITY_REQUIRED","description":"The specified country requires a city (address.admin_area_2)"}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"a7167b0e432a4","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-CITY_REQUIRED","rel":"information_link","method":"GET"}]}

    No Shipping name, shipping address_line_1 is taken from billing field.
    And no City field! Error. And the next request is "shipping_preference":"NO_SHIPPING".

    P.S. Why plugin makes two same requests with different "Response Debug ID" every time button pressed?
    Also, why periodically plugin on its own makes requests to paypal "DEBUG GET https://api.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/7SN829AMCQPYS"?

    Thread Starter prizzrak

    (@prizzrak)

    I have custom checkout page.
    So if I enter only shipping address then the billing is the same.

    Before and still I use old PayPal Checkout plugin which works fine, without any surprised errors and perfectly understand all fields in my custom checkout…

    Thread Starter prizzrak

    (@prizzrak)

    Hello @joostvandevijver

    Thank you for your answer.

    But… If I enter only shipping address:
    "shipping_preference":"NO_SHIPPING"

    If I enter billing and shipping address:
    "shipping":{"name":{"full_name":"test test"},"address": "country_code":"DE","address_line_1":"baddr"
    “baddr” means address line entered in billing field.
    Also “full_name” is still taken from my account name, not from checkout form.

    And the main “feature” – if more than 1 item (the same or different) in cart:
    Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='default'/amount/breakdown/item_total/value","value":"626.17","issue":"ITEM_TOTAL_MISMATCH","description":"Should equal sum of (unit_amount * quantity) across all items for a given purchase_unit"}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"605c3c4d865ef","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-ITEM_TOTAL_MISMATCH","rel":"information_link","method":"GET"}]}

    Have you tested it before or what am I doing wrong?

    Thread Starter prizzrak

    (@prizzrak)

    Well… Not very good, rather bad solution in case of error change quietly “shipping_preference”:”NO_SHIPPING”
    So I do not have shipping address in Paypal and much worse is that Paypal sends back no-shipping status. In this case anonim user loses zip code, which is essential for me…
    Disappointed (((….

    Thread Starter prizzrak

    (@prizzrak)

    До второй версии все работали с такой критической ошибкой и все нормально?…
    Данная проблема решена, спасибо.

    З.Ы. За возникшие сразу же следующие проблемы (Платёж не прошёл. Возможно, это был временный сбой — просто попробуйте снова.) – просто не спасибо.

    Thread Starter prizzrak

    (@prizzrak)

    @ostulov
    Насколько в курсе, поддержка Юкассы никак не относится к разработке плагина.

    Когда будет следующее обновление?
    Судя по логу, от 1 недели до 2-3 месяцев.

    Может есть хуки? Получить текущий курс, передать свой курс, передать уже сконвертированную сумму?

    Thread Starter prizzrak

    (@prizzrak)

    Техподдержка здесь отвечает, кто-нибудь в курсе?

    Thread Starter prizzrak

    (@prizzrak)

    Hello.
    The same error.
    Entschuldige, es gab einen Validierungsfehler bei der Sendung von Daten an PayPal. Bitte überprüfe deine Informationen.

    No plugin. But not standard checkout page. The checkout page has modified code.
    Standard Plugin “Paypal checkout” works fine.

    So what data should be send in checkout for Paypal plus?

    Thread Starter prizzrak

    (@prizzrak)

    Здесь техподдержка работает или нет?

    После обновления php до 7.4 ошибка все та же, только в журнале теперь пусто.

    Thread Starter prizzrak

    (@prizzrak)

    @jricketts4 As I found my issue is like this one –
    https://www.ads-software.com/support/topic/remove-shipping-from-paypal-checkout/
    But that problem was in “Forminator Plugin” and it was solved – “The shipping option no longer shows during the payment checkout process”.
    I don’t need all functionality of Forminator, I need just the Paypal Express payment.
    So is it possible to solve my issue?

Viewing 15 replies - 1 through 15 (of 16 total)