• Resolved Carlos Faria

    (@frendeliko)


    Hi,

    I’m having an error using Paypal Sandbox as my store is not open yet. When I click the button to pay, the Paypal window shows up and then disappears. These errors are shown on console:

    create_order_error
    Object { err: “JSON.parse: unexpected character at line 1 column 5 of the JSON data …..

    click_initiate_payment_reject
    Object { err: “JSON.parse: unexpected character at line 1 column 5 of the JSON data\n\n\nbr.error@https://www.paypal.com/sdk/js?client-id=sb&merchant-id=ECFWYUHYY5234&intent=capture&locale=es_ES&components=buttons%2Cfunding-eligibility%2Cmessages&commit=true&currency=EUR:2:110461\nMr/</<@https://www.paypal.com/sdk/js?client-id=sb&merchant-id=ECFWYUHYY5234&intent=capture&locale=es_ES&components=buttons%2Cfunding-eligibility%2Cmessages&commit=true&currency=EUR:2:118232\nMr/<@https://www.paypal.com/sdk/js?client-id=sb&merchant-id=ECFWYUHYY5234&intent=capture&locale=es_ES&components=buttons%2Cfunding-eligibility%2Cmessages&commit=true&currency=EUR:2:118091\nMr@https://www.paypal.com/sdk/js?client-id=sb&merchant-id=ECFWYUHYY5234&intent=capture&locale=es_ES&components=buttons%2Cfunding-eligibility%2Cmessages&commit=true&currency=EUR:2:118244\nqr/u…

    Can you please help me?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Aashik P – a11n

    (@aashik)

    Hi there!

    This is likely a conflict with a plugin or theme on your store if you’ve already configured the extension as per https://docs.woocommerce.com/document/paypal-express-checkout/

    Before we confirm that though, could you please share 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, paste it here in your response.

    Thank you for working with us on this.

    Thread Starter Carlos Faria

    (@frendeliko)

    Here you have it. I’ll try deactivating some plugins and removing theme overrides. If I find the error I’ll come back with the solution. I just wanted to know if there is a known problem alike…

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://supermundano.com/wp
    Site address (URL): https://supermundano.com
    WC Version: 5.4.1
    REST API Version: ✔ 5.4.1
    WC Blocks Version: ✔ 5.1.0
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 2.3.1
    Log Directory Writable: ✔
    WP Version: 5.7.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: –
    Language: es_ES
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.16
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.64.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.29-MariaDB-0+deb10u1
    Max Upload Size: 2 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 5.4.1
    WC Database Prefix: lashgfqbr01_
    Tamaño total de la base de datos: 45.36MB
    Tamaño de los datos de la base de datos: 25.47MB
    Tamaño del índice de la base de datos: 19.89MB
    lashgfqbr01_woocommerce_sessions: Datos: 1.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_woocommerce_api_keys: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_woocommerce_attribute_taxonomies: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_woocommerce_downloadable_product_permissions: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    lashgfqbr01_woocommerce_order_items: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_woocommerce_order_itemmeta: Datos: 0.08MB + Índice: 0.06MB + Motor InnoDB
    lashgfqbr01_woocommerce_tax_rates: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    lashgfqbr01_woocommerce_tax_rate_locations: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_woocommerce_shipping_zones: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_woocommerce_shipping_zone_locations: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_woocommerce_shipping_zone_methods: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_woocommerce_payment_tokens: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_woocommerce_payment_tokenmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_woocommerce_log: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_actionscheduler_actions: Datos: 0.09MB + Índice: 0.11MB + Motor InnoDB
    lashgfqbr01_actionscheduler_claims: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_actionscheduler_groups: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_actionscheduler_logs: Datos: 0.09MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_cli_cookie_scan: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_cli_cookie_scan_categories: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_cli_cookie_scan_cookies: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_cli_cookie_scan_url: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_cli_scripts: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_cli_visitor_details: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_commentmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_comments: Datos: 0.05MB + Índice: 0.09MB + Motor InnoDB
    lashgfqbr01_gdbc_attempts: Datos: 1.52MB + Índice: 0.13MB + Motor InnoDB
    lashgfqbr01_hf_submissions: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_learndash_pro_quiz_category: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_learndash_pro_quiz_form: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_learndash_pro_quiz_lock: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_learndash_pro_quiz_master: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_learndash_pro_quiz_prerequisite: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_learndash_pro_quiz_question: Datos: 0.25MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_learndash_pro_quiz_statistic: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_learndash_pro_quiz_statistic_ref: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_learndash_pro_quiz_template: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_learndash_pro_quiz_toplist: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_learndash_user_activity: Datos: 0.02MB + Índice: 0.13MB + Motor InnoDB
    lashgfqbr01_learndash_user_activity_meta: Datos: 0.05MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_links: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_options: Datos: 2.08MB + Índice: 0.13MB + Motor InnoDB
    lashgfqbr01_postmeta: Datos: 1.31MB + Índice: 0.48MB + Motor InnoDB
    lashgfqbr01_posts: Datos: 8.09MB + Índice: 0.27MB + Motor InnoDB
    lashgfqbr01_sib_model_contact: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_sib_model_country: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_sib_model_forms: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_sib_model_users: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_termmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_terms: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_term_relationships: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_term_taxonomy: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_usermeta: Datos: 0.38MB + Índice: 0.27MB + Motor InnoDB
    lashgfqbr01_users: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
    lashgfqbr01_wc_admin_notes: Datos: 0.05MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_wc_admin_note_actions: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_wc_category_lookup: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_wc_customer_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_wc_download_log: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_wc_order_coupon_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_wc_order_product_lookup: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    lashgfqbr01_wc_order_stats: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
    lashgfqbr01_wc_order_tax_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_wc_product_meta_lookup: Datos: 0.02MB + Índice: 0.09MB + Motor InnoDB
    lashgfqbr01_wc_reserved_stock: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    lashgfqbr01_wc_tax_rate_classes: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_wc_webhooks: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_wsal_metadata: Datos: 8.52MB + Índice: 15.06MB + Motor InnoDB
    lashgfqbr01_wsal_occurrences: Datos: 0.45MB + Índice: 1.70MB + Motor InnoDB
    lashgfqbr01_yoast_indexable: Datos: 0.20MB + Índice: 0.17MB + Motor InnoDB
    lashgfqbr01_yoast_indexable_hierarchy: Datos: 0.06MB + Índice: 0.05MB + Motor InnoDB
    lashgfqbr01_yoast_migrations: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    lashgfqbr01_yoast_primary_term: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    lashgfqbr01_yoast_seo_links: Datos: 0.06MB + Índice: 0.03MB + Motor InnoDB
    
    ### Post Type Counts ###
    
    attachment: 73
    cookielawinfo: 55
    customize_changeset: 2
    html-form: 2
    nav_menu_item: 27
    page: 16
    post: 14
    product: 12
    revision: 711
    sfwd-certificates: 1
    sfwd-courses: 11
    sfwd-lessons: 86
    sfwd-question: 120
    sfwd-quiz: 20
    sfwd-topic: 2
    shop_order: 42
    shop_order_refund: 1
    wp_block: 12
    wp-help: 7
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (26) ###
    
    WPBruiser: por Mihai Chelaru – 3.1.43
    Advanced Custom Fields PRO: por Delicious Brains – 5.9.7
    Supermundano Invoices: por Supermundano – 1.0.0
    Supermundano: por Supermundano – 1.0.0
    Disable Gutenberg Autosave: por websevendev – 1.0.9
    EU VAT for WooCommerce: por WPWhale – 2.4
    Heartbeat Control by WP Rocket: por WP Rocket – 2.0
    HTML Forms: por ibericode – 1.3.22
    LearnDash LMS - WooCommerce Integration: por LearnDash – 1.9.2
    Limit Login Attempts Reloaded: por Limit Login Attempts Reloaded – 2.22.1
    Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue: por Sendinblue – 3.1.14
    Maintenance Mode: por Automattic / WordPress.com VIP – 0.2.2
    LearnDash LMS: por LearnDash – 3.4.1.1
    Soil: por Roots – 4.0.4
    Two Factor: por Plugin Contributors – 0.7.0
    Consentimiento de cookies GDPR: por WebToffee – 2.3.5
    WooCommerce PayPal Checkout Gateway: por WooCommerce – 2.1.2
    WooCommerce Servired/RedSys Spain Gateway: por José Conti – 15.1.2
    WooCommerce Google Analytics Integration: por WooCommerce – 1.5.1
    Sendinblue - WooCommerce Email Marketing: por Sendinblue – 2.0.25
    WooCommerce: por Automattic – 5.4.1
    Yoast SEO: por Team Yoast – 16.6.1
    WP Activity Log for WooCommerce: por WP White Security – 1.2.2
    WPBruiser - WooCommerce: por Mihai Chelaru – 3.1.39
    WP Help: por Mark Jaquith – 1.7.0
    WP Activity Log: por WP White Security – 4.3.1
    
    ### Inactive Plugins (2) ###
    
    WooCommerce PayPal Payments: por WooCommerce – 1.3.2
    WP Super Cache: por Automattic – 1.7.3
    
    ### Must Use Plugins (4) ###
    
    Bedrock Autoloader: por Roots – 1.0.3
    Disable plugins on development: por Supermundano – 1.0.0
    Disallow Indexing: por Roots – 1.0.0
    Register Theme Directory: por Roots – 1.0.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: course (course)
    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 ###
    
    Base de la tienda: #6 - /tienda/
    Carrito: #7 - /carrito/
    Finalizar compra: #8 - /checkout/
    Mi cuenta: #9 - /mi-cuenta/
    Términos y condiciones: #1905 - /condiciones-de-venta/
    
    ### Theme ###
    
    Name: Supermundano
    Version: 0.0.1
    Author URL: https://supermundano.com/
    Child Theme: ❌ – Si estás modificando WooCommerce en un tema padre que no has creado personalmente
    te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: supermundano/resources/views/woocommerce/archive-product.blade.php
    supermundano/resources/views/woocommerce/cart/cart-empty.blade.php
    supermundano/resources/views/woocommerce/cart/cart.blade.php
    supermundano/resources/views/woocommerce/checkout/form-billing.blade.php
    supermundano/resources/views/woocommerce/checkout/form-checkout.blade.php
    supermundano/resources/views/woocommerce/checkout/thankyou.blade.php
    supermundano/resources/views/woocommerce/emails/email-header.blade.php
    supermundano/resources/views/woocommerce/emails/email-styles.blade.php
    supermundano/resources/views/woocommerce/loop/pagination.blade.php
    supermundano/resources/views/woocommerce/myaccount/dashboard.blade.php
    supermundano/resources/views/woocommerce/myaccount/form-edit-account.blade.php
    supermundano/resources/views/woocommerce/myaccount/form-edit-address.blade.php
    supermundano/resources/views/woocommerce/myaccount/form-login.blade.php
    supermundano/resources/views/woocommerce/myaccount/form-lost-password.blade.php
    supermundano/resources/views/woocommerce/myaccount/form-reset-password.blade.php
    supermundano/resources/views/woocommerce/myaccount/lost-password-confirmation.blade.php
    supermundano/resources/views/woocommerce/myaccount/my-account.blade.php
    supermundano/resources/views/woocommerce/myaccount/navigation.blade.php
    supermundano/resources/views/woocommerce/myaccount/orders.blade.php
    supermundano/resources/views/woocommerce/myaccount/view-order.blade.php
    supermundano/resources/views/woocommerce/order/order-details-item.php
    supermundano/resources/views/woocommerce/order/order-details.php
    supermundano/resources/views/woocommerce/single-product/add-to-cart/simple.blade.php
    supermundano/resources/views/woocommerce/single-product/related.blade.php
    supermundano/resources/views/woocommerce/single-product/review-meta.blade.php
    supermundano/resources/views/woocommerce/single-product/up-sells.blade.php
    supermundano/resources/views/woocommerce/single-product-reviews.blade.php
    supermundano/resources/views/woocommerce/single-product.blade.php
    
    ### Action Scheduler ###
    
    Completo: 231
    Oldest: 2021-06-08 16:04:45 +0200
    Newest: 2021-07-09 10:05:01 +0200
    
    ### Status report information ###
    
    Generated at: 2021-07-09 10:08:41 +02:00
    
    Thread Starter Carlos Faria

    (@frendeliko)

    Ok, so I detected the culprit. Is a conflict with Sendinblue – WooCommerce Email Marketing plugin.

    I’ll debug a bit and come back with the solution. I’ll post to the owners of that plugin too to have it fixed…

    Thank you!!

    Thread Starter Carlos Faria

    (@frendeliko)

    Hi @frendeliko, thanks for letting us know! As it seems there’s nothing more we can do on our side, I’m going to mark this thread as resolved. Feel free to create a new thread if you have any further questions!

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

The topic ‘create_order_error Object { err: “JSON.parse: unexpected character at line 1’ is closed to new replies.