• Resolved digitalmonklt

    (@digitalmonklt)


    Hello,

    Im trying to integrate Calendly html code to Forminator, but so far whatever I do nothing works.

    I’m wondering is that even possible?

    Thanks!

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Kasia – WPMU DEV Support

    (@wpmudev-support2)

    Hello @digitalmonklt ,

    Can you provide us with more information? What type of code do you want to use? Since Forminator doesn’t have native integration with this service it might be better to use a plugin designed for this task https://wordpress.org/plugins/embed-calendly-scheduling/

    kind regards,
    Kasia

    Thread Starter digitalmonklt

    (@digitalmonklt)

    Hey Kasia,

    Thank you for quick reply!

    I’ve installed “embed calendly plugin” and when Im trying to embed this code to forminator:

    [calendly url=”https://calendly.com/digitalmonk_lt/nemokama-30min-konsultacija-digitalmonk-lt” type=”1″]

    Calendly doesnt appear on forminator, I just see the code.

    But when I embed this code straight to website it works just fine.

    Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hi @digitalmonklt

    I hope you’re well today!

    I believe Kasia suggested using plugin for Calendly instead of Formiantor integration.

    It’s also a bit “tricky” to use shortcodes like this in Forminator. It can be done but requires additional code:

    1. instead of putting your calendly shortcode in HTML field of the form, put this shortocde there

    [calendly_code]

    2. and then add this custom code snippet to the site as MU plugin:

    <?php 
    
    add_filter( 'forminator_replace_variables', function( $content ){
    	
    	$content = str_replace('[calendly_code]', do_shortcode('[calendly url="YOUR_CALENDLY_URL_HERE" type="1"]'), $content );
    	
    	
    	return $content;
    } );

    – create an empty file with a .php extension (e.g. “forminator-calendly-shortcode.php”)
    – copy and paste code into it
    – replace YOUR_CALENDLY_URL_HERE with the actual URL from shortcode
    – upload the file to the “/wp-content/mu-plugins” folder of your site’s WordPress installation

    However, please note that this will not “integrated” calendar with the form in any way other than just display – it will not pass data from calendar to Forminator, won’t validate or “require” calendar selection/submission and so on; functionally – it really is no different than just displaying calendar besides the form by simply adding Calendly shortcode to the page instead of the form.

    If you do need more strict integration between the form and calendar, this would require quite a bit of custom code based on Calendly API and Forminator filter/action hooks and this would be out of the scope of this support.

    Kind regards,
    Adam

    Thread Starter digitalmonklt

    (@digitalmonklt)

    Thank you, Adam!

    No more headache and now everything is clear for me.

    Thread Starter digitalmonklt

    (@digitalmonklt)

    Hey,

    Just want to let you know about this problem that you were discussing here – https://wordpress.org/support/topic/your-card-was-declined-your-request-was-in-test-mode-but-used-a-non-test-live-2/

    I had the same problem, cleared all the catches everywhere, tripple checked all keys are in the right place, but nothing helped.

    The only solution was @andycucca gave in his post, to add live API in both test and live fields.

    Just letting you know, that this problem still exist.

    Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hi @digitalmonklt

    Thanks for information. I took a look at that other ticket and I think there was some misunderstanding and confusion.

    Putting live API keys in both fields will work if you are testing with real card but that defies the purpose of test mode.

    Stripe cannot and doesn’t allow using real card for testing in test mode so the other solution is just to:

    – keep live keys in live setting and test keys in test setting
    – and when testing payment in test mode just use relevant test cards.

    Example (valid and successful) Stripe test card:

    number: 4242 4242 4242 4242
    CVC/CVV: any 3 digit number
    Expiration date: any date in future

    More on that here:

    https://stripe.com/docs/testing#cards

    Note please: since it’s a different issue than Calendly integration, let’s not continue it here; if you need further assistance with it – please create a separate ticket of your own.

    Kind regards,
    Adam

    Plugin Support Kasia – WPMU DEV Support

    (@wpmudev-support2)

    Hello @digitalmonklt ,

    We haven’t heard from you for some time now, so it looks like you don’t have more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Calendly integration to Forminator’ is closed to new replies.