Dan Cameron
Forum Replies Created
-
Hi guys,
I think it’s best to follow up via priority support, they can surely help you more than here.
That said checkout my reply here. Although I’m not sure if it would help Mike since that error (i.e. “Stripe Checkout can’t communicate with our payment processor because the API key is invalid.”) isn’t something that the integration can manage/control, it’s an error from Stripe and I’d imagine that their right in saying the API key is indeed invalid.
I suggest reviewing it again, maybe you have the test credentials saved as the live credentials ???♂?
Good luck.
PS: I’ve never seen this error, which is why I would lean toward the error message being correct, not a coding issue.
Hell fpman,
This same thing happened to me (and I developed the integration haha). How I fixed it was resaving the Stripe Checkout settings (even if you don’t change anything). What happens is web hook is resent to Stripe to be saved and used.
Technically what happened: I migrated my site to a new url, and the old web hook was failing. Example – https://a.cl.ly/2Nu54rXq
Hope that helps. If not, follow up with priority support, their team is great.
Cheers!
Im sorry you’re upset but I’m not sure why. What do you mean it’s not free?
Hi Prashant,
We still have this bug report open within our project (github), and regularly run tests, however we’re still not able to reproduce the issue.
If you’re able to reproduce this on a default setup of WordPress please let us know and provide access to the site. Otherwise we may need to close this report and mark it as non-producible.
Apologies for the delayed response, we didn’t get a previous notification.
The second snippet is a great start to make the shortcode use HTML.
https://gist.github.com/dancameron/e4b47aabe3f460d8b20fHello,
This is Dan Cameron, the lead developer of Sprout Invoices. Chris passed this on to me after he did some extensive testing. I also ran some tests (a lot) and ended up not able to reproduce this at all.
I wonder if it’s an issue with another plugin, possibly something that is caching objects incorrectly.
If you could do some troubleshooting on your end I’d appreciate hearing about the results.
Kind Regards,
Reach out via the support on our site and I can provide a discount. I’m also curious about the issues you’re having.
Hello,
You would need to filter that shortcode to create an HTML output.
The filter is – shortcode_line_item_table
Here’s a couple filters that can help – https://gist.github.com/search?utf8=?&q=shortcode_line_item_table
Kind Regards,
Hello,
If you wrote your notification templates to use HTML just make sure that you selected the HTML format option within settings.
Hope that helps.
Kind Regards,
Hi Prashant,
Apologies for the delay, it’s just that we can’r reproduce this one at all.
Do you have any customizations that could be contributing to this?
Kind Regards,
Hi Prashant,
I’ll have to do some testing to see what this could be. It seems like an issue with the admin payments since we’ve never seen something like this before (and admin payments are rarely used).
We will get back to you soon.
Kind Regards,
Glad you figured it out.
FYI: If you wanted to write your own HTML notifications you could do this and use that setting.
Hi Prashant,
Apologies, I didn’t notice the link because it was stripped from the email we got for the support request.
So that isn’t really a code snippet you just put into your functions.php file. Instead it’s a script to use in a customization, as an example.
Hope that makes sense.
Kind Regards,
Hello,
Sorry to hear that. Some code snippets are meant to be examples or starters for larger customizations and not meant to drop-in.
What code snippet did you use that caused this error.
Hello,
Here’s the customization documentation – https://docs.sproutinvoices.com/article/38-customizing-templates
It should help guide you with numerous solutions to hide/remove the Notes section.
If the issue is that the notes section shows without any text to display check to make sure you don’t have any default notes, and that the fields are completely empty.