Credentials

2 years 10 months ago #325466 by fede312
Replied by fede312 on topic Credentials
Thank you, I've updated everything, but we went full circle, I do not think the plugin version is the issue, or the api version, because then, every account would fail. A year an a half ago (same problem) you've accessed the account and told me the exact same thing. :)
But after I've updated everything I continued having the same issue. It's not something that went out-of-whack recently, it's been happening for over a year. Big mystery!

Also the webhook signing secret, was correct. Again, I would think that if that was the problem, then every subscription will have that problem, but it's only a few accounts.

I will continue to check, but I would like to know what procedure I should follow with those accounts for them to sync back?

What I'm doing is I'm reactivating the account manually, then, I go to subscriptions, click on the subscription id, and from there I set back the Auto renew type to "Mandatory" Autorecurring type to "Autoreccurring with notifications."

But I haven't had any luck so far, the following cycle, the system "expires" the status, set the auto renew type back to manual and the autoreccuring type back to "Not Autorecurring." Very annoying!

Any advice?

Thank you for your patience.

Please Log in to join the conversation.

2 years 10 months ago #325471 by krileon
Replied by krileon on topic Credentials
Your main issue is the IPN verification failing. What's strange is you've 4 recent IPNs from Stripe that worked fine. Then you've several before those that didn't. The data in the IPNs for the 4 that worked and the ones that failed are all correct.

The IPN on the 22nd has an API version of 2019-05-16 so it does look like you need to update your API version of your webhook as instructed in my reply above if you haven't done this already.

You can try disabling the IPN verification below as it seams like that maybe your only way to fix this, but I still can't see why this would fail.

IN: /components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/stripe/cbpaidsubscriptions.stripe.php
ON: Lines 4235 - 4261

You'd just delete the above lines of code responsible for implementing Stripes webhook signature check. Let me know if that solves your issue and will consider adding support for turning off webhook signature verification.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: fede312

Please Log in to join the conversation.

2 years 10 months ago #325479 by krileon
Replied by krileon on topic Credentials
Ok, latest CBSubs build release makes the webhook signing secret now optional. If empty it won't perform the signature check anymore. You can try updating, emptying that parameter, and seeing if you continue to have issues with Stripe IPNs failing.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: fede312

Please Log in to join the conversation.

2 years 10 months ago #325480 by fede312
Replied by fede312 on topic Credentials
1,000 thanks for helping me find the issue, and for making things easy. :)
I see now in the update that the Signing secret is optional I left it blank. I will continue monitoring the issue for the next few days.

Thanks again!
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.691 seconds