Hi there,
I am currently exploring the online payment feature with Stripe. - And it’s all straight forward, when I have a contract, generate an invoice and use the payment URL created for the invoice. The Stripe payment via credit card is going through and in Dolibarr a payment object gets created and linked to the invoice.
However, on the module configuration page for the stripe module, there is also the option to provide other object IDs to generate a payment URL. In particular, I can provide the ID of a contract line item and get a URL to make a payment for that line item. In this case, the correct price is shown and the payment goes through like in the case before, but no payment object or any other indication of the payment is created within Dolibarr, neither in relation with the contract nor in relation with the paying customer. I.e. in the Stripe Dashboard I can see the transaction, which went ok, but the result does not get transferred back into Dolibarr.
Is anybody using this feature and is this the expected behaviour or am I missing a setting somewhere? Or is it a bug?
My use case: I will provide a self-booking facility for an online service where customers prepay for the service. My plan was to create and send an invoice, once the payment gets through - i.e. I do not want to create invoices for cases, where the payment does not succeed. But currently, I see no way to get an info about the payment result without creating an invoice beforehand.
Any hints are much appreciated!
Joachim