Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.37k stars 2.77k forks source link

Payment link not valid in the PDF invoice #31421

Open webstorm92100 opened 3 days ago

webstorm92100 commented 3 days ago

Bug

Payment link on Invoice footer is missing invoice REf : https://mysite.fr/public/payment/newpayment.php?source=invoice&ref=&securekey=xxxxxxxxxxxxxxxxxxxxxx 'ref' var has no value.

FYI - Same invoice gets right link in the payement email https://mysite.fr/public/payment/newpayment.php?source=invoice&ref=FA2410-0335&securekey=xxxxxxxxxxxxxxxxxxxxxx

Dolibarr Version

20.0.1

Environment PHP

7.4

Environment Database

maria db Mysql

Steps to reproduce the behavior and expected behavior

Attached files

No response

sonikf commented 3 days ago

Hi @webstorm92100 which payment module do you use?

webstorm92100 commented 3 days ago

Hi I have stripe and Paypal activated. Reading your question, I tried : Paypal ON, Stripe OFF Paypal OFF, Stripe ON regenerated invoice after each : Issue is the same.

M

Le mer. 16 oct. 2024 à 14:12, sonikf @.***> a écrit :

Hi @webstorm92100 https://github.com/webstorm92100 which payment module do you use?

— Reply to this email directly, view it on GitHub https://github.com/Dolibarr/dolibarr/issues/31421#issuecomment-2416641658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN6EKYPOOH666HOEFUGMKVDZ3ZJZRAVCNFSM6AAAAABQA7QASKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJWGY2DCNRVHA . You are receiving this because you were mentioned.Message ID: @.***>

--

Marc Signorel WEBSTORM Prendre un RDV en ligne https://linea.link/prendre-un-rdv-30 https://linea.link/prendre-un-rdv-30 00 33 6 12 19 90 01 | @.*** www.webstorm.fr | Skype: marcosigno

sonikf commented 3 days ago

Hi @webstorm92100 I can't reproduce, works as expected in 2 instances using either sponge or crabe template. Try disabling any external modules if any in use!