Forum Replies Created

Viewing 15 replies - 16 through 30 (of 91 total)
  • Plugin Author Tip Jar WP

    (@tipjarwp)

    I’m thinking what might make sense here, is to simply not show the email field if the user is logged in already. Thoughts?

    Plugin Author Tip Jar WP

    (@tipjarwp)

    Hey there,

    Right now that is intentional, just so that there’s never any confusion about which email address is the “right one” for a user. If the email entered is different than the one they already have on file, it sends to the one on file.

    Is there a reason you were hoping it would send to a different address than the one already on file? I am just wanting to make sure I understand what the use-case is here, and if it makes sense we can consider adding that functionality to the plugin.

    Plugin Author Tip Jar WP

    (@tipjarwp)

    Hey there,

    So sorry for the delay over the weekend! We would definitely love to help you get this resolved in any way that we can, and as quickly as we can. We have just responded to your email, which you sent to [email protected], and are actively investigating what might be the cause here for you.

    It seems like your live mode connection to Stripe failed at some point, and needs to be re-done. You can do that in your WordPress dashboard under “Tip Jar WP” > “Stripe settings” > “Connect to Stripe (Live mode)”.

    I also noticed your website is not using an SSL certificate, which is required for Stripe to work. Is it possible your SSL certificate has timed out? It may be worth checking with your webhost on that.

    • This reply was modified 3 years, 9 months ago by Tip Jar WP.
    Plugin Author Tip Jar WP

    (@tipjarwp)

    @shibetpc That’s very strange! If you email us at [email protected] we would be happy to troubleshoot this with you and get to the root cause. Sometimes it can be as easy as a plugin conflict with another plugin, which is a very easy solve. Either way, we’d love to help you solve this. Send us an email!

    Plugin Author Tip Jar WP

    (@tipjarwp)

    @shibetpc That’s very strange! If you email us at [email protected] we would be happy to troubleshoot this with you and get to the root cause. Sometimes it can be as easy as a plugin conflict with another plugin, which is a very easy solve. Either way, we’d love to help you solve this. Send us an email!

    Plugin Author Tip Jar WP

    (@tipjarwp)

    Awesome! That’s a great solution here. Thanks for sharing and glad you found a solution ??

    Forum: Plugins
    In reply to: [Tip Jar WP] Some ideas
    Plugin Author Tip Jar WP

    (@tipjarwp)

    Just wanted to update you here that #10 and #11 have been improved in the latest release (version 2.0.0).

    Plugin Author Tip Jar WP

    (@tipjarwp)

    Actually there’s a bit more to it I think, as the download doesn’t actually come from the page where the tip jar is embedded (via shortcode/block/etc).

    I will do a bit more digging to find a solution here and let you know.

    Plugin Author Tip Jar WP

    (@tipjarwp)

    A more complete (but untested) example:

    function swap_in_my_file( $file, $attachment_id ) {
    	$url = 'https://&#8221';
    	// Append the host(domain name, ip) to the URL.
    	$url .= $_SERVER[‘HTTP_HOST’];
    
    	// Append the requested resource location to the URL
    	$url .= $_SERVER[‘REQUEST_URI’];
    
    	$split_str        = str_split($url, 29);
    	$double_split_str = str_split($split_str[1], 10);
    	$unique_id        = $double_split_str[0];
    
    	// If a unique ID was not found, don't modify this attachment's path.
    	if( empty( $unique_id ) ) {
    		return $file;
    	}
    
    	$your_custom_file_path = '/your_server_file_root/wp-content/uploads/' . $unique_id . '.zip';
    
    	return $your_custom_file_path;
    }
    add_filter( 'get_attached_file', 'swap_in_my_file', 10, 2 );
    Plugin Author Tip Jar WP

    (@tipjarwp)

    I think what might be happening is that you are passing a file URL to the $deliverable_file_path variable, when you really need a file PATH.

    Note the difference between a URL and a PATH here. A path refers to an internal file, not publicly accessible, but only accessible by your server internally. So when reconstructing the file path, make sure it refers to the PATH, and not the URL.

    Also I did some digging, and you should be able to do this without needing to modify any PHP code. Rather, you can use the filter like this in your theme’s functions.php file, or a custom plugin:

    function swap_in_my_file( $file, $attachment_id ) {
    	return '/your_server_file_root/whatever_file_path_you_want.zip'
    }
    add_filter( 'get_attached_file', 'swap_in_my_file', 10, 2 );

    Let me know if that helps at all. I think we can get this working for you in a nice and elegant way.

    • This reply was modified 3 years, 11 months ago by Tip Jar WP.
    Plugin Author Tip Jar WP

    (@tipjarwp)

    Oh my apologies. I re-read your original question and I see what you are asking. You already have the image attached to each post. I will think about this for a bit and get back to you.

    Plugin Author Tip Jar WP

    (@tipjarwp)

    Just to clarify, I am wanting to make sure you’ve already considered using a separate Tip Jar shortcode for each photo, and attaching each photo to that tip jar from your media library. If so, is there a reason that doesn’t work for your use-case?

    Plugin Author Tip Jar WP

    (@tipjarwp)

    Hey there,

    I’d love to help you get this working as it’s a great use case.

    Just to help me understand the main issue, is it that you are delivering your images via a URL that isn’t an attachment in your WordPress?

    Plugin Author Tip Jar WP

    (@tipjarwp)

    Hi there and thanks for your questions!

    1) Yes it is possible to do this. When configuring your Tip Form, you can set it to start as a button, which opens the tip form in a popup modal, just like the original Stripe Checkout.

    You can use the shortcode like this to accomplish that:
    [tipjarwp mode=”button” link_text=”Leave a tip” open_style=”in_modal”]

    You can find out more about the ways the Tip form can be shown on our website here:
    https://tipjarwp.com/getting-started-with-tip-jar-wp/#showing-the-payment-form-on-your-website

    2) Your users never have to log in to leave a tip. However, Tip Jar WP does auto-create user accounts for any user (in the background) if they don’t already have an account. This allows them to log in to get their receipt, or cancel a recurring plan. I don’t think this should interfere with any other system, as the users are created with “subscriber” privileges, which gives them no controls in most 3rd party membership systems.

    Forum: Plugins
    In reply to: [Tip Jar WP] Some ideas
    Plugin Author Tip Jar WP

    (@tipjarwp)

    Are you able to email us a link to your website? We’d be happy to take a look and see what the cause of the off centered text might be on your site!

    Our email is [email protected]

Viewing 15 replies - 16 through 30 (of 91 total)