Matteo
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: How to disable inline styling (style id=’global-styles-inline-css’)?This doesn’t work for me. What needs to be done with WordPress version 6.0.2?
We keep having these really really annoying inline CSS codes:
<style>.wp-container-1 {display: flex;gap: 0.5em;flex-wrap: wrap;align-items: center;}.wp-container-1 > * { margin: 0; }</style>
Or:
<style id="wp-block-paragraph-inline-css" type="text/css"> .is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em .1em 0 0;text-transform:uppercase;font-style:normal}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit} </style>
And much more…
Thank you for your response.
I have tried turning on diagnostic mode, changing theme and leaving only your plugin active, but unfortunately it still doesn’t work.
Plus I don’t use any blocking tools. What is that supposed to mean? That if any of my visitors use a blocking tool the affiliate page will not open for them?
Thank you.
Is there any news? The problem persists, thank you.
Hi,
any news?
Thanks.
Hi,
I tried to do as you said, but I still get the same problem.
This is the log:
2022-05-11T10:13:58+00:00 INFO Received simulated webhook. 2022-05-11T10:14:54+00:00 DEBUG DELETE https://api.paypal.com/v1/notifications/webhooks/072088212V961145Y Response Debug ID: 7ebe10ca78cb8 Response: Array ( [code] => 204 [message] => No Content ) 2022-05-11T10:14:54+00:00 INFO Webhooks deleted. 2022-05-11T10:14:54+00:00 DEBUG POST https://api.paypal.com/v1/notifications/webhooks Request Body: {"url":"https:\/\/sos-wp.it\/account\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.CREDIT-CARD.CREATED"}]} Response Debug ID: 16d197d596b9d Response: Array ( [code] => 201 [message] => Created ) 2022-05-11T10:14:54+00:00 INFO Webhooks subscribed. 2022-05-11T10:14:55+00:00 DEBUG GET https://api.paypal.com/v1/notifications/webhooks Response Debug ID: 9a34459f39328 Response: Array ( [code] => 200 [message] => OK ) 2022-05-11T10:14:56+00:00 DEBUG GET https://api.paypal.com/v1/notifications/webhooks Response Debug ID: 17dc96c7a9b6f Response: Array ( [code] => 200 [message] => OK ) 2022-05-11T10:15:17+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/3KT368737U4227133 Response Debug ID: 11ec8b0a9af88 Response: Array ( [code] => 200 [message] => OK ) 2022-05-11T10:16:18+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:\/\/sos-wp.it\/account\/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":["PPCP"],"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: bcc17c0539869 Response: Array ( [code] => 201 [message] => Created ) 2022-05-11T10:16:18+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:\/\/sos-wp.it\/account\/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: f092620fb2b6f Response: Array ( [code] => 201 [message] => Created ) 2022-05-11T10:16:21+00:00 DEBUG GET https://api.paypal.com/v1/notifications/webhooks Response Debug ID: 4cadeffa824d9 Response: Array ( [code] => 200 [message] => OK ) 2022-05-11T10:16:21+00:00 DEBUG GET https://api.paypal.com/v1/notifications/webhooks Response Debug ID: c07949d30d03c Response: Array ( [code] => 200 [message] => OK ) 2022-05-11T10:16:30+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:\/\/sos-wp.it\/account\/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":["PPCP"],"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: 41b7c01ebd4e8 Response: Array ( [code] => 201 [message] => Created ) 2022-05-11T10:16:30+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:\/\/sos-wp.it\/account\/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: 919ded5837b29 Response: Array ( [code] => 201 [message] => Created )
Thank you.
Hi,
I have a similar problem.
WooCommerce PayPal Payments works in every simple checkout, but doesn’t work in checkout that have a recurring service create with WooCommerce Subscriptions.
Here a screenshot with the settings in Account & Privacy:
https://monosnap.com/file/ObC02DcwPUYNYe6MvS70OQCfETWtmiHow can I solve?
Thank you.
- This reply was modified 2 years, 11 months ago by Matteo.
I was able to solve it by adding the following code in functions.php to block wp-admin, but not the admin-ajax.php file:
function block_dashboard() { $file = basename($_SERVER['PHP_SELF']); if (is_user_logged_in() && is_admin() && !current_user_can('edit_posts') && $file != 'admin-ajax.php'){ wp_redirect( home_url() ); exit(); } } add_action('init', 'block_dashboard');
I’m leaving this to help any developers who got stuck at this point! ??
- This reply was modified 2 years, 11 months ago by Matteo.
I’m using the WordPress installation within another site, that’s why it’s under /account/, but I see that it calls it correctly and the admin-ajax.php URL is right there, so I don’t understand.
I don’t think there’s an error in my code, that’s why I’m asking.
Thanks.
Hello,
thanks for the indication!
I’m using this code:
$pdf_url = wp_nonce_url( add_query_arg( array( 'action' => 'generate_wpo_wcpdf', 'document_type' => 'invoice', 'order_ids' => $order->ID, 'my-account' => true, ), admin_url( 'admin-ajax.php' ) ), 'generate_wpo_wcpdf' );
and it seems to generate the link correctly, but when I click it I go back to the home.
How come?
Below is a screen of the link and the button.
https://monosnap.com/file/f0TUl5CAoLKEFptCGHPxnW7UyYn5IG
Thank you.
Sure,
I want add button for download invoice PDF near the button with text “Visualizza ordine”:
https://monosnap.com/file/nwWp5iyFmsML4ZXcsk5wydIQdwTuZ1I want to know what is the PHP code for reproduce the button for download PDF invoice with your plugin.
Thank you.
Great, this worked for me:
add_action('nsl_register_new_user', 'new_user_by_social_login'); function new_user_by_social_login($user_id){ $user = new WP_User($user_id); $user->remove_role( 'subscriber' ); $user->add_role( 'student_free_2021_2022' ); }
Thank you! ??
Ah, that’s what the problem is.
Our site is custom and due to performance needs we removed jQuery completely. We only use JavaScript.
Wouldn’t it be better to use JavaScript in your code?
Thanks!
Forum: Plugins
In reply to: [WooCommerce Cart Abandonment Recovery] Counting doesn’t workHi,
I have also heard from my hosting to be sure and I confirm that WP CRON is up and running.
Unfortunately, however, the abandoned cart count is not working.
Maybe I’m wrong to use your plugin? In my case I send directly to checkout and skip the cart.
Maybe the cart is required to work properly?
Thank you.
Forum: Plugins
In reply to: [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings] Redirect don’t workHi,
I see that the problem is caused by an image uploaded to media that has the name clipboard.png
Since I don’t want to change the name of the image is there any way to create a formula that doesn’t block this redirection?
Thank you.
Forum: Plugins
In reply to: [Contact Form 7] grecaptcha.execute is not a functionHi, I checked further and saw that the error does not appear when I disable the following plugin:
https://it.www.ads-software.com/plugins/gdpr-cookie-compliance/How can I get both of them to live in harmony? I don’t want to change plugins.
I also found this ticket and I see that the same plugin offered a resolution to the code for contact form 7:
https://www.ads-software.com/support/topic/recaptcha-v3-error-3/Can you please apply it?
Thank you.