2
0
forked from Wavyzz/dolibarr

103 Commits

Author SHA1 Message Date
ldestailleur
af74f2c057 Lang file paybox is too small for deprecated moduel. Moved inside
stripe.
2025-09-11 11:20:13 +02:00
Laurent Destailleur
5e064f32e2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-04-22 03:57:47 +02:00
Laurent Destailleur
99b1bcf4d0 Debug v22 on param sessionkey 2025-04-22 03:09:36 +02:00
Laurent Destailleur
656a4f36e3 Fix add protection to avoid bypass in paymentok 2025-04-22 01:42:28 +02:00
Mohamed DAOUD
06cbf7e50e enhance website payment v21 (#33915) 2025-04-18 20:02:57 +02:00
Mohamed DAOUD
71143444e7 enhance website payment (#33912) 2025-04-18 15:53:33 +02:00
ldestailleur
bad881b2a5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-04-10 14:06:45 +02:00
ldestailleur
65ec473bd4 Doc 2025-04-10 11:40:37 +02:00
ldestailleur
e15fe43721 Add a key un URL to allow better protection 2025-04-10 11:39:13 +02:00
ldestailleur
6c8ae0b2a6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-31 16:28:08 +02:00
ldestailleur
2945f0d7ae Allow different mode of redirect in website payment 2025-03-28 16:28:00 +01:00
ldestailleur
21ce661927 Add a condition for the redirect 2025-03-28 16:14:14 +01:00
ldestailleur
1b9ff5ee96 FIX Must make different redirect according to frame or not. 2025-03-28 16:02:40 +01:00
ldestailleur
7b58b23c97 FIX Redirect in PHP is reliable, not in Javascript ! 2025-03-28 03:25:41 +01:00
ldestailleur
c135bbfebd Fix warning 2025-03-05 19:29:57 +01:00
MDW
f352a68150 Qual: Fix phan notices (public-1) 2025-02-12 23:40:57 +01:00
Laurent Destailleur (aka Eldy)
57a3daa358 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-06 15:03:44 +01:00
Laurent Destailleur (aka Eldy)
c5a4bcf943 Debug v21 2025-02-06 10:48:01 +01:00
MDW
bea27b0be4 Qual: Fix phan notices 2025-02-02 01:26:41 +01:00
Laurent Destailleur (aka Eldy)
6198d18544 Fix url payment ko 2025-01-23 19:42:50 +01:00
Laurent Destailleur (aka Eldy)
d81a25ea11 Fix url payment ko 2025-01-23 19:39:19 +01:00
Laurent Destailleur (aka Eldy)
33ce03e128 Fix the redirect of payment 2025-01-23 19:36:18 +01:00
Laurent Destailleur (aka Eldy)
42c870ca62 FIX The email for admin must be in language of admin not of visitor 2025-01-20 15:41:20 +01:00
Frédéric FRANCE
8c6b3291f5 Update paymentko.php 2025-01-09 18:10:18 +01:00
Laurent Destailleur (aka Eldy)
e774bc4065 Debug v21 2025-01-08 21:32:09 +01:00
Laurent Destailleur (aka Eldy)
f186608695 Fix to allow use of payment in frame 2025-01-08 18:47:31 +01:00
Laurent Destailleur (aka Eldy)
6391f36258 Init var 2024-12-27 15:27:11 +01:00
Frédéric FRANCE
0f30986890 fix phpstan 2024-12-11 20:07:27 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
MDW
d71cd352d5 Qual: Fix PhanUndeclaredMethod (#30661)
* Qual: Fix PhanUndeclaredMethod cases

* Fix PhanUndeclaredMethod cases

* Qual: Remove PhanUndeclaredMethod exceptions

* Fix spelling "disacard"

* Improve phpdoc, add abstract method to trait for typing

* Improve phpdoc typing for PHanUndeclaredMethod

* Suppress phan notices for guarded AliasNbPages calls

* Fix return value for printFile stub

* Fix getting message from Exception

* Define dummy getAllByProducts(), typing for it.

* Fix typo in comment

* Qual: Better typing for apiService (phan)

* Test that the Generic OAuth Service is provided

* Qual: Fix getSqlArrayForStats typing

* Force modTcpdfbarcode

* Correct typing hint

* Set ModelePDFAsset typehint

* Fix ModelePDFUserGroup typing hint

* Fix phan typing hints htdocs/core/modules/printing/printgcp.modules.php

* Fix write_file in ModelePDFStock*

* Update printsheet.php

* Adjust typing hint for barcode generator

* Update printsheet.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-19 02:05:27 +02:00
Frédéric FRANCE
2707475a12 fix phpstan (#30319)
* fix phpstan

* fix phpstan expects int, false given ...

* fix phpstan expects int, true given ...
2024-07-08 21:45:35 +02:00
Laurent Destailleur
9af159cdd8 Replace "! empty($conf->global->$" with "getDolGlobalString($" 2024-07-03 20:05:29 +02:00
Lucas Marcouiller
b4130454e0 Fix paymentko to make custom module payment method possible (#30056)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-06-17 16:23:36 +02:00
Mohamed DAOUD
8f1823827a Remove noheaderfooter and isembed parameters from the newpayment page (#29554)
* remove noheaderfooter and isembed

* Update paymentok.php

* Update paymentko.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-01 17:27:56 +02:00
Laurent Destailleur
272275147c Typo in var name 2024-04-28 17:49:37 +02:00
Mohamed DAOUD
330227482d New: modify payment page display and returns when it is embedded into a website (#29442)
* remove header and footer

* Updates to integrate the payment system into website

* Update stripe.lang

* Update onlinepaymentlinks.tpl.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-28 17:47:49 +02:00
Laurent Destailleur
ad79acf63c QUAL removed duplicate language file 2024-04-04 11:00:35 +02:00
Laurent Destailleur
e73f79ca96 Qual: Remove unnecessary use of $_GET 2024-03-28 20:19:28 +01:00
MDW
6f0340e8ce Force typing (phan) for typing checks 2024-03-27 10:18:09 +01:00
Laurent Destailleur
bd76a084a4 Better structure of payment pages to allow integration of other usages 2024-03-20 17:45:49 +01:00
MDW
0395718521 Qual: Spelling htdocs/p[b-z]* (#27436)
# Qual: Fix spelling htdocs/p[b-z]*

Highlight:

Probably fixes a bug:
htdocs/product/stock/replenish.php: empty(->variants->eabled) corrected to ...enabled.
'eabled' could not be found elsewhere in the codebase.
2024-01-12 17:55:52 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
e8dc651877 Fix php8.2 warnings 2023-11-27 11:56:32 +01:00
Laurent Destailleur
b8c8e903c2 Fix php8.2 warnings 2023-10-15 18:39:13 +02:00
Laurent Destailleur
f59987af77 Fix typo 2023-05-11 02:04:25 +02:00
Laurent Destailleur
e2ec34e1e5 Clean code 2023-05-01 14:33:08 +02:00
Laurent Destailleur
254e785c47 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-04-01 15:06:15 +02:00
Laurent Destailleur
148645d220 Fix error 500 on payment 2023-03-31 12:10:48 +02:00
Laurent Destailleur
5924e626b0 The method htmlPrintOnlinePaymentFooter() used for public footer pages
has been renamed into htmlPrintOnlineFooter() and moved into
company.lib.php
2023-03-30 10:18:43 +02:00
Laurent Destailleur
4f350d878c Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-01-11 21:07:43 +01:00