• Resolved younes89

    (@younes89)


    Hi,

    Thank you for developing and supporting this plugin.

    I have a problem with loading PayPal page to continue to payment, the buttons keep on spinning without any response back.

    This screen recording video would explain the issue better: https://www.loom.com/share/448d2aa664ad434cb2a65d402c068800

    Note: When I completely refresh the checkout page, everything works fine! You can try it yourself.

    Website: socelery.com

    Appreciate your support.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    There’s a JavaScript error on your checkout page that is going to prevent things needing JavaScript, such as PayPal and a lot of other WooCommerce functions from working.

    This is coming from the plugin you are using called “Booster” or something similar (I can’t remember exactly what they are calling it now).

    Disable that plugin and it should all work properly.

    Thread Starter younes89

    (@younes89)

    Hi @slash1andy

    Thanks for your response.

    Yes, I am using booster plugin for Woocommerce. However, I have suspected the same and deactivated it, but the same issue is persisting.

    It’s now kept deactivated so you can observe the same.

    Thank You.

    Plugin Support nathvi V. a11n

    (@nathvi)

    Hello @younes89

    I have tested the checkout on your site but I’m unable to proceed. I am getting errors shown on the console from PayPal but first I would like to better understand your site.

    Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here in your response.

    Thread Starter younes89

    (@younes89)

    Hi @nathvi

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.socelery.com
    Site address (URL): https://www.socelery.com
    WC Version: 5.6.0
    REST API Version: ? 5.6.0
    WC Blocks Version: ? 5.5.1
    Action Scheduler Version: ? 3.2.1
    WC Admin Version: ? 2.5.1
    Log Directory Writable: ?
    WP Version: 5.8
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: ?
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.4.21
    PHP Post Max Size: 64 MB
    PHP Time Limit: 360
    PHP Max Input Vars: 1000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.20-MariaDB-1:10.4.20+maria~focal-log
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.6.0
    WC Database Prefix: wp_
    Total Database Size: 17.31MB
    Database Data Size: 14.03MB
    Database Index Size: 3.28MB
    wp_woocommerce_sessions: Data: 0.08MB + 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.06MB + 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.06MB + Index: 0.03MB + Engine InnoDB
    wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_aioseo_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_dologin_failure: Data: 1.52MB + Index: 0.23MB + Engine InnoDB
    wp_dologin_pswdless: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_dologin_sms: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
    wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_url_file: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 2.05MB + Index: 0.23MB + Engine InnoDB
    wp_postmeta: Data: 0.52MB + Index: 0.11MB + Engine InnoDB
    wp_posts: Data: 5.41MB + 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.05MB + 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: 53
    custom_css: 1
    customize_changeset: 17
    et_body_layout: 3
    et_footer_layout: 1
    et_pb_layout: 4
    et_template: 8
    et_theme_builder: 4
    mailpoet_page: 1
    nav_menu_item: 4
    page: 12
    post: 2
    product: 4
    product_variation: 6
    revision: 257
    shop_coupon: 1
    shop_order: 3
    shop_order_refund: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (11) ###
    
    DoLogin Security: by WPDO – 3.1
    Google Listings and Ads: by WooCommerce – 1.4.2
    Site Kit by Google: by Google – 1.40.0
    Hello Dolly: by Matt Mullenweg – 1.7.2
    LiteSpeed Cache: by LiteSpeed Technologies – 4.3
    Mailchimp for WooCommerce: by Mailchimp – 2.5.2
    Mailgun: by Mailgun – 1.7.9
    Store Hours Manager for WooCommerce: by BizSwoop a CPF Concepts
    LLC Brand – 4.2.45
    
    WOOCS - WooCommerce Currency Switcher: by realmag777 – 2.3.7
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.2
    WooCommerce: by Automattic – 5.6.0
    
    ### Inactive Plugins (2) ###
    
    Akismet Anti-Spam: by Automattic – 4.1.12
    Booster for WooCommerce: by Pluggabl LLC – 5.4.6
    
    ### Dropin Plugins (1) ###
    
    object-cache.php: object-cache.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: AED (AED)
    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: #288 - /shop/
    Cart: #289 - /cart/
    Checkout: #290 - /checkout/
    My account: #291 - /account/
    Terms and conditions: #434 - /terms-of-service/
    
    ### Theme ###
    
    Name: Divi Child
    Version: .0.0 (update to version 0 is available)
    Author URL: https://www.elegantthemes.com
    Child Theme: ?
    Parent Theme Name: Divi
    Parent Theme Version: 4.10.6
    Parent Theme Author URL: https://www.elegantthemes.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 150
    Oldest: 2021-08-21 22:33:29 +0400
    Newest: 2021-09-08 00:08:23 +0400
    
    ### Status report information ###
    
    Generated at: 2021-09-08 10:56:21 +04:00
    

    Hello @younes89,

    Thank you for sending over the System Status Report.

    Upon further testing on your site, I can see that the error is caused because PayPal receives a currency it isn’t expecting. In this case, it receives USD when it is expecting AED.

    Image here: https://d.pr/i/7OdXE6

    I can see that the listed prices are in AED, but in the checkout process, they are converted into USD.

    I also see you’re using a currency switcher plugin (WOOCS – WooCommerce Currency Switcher: by realmag777). That might be causing an issue with the way its loading into the site during the checkout process, causing the PayPal button to generate errors.

    Can you please disable that and check that the button works as expected without it? Thank you.

    Let us know how that goes.

    • This reply was modified 3 years, 6 months ago by luanluta.
    Thread Starter younes89

    (@younes89)

    Hi @luanluta

    Thanks for your response.

    Yes, I am using WOOCS mainly to convert the store base currency from AED to USD at the checkout page (Business Logic), so the customers will be able to use PayPal to process payments.

    If I disable WOOCS, the currency remains as AED and AED is not supported currency by PayPal. I get the PayPal error 10605.

    How can I make the PayPal plugin accept the passed converted currency without the need to completely refresh the checkout page?

    You can try yourself and refresh the checkout page post trying to pay at the first try. It works just fine!

    Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hi @younes89,

    Thanks for the additional information about why you are using the WOOCS plugin.

    How can I make the PayPal plugin accept the passed converted currency without the need to completely refresh the checkout page?

    You may want to convert the currency even before it gets to the checkout page(cart page?) as that will ensure the page is refreshed by default when getting to the Checkout page and the currency is switched correctly.

    Regardless, the WOOCS plugin is converting the currency and handing over data to Paypal checkout. If the WOOCS plugin needs a refresh to hand over the correct currency to Paypal, I’m afraid there isn’t much we can do here. The WOOCS plugin dev might be able to help you with this faster to avoid this refresh as this is their code.

    Thread Starter younes89

    (@younes89)

    Hi @simplysaru

    Thanks for your response.

    I have temporarily forced the currency change at cart page, before checkout, as you advised. I will take this issue further with the plugin developer.

    You may close this ticket.

    Thank You.

    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @younes89,

    We’re happy we could offer some guidance on this for you. We’ll therefore set this forum topic as resolved – if you have any further questions related to this topic in the future, you can reopen it again if you need be.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Integration Issue – Buttons Loading Without Any Response’ is closed to new replies.