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...!!!!