The payment of subscriptions generates 1 or 2 records in cbsubs_payments

1 year 3 weeks ago - 1 year 3 weeks ago #333290 by cppleal
The payment of a subscription is generating 2 records in the cbsubs_subscriptions table on some occasions and on others, it only generates one record.
I attach an example.
  • -> id 3368 / Basket 3764 / payment method: stripe / payment_type: mastercard credit
  • -> id 3369 / Basket 3764 / payment method: stripe / payment_type: stripe
  • -> id 3370 / Basket 3765 / payment method: stripe / payment_type: stripe
  • -> id 3371 / Basket 3765 / payment method: stripe / payment_type: visa credit
  • -> id 3372 / Basket 3767 / payment method: stripe / payment_type: mastercard credit
 

I perform some calculations on this table directly and I can't find the way to make a correct selection.
Can you tell me what the criteria is?

Thanks...!!!!
Attachments:

Please Log in to join the conversation.

1 year 3 weeks ago #333292 by krileon
That's the below bug.

forge.joomlapolis.com/issues/9151

A fix will be available today. It's due to the charge webhook and checkout session webhooks arriving at the same time causing them both to process.


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.

Please Log in to join the conversation.

1 year 3 weeks ago #333294 by krileon
This is now fixed in latest CBSubs build release. Implemented webhook priority processing to avoid double processing during Stripe checkouts.


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.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.173 seconds

Facebook Twitter LinkedIn