Hi
I am opening this new thread as things did not move for the last year on this subject and we need to find a solution for our clients.
Beat severely answered on my last post regarding basket and invoicing for recurring payments, and we have no other choices than trying to find a workaround or move to another subscription software, if we want to comply with regulations.
Concerning post #6647 and a suggestion made by Kyle last year which was :
You could do [column_invoice][id] to suffix the payment row id or [column_txn_id] to output the transaction id (not all gateways provide this so could be empty), which is unique per payment. Aside from that I guess you could adjust the query to find out what payment count it is (e.g. if is 3rd, 4th, etc..) and suffix that to the invoice directly in the query.
Would it be possible to pass one or two arguments to the invoice link and then retrieve these arguments to add a recurring number to the invoice number ?
For instance, do you have a trigger to alter the invoice before display ? or if not what should we write in the invoice php file in order to be able to append the invoice number with something ?
What would be needed is the payment date and the payment transaction id which are uniques :
- payment day
- payment month
- payment year
- payment transaction id
So as Kyle suggested, we could use the link
Code:
<td><a href="index.php?option=com_comprofiler&view=pluginclass&user=[user_id]&plugin=cbpaidsubscriptions&cbpact=showinvoice&cbpinvoice=[column_payment_basket_id]&tmpl=component" target="_blank">[column_invoice]</a></td>
And maybe simply add
Code:
&paymentday=xxx&paymentmonth=xxx&paymentyear=xxx
Then we could output a unique invoice number per payment which would have the basket id and the invoice number automatically computed with an added unique string depending on the payment date.
We would also use the payment date to have an invoice corresponding to the payment period.
That is not very regulatory as we should have a unique invoice number (even for recurring baskets), but that could be a sufficient workaround for now
This would allow us to move to Stripe SEPA and automate our users subscription as we are still on Ogone Ingenico and stuck with SLIMPAY SEPA and no automation.
Hope you will understand that it’s not another repetition for asking a needed feature but a way to find a workaround to continue using CBsubs.
Thanks for understanding
Regards
Jean