Buttons don’t show up because of CSP
-
Hello @dionysios
thank you for reaching out to us, we are here to help.
However, with the number of details you have provided, we are not really able to give much support. We would like to review your logs and the system report to identify if your situation might be related to an already known issue. You can copy the logfiles from here:
– WooCommerce > Status > Get system report > Copy for support
– WooCommerce > Status > Logs > select “woocommerce-paypal-payments-integration-\[…\]” in the dropdown and click on view.If you don’t feel comfortable sharing those details on a public forum, please open a ticket with our service desk. You can find the instruction for this here: https://paypal.inpsyde.com/docs/request-support/
(please add the URL of this thread in the ticket as well)Pending your response.
Kind regards,
JoostHi @joostvandevijver
thank you too for your reply.
I cant find the log for the “woocommerce-paypal-payments-integration-\[…\]” in the dropdown and click on view. I only have some logs related to days in the past. Do I missed something?As for my System report, here it is: ### WordPress Environment ###
WordPress address (URL): https://diaxeiroscorfu.gr Site address (URL): https://diaxeiroscorfu.gr WC Version: 5.9.0 REST API Version: ? 5.9.0 WC Blocks Version: ? 6.1.0 Action Scheduler Version: ? 3.3.0 WC Admin Version: ? 2.8.0 Log Directory Writable: ? WP Version: 5.8.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: el External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.25 PHP Post Max Size: 256 MB PHP Time Limit: 600 PHP Max Input Vars: 1000 cURL Version: 7.79.1 OpenSSL/1.1.1l SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.31-MariaDB-cll-lve Max Upload Size: 72 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.9.0 WC Database Prefix: wpc_ Συνολικ? μ?γεθο? β?ση? δεδομ?νων: 47.21MB Μ?γεθο? β?ση? δεδομ?νων: 40.98MB Μ?γεθο? ευρετηρ?ου β?ση? δεδομ?νων: 6.23MB wpc_woocommerce_sessions: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_woocommerce_api_keys: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_woocommerce_attribute_taxonomies: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_woocommerce_downloadable_product_permissions: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.06MB + Μηχαν? InnoDB. wpc_woocommerce_order_items: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_woocommerce_order_itemmeta: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_woocommerce_tax_rates: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.06MB + Μηχαν? InnoDB. wpc_woocommerce_tax_rate_locations: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_woocommerce_shipping_zones: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_woocommerce_shipping_zone_locations: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_woocommerce_shipping_zone_methods: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_woocommerce_payment_tokens: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_woocommerce_payment_tokenmeta: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_woocommerce_log: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_actionscheduler_actions: Δεδομ?να: 0.14MB + Ευρετ?ρια: 0.22MB + Μηχαν? InnoDB. wpc_actionscheduler_claims: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_actionscheduler_groups: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_actionscheduler_logs: Δεδομ?να: 0.19MB + Ευρετ?ρια: 0.13MB + Μηχαν? InnoDB. wpc_alphabank_transactions: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_commentmeta: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_comments: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.09MB + Μηχαν? InnoDB. wpc_e_submissions: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.27MB + Μηχαν? InnoDB. wpc_e_submissions_actions_log: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.11MB + Μηχαν? InnoDB. wpc_e_submissions_values: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_links: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_litespeed_avatar: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_litespeed_img_optm: Δεδομ?να: 0.23MB + Ευρετ?ρια: 0.16MB + Μηχαν? InnoDB. wpc_litespeed_img_optming: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.05MB + Μηχαν? InnoDB. wpc_litespeed_url: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_litespeed_url_file: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.05MB + Μηχαν? InnoDB. wpc_loginizer_logs: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_options: Δεδομ?να: 5.02MB + Ευρετ?ρια: 0.16MB + Μηχαν? InnoDB. wpc_postmeta: Δεδομ?να: 19.36MB + Ευρετ?ρια: 2.86MB + Μηχαν? InnoDB. wpc_posts: Δεδομ?να: 7.34MB + Ευρετ?ρια: 0.34MB + Μηχαν? InnoDB. wpc_revslider_css: Δεδομ?να: 0.13MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_revslider_css_bkp: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_revslider_layer_animations: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_revslider_layer_animations_bkp: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_revslider_navigations: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_revslider_navigations_bkp: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_revslider_sliders: Δεδομ?να: 1.50MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_revslider_sliders_bkp: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_revslider_slides: Δεδομ?να: 5.16MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_revslider_slides_bkp: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_revslider_static_slides: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_revslider_static_slides_bkp: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_smush_dir_images: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_termmeta: Δεδομ?να: 0.06MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_terms: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_term_relationships: Δεδομ?να: 0.05MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_term_taxonomy: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_usermeta: Δεδομ?να: 0.06MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_users: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.05MB + Μηχαν? InnoDB. wpc_wc_admin_notes: Δεδομ?να: 0.06MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_wc_admin_note_actions: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_wc_category_lookup: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_wc_customer_lookup: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_wc_download_log: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_wc_order_coupon_lookup: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_wc_order_product_lookup: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.06MB + Μηχαν? InnoDB. wpc_wc_order_stats: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.05MB + Μηχαν? InnoDB. wpc_wc_order_tax_lookup: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_wc_product_meta_lookup: Δεδομ?να: 0.05MB + Ευρετ?ρια: 0.09MB + Μηχαν? InnoDB. wpc_wc_reserved_stock: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_wc_tax_rate_classes: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_wc_webhooks: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_woodmart_wishlists: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_woodmart_wishlist_products: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_wpfm_backup: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.00MB + Μηχαν? InnoDB. wpc_yoast_indexable: Δεδομ?να: 0.41MB + Ευρετ?ρια: 0.33MB + Μηχαν? InnoDB. wpc_yoast_indexable_hierarchy: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.05MB + Μηχαν? InnoDB. wpc_yoast_migrations: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.02MB + Μηχαν? InnoDB. wpc_yoast_primary_term: Δεδομ?να: 0.02MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. wpc_yoast_seo_links: Δεδομ?να: 0.06MB + Ευρετ?ρια: 0.03MB + Μηχαν? InnoDB. ### Post Type Counts ### attachment: 213 cms_block: 81 customize_changeset: 3 elementor_library: 9 mc4wp-form: 1 nav_menu_item: 123 page: 145 portfolio: 9 post: 10 product: 189 product_variation: 3 revision: 874 shop_order: 7 wafs: 1 wbcr-snippets: 6 woodmart_sidebar: 2 woodmart_slide: 44 wpcf7_contact_form: 14 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (31) ### Admin Menu Editor: απ? τον/την Janis Elsts – 1.10 Auto Image Attributes From Filename With Bulk Updater: απ? τον/την Arun Basil Lal – 2.1 AutoConvert Greeklish Permalinks: απ? τον/την Dimitris Mavroudis – 4.0.3 Classic Editor: απ? τον/την Συντελεστ?? WordPress – 1.6.2 Contact Form 7: απ? τον/την Takayuki Miyoshi – 5.5.2 Cookies and Content Security Policy: απ? τον/την Jonk @ Follow me Darling – 1.95 Disable auto-update Email Notifications: απ? τον/την Blogies Tools – 1.3.0 Duplicate Post Page Menu & Custom Post Type: απ? τον/την Inqsys Technology – 1.8.0 Yoast Duplicate Post: απ? τον/την Enrico Battocchi & Team Yoast – 4.1.2 Dynamic Visibility for Elementor: απ? τον/την Dynamic.ooo – 4.1.0 DynamicConditions: απ? τον/την RTO GmbH – 1.5.1 Elementor Pro: απ? τον/την Elementor.com – 3.5.0 Elementor: απ? τον/την Elementor.com – 3.4.8 GTranslate: απ? τον/την Translate AI Multilingual Solutions – 2.9.6 Hide Shipping Method For WooCommerce: απ? τον/την theDotstore – 1.1.3 HT Mega - Absolute Addons for Elementor Page Builder: απ? τον/την HasThemes – 1.6.8 Woody code snippets (PHP snippets | Insert PHP): απ? τον/την Creative Motion Will Bontrager Software LLC – 2.4.2 Loco Translate: απ? τον/την Tim Whitlock – 2.5.5 Loginizer: απ? τον/την Softaculous – 1.6.8 Nav Menu Collapse: απ? τον/την Robert Noakes – 2.1.1 Pay in Store WooCommerce Payment Gateway: απ? τον/την Papaki – 1.2.5 One Click Accessibility: απ? τον/την One Click Accessibility – 2.0.3 Remove Uppercase Accents: απ? τον/την Giorgos Sarigiannidis – 1.1.1 Safe SVG: απ? τον/την Daryll Doyle – 1.9.9 Advanced Editor Tools (previously TinyMCE Advanced): απ? τον/την Automattic – 5.6.0 Μ?θοδο? Πληρωμ?? τη? Alpha Bank για το WooCommerce: απ? τον/την Papaki – 1.3.6 Pay for Payment for WooCommerce: απ? τον/την Karolína Vysko?ilová – 2.1.4 WooCommerce PayPal Payments: απ? τον/την WooCommerce – 1.6.1 WooCommerce: απ? τον/την Automattic – 5.9.0 Woodmart Core: απ? τον/την – 1.0.29 Yoast SEO: απ? τον/την Ομ?δα Yoast – 17.6 ### Inactive Plugins (7) ### Flying Images by WP Speed Matters: απ? τον/την Gijo Varghese – 2.4.13 LiteSpeed Cache: απ? τον/την LiteSpeed Technologies – 4.4.3 MC4WP: Mailchimp for WordPress: απ? τον/την ibericode – 4.8.6 Slider Revolution: απ? τον/την ThemePunch – 6.5.9 Visibility Logic for Elementor: απ? τον/την StaxWP – 2.1.7 WP Fastest Cache: απ? τον/την Emre Vona – 0.9.5 WP Meteor: απ? τον/την Aleksandr Guidrevitch – 2.3.10 ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right 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 ### Β?ση καταστ?ματο?: #25 - /shop/ Καλ?θι: #26 - /cart/ Ταμε?ο: #27 - /checkout/ Ο λογαριασμ?? μου: #28 - /my-account/ ?ροι και Προ?ποθ?σει?: #12895 - /oroi-kai-proypotheseis/ ### Theme ### Name: Woodmart Child Version: 1.0.0 Author URL: https://xtemos.com Child Theme: ? Parent Theme Name: Woodmart Parent Theme Version: 6.1.5 – Η ?κδοση 6.2.3 ε?ναι διαθ?σιμη Parent Theme Author URL: https://themeforest.net/user/xtemos WooCommerce Support: ? ### Templates ### Overrides: woodmart/woocommerce/archive-product.php woodmart/woocommerce/cart/cart-item-data.php woodmart/woocommerce/cart/cart.php woodmart/woocommerce/cart/cross-sells.php woodmart/woocommerce/cart/mini-cart.php woodmart/woocommerce/checkout/form-checkout.php woodmart/woocommerce/checkout/thankyou.php woodmart/woocommerce/content-product-cat.php woodmart/woocommerce/content-product.php woodmart/woocommerce/content-single-product.php woodmart/woocommerce/content-widget-product.php woodmart/woocommerce/global/breadcrumb.php woodmart/woocommerce/global/form-login.php woodmart/woocommerce/global/quantity-input.php woodmart/woocommerce/loop/add-to-cart.php woodmart/woocommerce/loop/loop-end.php woodmart/woocommerce/loop/loop-start.php woodmart/woocommerce/loop/no-products-found.php woodmart/woocommerce/loop/orderby.php woodmart/woocommerce/loop/pagination.php woodmart/woocommerce/loop/sale-flash.php woodmart/woocommerce/myaccount/form-login.php woodmart/woocommerce/product-searchform.php woodmart/woocommerce/single-product/add-to-cart/grouped.php woodmart/woocommerce/single-product/add-to-cart/variable.php woodmart/woocommerce/single-product/meta.php woodmart/woocommerce/single-product/product-image.php woodmart/woocommerce/single-product/product-thumbnails.php woodmart/woocommerce/single-product/rating.php woodmart/woocommerce/single-product/related.php woodmart/woocommerce/single-product/sale-flash.php woodmart/woocommerce/single-product/tabs/tabs.php woodmart/woocommerce/single-product/title.php woodmart/woocommerce/single-product/up-sells.php woodmart/woocommerce/single-product.php ### WooCommerce PayPal Payments ### Onboarded: Yes Shop country code: GR PayPal card processing available in country: No Pay Later messaging available in country: No Vault enabled: No ### Action Scheduler ### Ολοκληρωμ?νη: 618 Oldest: 2021-10-18 12:07:22 +0300 Newest: 2021-11-17 12:27:56 +0200 ### Status report information ### Generated at: 2021-11-17 19:44:25 +02:00
Hi @joostvandevijver
do you have any news for the problem? Are you alright with the logs above?Hello @dionysios
reading the errors, I would expect that there is a plugin conflict or possibly even an issue with the theme. I would advise you to start and test if the plugin functions correctly if you deactivate all other plugins (except WooCommerce and PayPal Payments) and replace the theme temporarily with the Storefront theme, in order to rule out any 3rd party conflict.
The logs I request are only populated when “logging” has been activated in our plugin. You can enable logging here: WooCommerce > Settings > Payments > PayPal > “Logging”.
After you have done this, the next time you encounter this error, a log should be added in your logs here:
– WooCommerce > Status > Logs > select “woocommerce-paypal-payments-integration-[…]” in the dropdown and click on view.Let me know if you can get some results out of these items.
Kind regards,
JoostHi @joostvandevijver
thank you for the reply. I will do the steps you told me.
Meanwhile, I enabled the logs for the Payments, here it is:2021-11-19T08:32:49+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals
Request Body: {“partner_config_override”:{“partner_logo_url”:”https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png”,”return_url”:”https:\/\/diaxeiroscorfu.gr\/wp-admin\/admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway”,”return_url_description”:”Return to your shop.”,”show_add_credit_card”:true},”products”:[“EXPRESS_CHECKOUT”],”legal_consents”:[{“type”:”SHARE_DATA_CONSENT”,”granted”:true}],”operations”:[{“operation”:”API_INTEGRATION”,”api_integration_preference”:{“rest_api_integration”:{“integration_method”:”PAYPAL”,”integration_type”:”FIRST_PARTY”,”first_party_details”:{“features”:[“PAYMENT”,”FUTURE_PAYMENT”,”REFUND”,”ADVANCED_TRANSACTIONS_SEARCH”,”VAULT”],”seller_nonce”:”a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG”}}}}]}
Response Debug ID: 149f2283e13c6
Response: Array
(
[code] => 201
[message] => Created
)Tell me if you can see something that helps...
-
This reply was modified 3 years, 3 months ago by
dionysios.
Hello @dionysios
thank you for your response and the log. This log however is a successful activity and does not really show any issue occurring. We are looking for log codes of 4xx. The 2xx ones are successful processes.
Let me know when you have any logs or outcomes of the tests.
Kind regards,
JoostSince we haven’t heard back from you, I’m going to mark it as resolved.
In case you’re still having problems, feel free to let us know! -
This reply was modified 3 years, 3 months ago by
- The topic ‘Buttons don’t show up because of CSP’ is closed to new replies.