Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter giulia-DF

    (@didafactory)

    Hi @mrclayton

    I’ve tried the code snippet but it doesn’ work. When I open or edit certain pages in the admin area (for example, Cart, Checkout, or LearnDash lessons, or anything that use Blocks Editor), WordPress stills shows:

    β€œThere has been a critical error on this website.”.

    Uncaught Error: Call to undefined method WC_Stripe_UPE_Payment_Method_Klarna::get_required_parameters in /wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-method.php:166

    Stack trace:

    #0 /wp-content/plugins/woo-stripe-payment/packages/blocks/src/Payments/Gateways/KlarnaPayment.php(22): WC_Stripe_UPE_Payment_Method->__call('get_required_pa...', Array)

    #1 /wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php(62): PaymentPlugins\Blocks\Stripe\Payments\Gateways\KlarnaPayment->get_payment_method_data()

    #2 /wp-content/plugins/woocommerce/src/Blocks/Payments/Api.php(92): Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_registered_script_data()

    #3 /wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Payments\Api->add_payment_method_script_data('')

    #4 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)

    #5 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #6 /wp-content/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php(287): do_action('woocommerce_blo...')

    #7 /wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(111): Automattic\WooCommerce\Blocks\BlockTypes\MiniCart->enqueue_data()

    #8 /wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_editor_assets('')

    #9 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)

    #10 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #11 /wp-admin/edit-form-blocks.php(339): do_action('enqueue_block_e...')

    #12 /wp-admin/post.php(187): require('/home/...')

    #13 {main}

    Please could you take a further look to this issue?

    Thank you in advance, Best Regards

    • This reply was modified 8 months ago by giulia-DF.
    Thread Starter giulia-DF

    (@didafactory)

    Thank you @mrclayton 😊

    Thread Starter giulia-DF

    (@didafactory)

    Hi @mrclayton,
    as said in my setup I must keep both Stripe plugins active because I need to process payments for two different companies (with two different Stripe Accounts). Payments are routed via YITH Payment Method Restrictions.

    Anyway Klarna is enabled only in your plugin, and not in the official Stripe plugin. So there is only one Klarna activate on my site (see below).

    I think this error is caused by one of the latest plugin updates, because I’m running this website from several months and this is the first time this issue appears.

    Thank you for your support!

    Thread Starter giulia-DF

    (@didafactory)

    Hi Takayuki,

    the website is still in maintenance mode, so it’s not accessible right now.
    Here you can find the form code, I hope this could help.

    <label> <h5>Full Name:<font color="red" face="Verdana, Arial, Helvetica, sans-serif">*</font></h5>
    [text* your-NOME autocomplete:name] </label>

    <label> <h5>Mobile Number:<font color="red" face="Verdana, Arial, Helvetica, sans-serif">*</font></h5>
    [phonetext* your-SMS minlength:9 maxlength:19 autocomplete:phone numberonly] </label>

    <label> <h5>Email:<font color="red" face="Verdana, Arial, Helvetica, sans-serif">*</font></h5>
    [email* your-EMAIL autocomplete:email] </label>

    <label> <h5>Treatment:<font color="red" face="Verdana, Arial, Helvetica, sans-serif">*</font></h5>
    [select* your-TREATMENT "Emergency" "Check Up" "Veneers" "Invisalign" "Cleaning" "Whitening" "Filling" "Other" ]</label>

    <label> <h5>Best Time To Call You:<font color="red" face="Verdana, Arial, Helvetica, sans-serif">*</font></h5>
    [text* your-BEST_TIME minlength:1 maxlength:140] </label>

    <label> <h5>Notes & Other Inquiries:</h5>
    [text your-NOTE maxlength:140]</label>

    [submit "Submit"]

    This is the field mapping in Brevo:
    – NOME => firstname
    – COGNOME => lastname
    – EMAIL => email
    – SMS => phone number

    With this setting, if I fill the form with “Vincent van Gogh” in the first field, the output in Brevo is:
    – NOME => Vincent van Gogh
    – COGNOME => blank
    instead of
    – NOME => Vincent
    – COGNOME => van Gogh

    Thank you for your help,
    Best Regards,

    Giulia

    Thread Starter giulia-DF

    (@didafactory)

    hi Steven,

    no, the email is not in any folder, not even Spam/Social/Promotions/Junk… It really seems that the email doesn’t arrive (only to Gmail accounts, to all the others it arrives correctly in the inbox).

    I’m not using any smtp plugin.

    I checked the sent email log, and the log shows that the email is being sent, but not received (https://snipboard.io/eqXytD.jpg)

    Thank you

    Thread Starter giulia-DF

    (@didafactory)

    Hi Steve,

    thank you for your feedback. I fixed the problem, which was due to a WP caching issue and not the ActiveCampaign form.

    Thanks anyway,
    Giulia

    Thread Starter giulia-DF

    (@didafactory)

    Hi Steve, ActiveCampaign is not a plugin, ActiveCampaign is an autoresponder.

    I have create a contact form in ActiveCampaign to collect data from my visitors, and I want to embed it in my website.

    But I’m having issues with che captcha box, as you can see in my previous message.

    Thread Starter giulia-DF

    (@didafactory)

    Hi @uncannyowl ,

    thank you for your reply. Please could you tell my how to change the code if I have to allow redirects to several domains?

    Do I have to clone the $host[] for each domain?
    For example:

    $hosts[] = ‘www.bleaching-academy.it’;
    $hosts[] = ‘www.anotherdomain.it’;

    Thank you so much,
    Giulia

    Thread Starter giulia-DF

    (@didafactory)

    Hi @uncannyowl,

    please could you help me?
    I’ve just tried to use the same

    I’ve just tried to use the same code suggested in a recent post (changing my own domain), but it doesn’t work. If I’m not enrolled in a couse, I’m retirected to the account settings page.

    Thank you so much for your help,
    Giulia

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