Title: jlanpheer's Replies | WordPress.org

---

# jlanpheer

  [  ](https://wordpress.org/support/users/jlanpheer/)

 *   [Profile](https://wordpress.org/support/users/jlanpheer/)
 *   [Topics Started](https://wordpress.org/support/users/jlanpheer/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jlanpheer/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jlanpheer/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jlanpheer/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jlanpheer/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jlanpheer/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 67 total)

1 [2](https://wordpress.org/support/users/jlanpheer/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/jlanpheer/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/jlanpheer/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/jlanpheer/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/jlanpheer/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Stripe Payment Gateway] Payment Method Configuration error.](https://wordpress.org/support/topic/payment-method-configuration-error-2/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/payment-method-configuration-error-2/#post-18721522)
 * Here’s an update. As instructed, we did downgrade the plugin to version 9.9.2
   and re-authenticated our Stripe account and that DOES appear to have fixed the
   problem. So, thank you for that instruction.
 * My client told me that they upgraded because they got a specific instruction 
   from you to upgrade. Having downgraded, has my client lost some functionality
   or perhaps some security protections? Please advise on how we should proceed 
   going forward.
 * Thanks so much for the help so far!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Stripe Payment Gateway] Payment Method Configuration error.](https://wordpress.org/support/topic/payment-method-configuration-error-2/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/payment-method-configuration-error-2/#post-18715901)
 * Thanks for your reply and instruction. We will do this in the morning and report
   back.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Stripe Payment Gateway] Payment Method Configuration error.](https://wordpress.org/support/topic/payment-method-configuration-error-2/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/payment-method-configuration-error-2/#post-18715797)
 * Hi, sorry just saw your reply, i can do that. Could you please point me to the
   place where i would get the 9.9.2 version of your plugin? I’ll get this done 
   for us.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Stripe Payment Gateway] Payment Method Configuration error.](https://wordpress.org/support/topic/payment-method-configuration-error-2/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/payment-method-configuration-error-2/#post-18709988)
 * OK, thank you for letting me know. Can you recommend any workarounds for my client?
   As of now, their site is completely unable to accept/process payments. Do you
   have customers using your plugin that have been unable to process payments for
   a month now? I would assume that you’ve been able to provide some sort of workaround
   for/to them. Thank you for any advice you can offer.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Payment Plugins for Stripe WooCommerce] Questions about admin order totals and zero refund behavior](https://wordpress.org/support/topic/questions-about-admin-order-totals-and-zero-refund-behavior/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [11 months ago](https://wordpress.org/support/topic/questions-about-admin-order-totals-and-zero-refund-behavior/#post-18652153)
 * As a bit of context for my questions, we have business use cases where custom
   discounts need to be applied based on the number of products in a certain category
   that remain on the order after a refund. One of our use cases involves the instance
   where a customer may have purchased five (or more) items that are in Woocommerce
   category ‘X’, in which case we offer a volume discount. Essentially, this means
   that if a customer buys 4 or more of an applicable item, every item over the 
   count of four is sold for ‘free’, a typical volume discount.
 * If the customer requests a refund on one or more of the items, but after the ‘
   refund’ they still have four or more items on the order matching that description,
   we want to be able to update the order to show the returned item, however the
   amount refunded in this case is zero. We have other use cases where the refund
   logic calculates a non-zero refund and we’ve hung that logic on the ‘woocommerce_admin_order_totals_after_refunded’,
   but the action doesn’t appear to fire in the use case when the refund is zero.
   Hence the questions about how Stripe handles this…..
    -  This reply was modified 11 months ago by [jlanpheer](https://wordpress.org/support/users/jlanpheer/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Hook woocommerce_get_shop_coupon_data not firing.](https://wordpress.org/support/topic/hook-woocommerce_get_shop_coupon_data-not-firing/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/hook-woocommerce_get_shop_coupon_data-not-firing/#post-18519127)
 * Thank you for the class reference, i had already checked that out and not found
   anything that appeared to be new. I did as you asked and posted this on GitHub
   Discussions three days ago now, and (as i’ve usually found in this recommended
   discussion forums in the past) i’ve not had a single response to the discussion
   that i’ve opened. For anyone reading this that feels that they can offer a suggestion,
   here’s the link to the discussion:
 * [https://github.com/woocommerce/woocommerce/discussions/58831](https://github.com/woocommerce/woocommerce/discussions/58831)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Hook woocommerce_get_shop_coupon_data not firing.](https://wordpress.org/support/topic/hook-woocommerce_get_shop_coupon_data-not-firing/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/hook-woocommerce_get_shop_coupon_data-not-firing/#post-18512531)
 * Thanks for your reply. I have posted on both of the forums that you’ve suggested
   above before and have never received a response to any of my queries. I may end
   up trying that, but my expectations of getting any real help there is about as
   close to zero as you could imagine.
 * As a support person on this forum, could you at least confirm: (1) is this still
   a valid Woocommerce hook and (if so) have there been any changes to its functionality
   at any time if the last few Woocommerce updates? Even if you have a link to where
   i might find those might be helpful. From even casual inspection, “something”
   has clearly changed here and any help in tracking it down would be helpful.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Simple AJAX call to upload a file.](https://wordpress.org/support/topic/simple-ajax-call-to-upload-a-file/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/simple-ajax-call-to-upload-a-file/#post-18205479)
 * Thank you Seyyed for your kind and detailed response! It was very helpful!
 * First, i realized about 10 minutes after i posted this that the name of my function
   and the name in the ‘action’ parameter were not the same, i had made that mistake
   after creating several incarnations of this function, trying slightly different
   things. However, correcting that did not solve the problem.
 * What DID solve it was handling the nonce parameter correctly. I did not know 
   that if you localized the script that the nonce argument should be included INSIDE
   the ‘data’ array that is passed. Every example i had seen had showed it as a 
   separate parameter. Doing so fixed the problem straight away. I don’t know why
   i didn’t think to try that, but your suggestion makes sense and solved my problem.
   I’m not quite sure why other parameters in the call are not also included in 
   the passed ‘data’ array (e.g. processData, contentType etc…) but i will have 
   to study that.
 * Thank you again for your help and i am marking this as ‘resolved’. Take good 
   care of yourself and your loved ones!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Simple AJAX call to upload a file.](https://wordpress.org/support/topic/simple-ajax-call-to-upload-a-file/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/simple-ajax-call-to-upload-a-file/#post-18202370)
 * Just to provide a bit more info, if i replace the ‘url’ parameter with this, 
   i instead get the error: POST 400 (Bad Request). As in:
 *     ```wp-block-code
       $.ajax({            url: ajax_new_obj.ajax_url,            type: 'post',            data: formData,            processData: false,            contentType: false,            success: function (response) {                if (response.success) {                    $('#csv-table').html(response.data);                } else {                    alert(response.data);                }            },            error: function (data, status) {                console.log(data, status);                alert('An error occurred while loading this payroll file. Please check the file format and try again.');            }        });    });
       ```
   
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Plugin click redirect shows blank page.](https://wordpress.org/support/topic/plugin-click-redirect-shows-blank-page/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-click-redirect-shows-blank-page/#post-18150382)
 * I actually found the solution. By debugging, i trapped the url that was being
   called and saved that. I also captured the url of the “View Page” that WAS working.
   I found them to be different by a SINGLE character: the one that worked had a
   trailing “/” on the end. So, the two lines of code that i compared were:
 *     ```wp-block-code
       https://mysite.com/stats-apphttps://mysite.com/stats-app/
       ```
   
 * The second one worked, the first did not. Not sure why that is, i’d be curious
   if anyone has an explanation. It’s also a mystery why the code has worked for
   YEARS using version #1 and suddenly, not this past Sunday.
 * Thanks for any theories about the slash, but the problem is resolved and thanks
   for the helpful suggestions!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Plugin click redirect shows blank page.](https://wordpress.org/support/topic/plugin-click-redirect-shows-blank-page/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-click-redirect-shows-blank-page/#post-18150369)
 * Oh, i had also tried changing the button link to this form:
 *     ```wp-block-code
       onclick="<?php echo get_permalink( xxxx ); ?>"
       ```
   
 * No dice…..
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Plugin click redirect shows blank page.](https://wordpress.org/support/topic/plugin-click-redirect-shows-blank-page/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-click-redirect-shows-blank-page/#post-18150365)
 * Hey, thanks for the suggestions, I’ll check the “no-cache-ing” option, thanks,
   i hadn’t tried that.
 * 2. Button code, i actually started with your simpler version, the same as your
   suggestion, but i will add the no-cache.
 * 3. Good suggestion to try the shortcode on a different page, thanks i will try
   that. I have registered it properly. (and this plugin has been working without
   issue for several years, which is what is truly baffling about this).
 * 4. The hosting company HAD switched to php8 recently, and we had troubles (not
   with this) last week and they switched us back to 7.3.4 and this has worked for
   a week…. until tonight. Could .htaccess be an issue?
 * 5. It MIGHT be this, the problem is that the theme has been SO heavily customized
   that going to a default theme will make this functionality unavailable. But, 
   i will check that.
 * 6. Everything’s running https, i checked that first thing.
 * 7. Also checked permissions, also all good.
 * I’ve been debugging all day, no directly relevant errors in the debug log and
   nothing in the browser console at all.
 * I’m wondering about the php8 shift and then back to 7.3.4 myself….. Thank you
   for some ideas to try, i was running out of them.
    -  This reply was modified 1 year, 9 months ago by [jlanpheer](https://wordpress.org/support/users/jlanpheer/).
      Reason: adding info
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] Mixed colors in Elementor header](https://wordpress.org/support/topic/mixed-colors-in-elementor-header/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/mixed-colors-in-elementor-header/#post-18075100)
 * Oooo, thank you for your response. Actually, i DID have an “=” sign where i had
   originally put a “:”, i mistyped my example. When going back, i did discover 
   that your example worked. However, i DID actually find what was actually causing
   it not to work. I wasn’t using an English color, i was using an rbga value. As
   you say, this works:
 * <span style:”color:red;”>Company</span> Header
 * However, this does NOT:
 *     ```wp-block-code
       <span style:”color:rgba(255,255,255,0.3)”>Company</span> Header
       ```
   
 * Is this possible? I would like the color to match the rgba value of the logo 
   on the site as closely as possible. Using the alpha approximation is a fallback,
   but i’m wondering now if i can do the above. Thank you for your answer! Much 
   appreciated!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Payment Plugins for Stripe WooCommerce] Conditional Completed Order CC Email Configuration](https://wordpress.org/support/topic/conditional-completed-order-cc-email-configuration/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/conditional-completed-order-cc-email-configuration/#post-18013640)
 * OK, thank you for your reply, much appreciated. I thought as much, but wanted
   to ensure we went the right path.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Product Collection Woo Block Sorting/Filtering](https://wordpress.org/support/topic/product-collection-woo-block-sorting-filtering/)
 *  Thread Starter [jlanpheer](https://wordpress.org/support/users/jlanpheer/)
 * (@jlanpheer)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/product-collection-woo-block-sorting-filtering/#post-17867252)
 * Thank you for the suggestion. I’ve been directed to the Slack before here, and
   either (a) i don’t know how to connect with the “right people” there or (b) the
   Slack is a black hole of requests, because i’ve posed a couple of questions there
   in the past which i never heard a word in response to. But, i will try it, thank
   you.

Viewing 15 replies - 1 through 15 (of 67 total)

1 [2](https://wordpress.org/support/users/jlanpheer/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/jlanpheer/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/jlanpheer/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/jlanpheer/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/jlanpheer/replies/page/2/?output_format=md)