Commit Graph

178 Commits

Author SHA1 Message Date
stickler-ci
4bd4719aa6 Fixing style errors. 2019-12-01 10:03:29 +00:00
Laurent Destailleur
4ed44140e7
Merge branch 'develop' into patch-285 2019-12-01 11:01:40 +01:00
ptibogxiv
b9c0f961c9
Update stripe.class.php 2019-11-28 22:17:49 +01:00
Laurent Destailleur
ec0d5602f8 Fix log 2019-11-13 02:05:11 +01:00
Laurent Destailleur
0a607d697f More log 2019-11-11 00:34:05 +01:00
Scrutinizer Auto-Fixer
812d0af1d9 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2019-11-08 14:51:54 +00:00
Laurent Destailleur
bc2a949bab New Add option to disable idempotency when using Stripe payments. 2019-10-31 16:47:27 +01:00
Frédéric FRANCE
8f6d38ee82
clean indent 2019-10-27 17:01:23 +01:00
Laurent Destailleur
71227e43fa Debug stripe deprecated page 2019-10-12 04:51:41 +02:00
Alexandre SPANGARO
02dbc11f98 Move Gnu.org to https 2019-09-23 21:55:30 +02:00
Laurent Destailleur
64fc735340 Fix length of fields to card saved with setupintent 2019-09-23 18:12:58 +02:00
Laurent Destailleur
243e31df2c Better error management for using SCA stripe 2019-09-23 16:50:32 +02:00
Laurent Destailleur
d5877e9c36 FIX Bad currency var used in stripe for connect 2019-09-23 11:36:45 +02:00
Laurent Destailleur
bf9f25fd74 Ehance getPaymentIntent to use it for offline payment 2019-09-23 11:35:11 +02:00
Laurent Destailleur
3faca1dbd1 Enhancement for SCA 2019-09-22 21:09:01 +02:00
Laurent Destailleur
8e83615533 Add method getSetupIntent 2019-09-13 18:52:35 +02:00
Laurent Destailleur
61cf47aa16 Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop 2019-09-10 00:14:07 +02:00
Laurent Destailleur
a168c989f8
Update stripe.class.php 2019-09-06 23:29:27 +02:00
ptibogxiv
9601f846ce
Update stripe.class.php 2019-09-05 11:11:48 +02:00
Alexandre SPANGARO
20e2180de4 Fix travis 2019-08-26 13:54:46 +02:00
Laurent Destailleur
5983f08d73
Update stripe.class.php 2019-08-22 12:52:30 +02:00
ptibogxiv
074ea37664
Update stripe.class.php 2019-08-21 17:09:26 +02:00
Laurent Destailleur
8647a20c18 Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	ChangeLog
	htdocs/langs/en_US/admin.lang
	htdocs/product/dynamic_price/class/price_parser.class.php
	htdocs/product/stats/facture.php
2019-08-10 01:57:43 +02:00
Laurent Destailleur
5dc2fd8ca0
Merge pull request #11621 from ptibogxiv/patch-205
Fix application_fee_amount
2019-08-10 01:38:30 +02:00
ptibogxiv
13eef54392
Fix round for application fee in stripe 2019-08-03 12:31:13 +02:00
ptibogxiv
3a0c1954d6
Fix application_fee_amount
need fix in v10 too
2019-08-02 13:23:15 +02:00
Laurent Destailleur
cd07596b27
Merge pull request #11565 from ptibogxiv/patch-199
Fix application_fee name stripe.class.php
2019-07-30 21:34:19 +02:00
Laurent Destailleur
db461792a0 Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop 2019-07-29 01:36:35 +02:00
Laurent Destailleur
9ca4d65965 Fix stripe error management 2019-07-29 01:12:03 +02:00
ptibogxiv
e464e2e1b8
Fix application_fee name stripe.class.php
stripe changes name without change API :/

application_fee_amount for amount application_fee for %
2019-07-26 14:16:28 +02:00
Laurent Destailleur
efe27d335b Fix param 2019-07-19 03:53:34 +02:00
Laurent Destailleur
5b9d9deb47 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2019-07-19 03:46:40 +02:00
Laurent Destailleur
03aa8c4b83 Better log 2019-07-19 03:29:43 +02:00
Laurent Destailleur
8857d0acf5
Keep save_payment_method to true.
Keep it to true because i see no reason to not save the credit card on Stripe side.
2019-07-19 03:18:53 +02:00
ptibogxiv
4235f0b352
Update stripe.class.php 2019-07-18 10:05:54 +02:00
ptibogxiv
8a5aad3433
Update stripe.class.php 2019-07-18 10:00:57 +02:00
ptibogxiv
27a0c046df
Update stripe.class.php 2019-07-18 09:58:26 +02:00
Laurent Destailleur
2a05164bb1 FIX Better PHP compatibility 2019-07-14 00:31:28 +02:00
Laurent Destailleur
a7d7d44f87 FIX Management of vat info in stripe 2019-06-21 19:59:16 +02:00
Laurent Destailleur
c3b8582076 Fix use of deprecated function 2019-06-19 15:55:18 +02:00
Laurent Destailleur
a6d4475aff Fix scrutinizer 2019-06-17 18:24:45 +02:00
Laurent Destailleur
48b2cb83af Close #11152 by a manual merge to keep only required things 2019-06-16 17:08:23 +02:00
Laurent Destailleur
eb0d04f304 Code comment 2019-06-07 11:24:35 +02:00
Laurent Destailleur
8bcc7cb370 Fix creation of duplicate payment intents 2019-05-17 00:26:39 +02:00
Laurent Destailleur
ae3a20d6ff FIX compatibility with intent payment_modes 2019-05-17 00:10:44 +02:00
Laurent Destailleur
52c1f42734 Debug payment with stripe Intent 2019-05-16 23:11:49 +02:00
Laurent Destailleur
eab49d4300 NEW Update Stripe library to 6.34.3 2019-05-03 02:22:27 +02:00
Laurent Destailleur
10d853cdb3 Work on stripe payment using intent with option
STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION
2019-05-02 21:54:28 +02:00
Laurent Destailleur
f50210ef39 Fix idempotency_key 2019-04-30 03:07:20 +02:00
Laurent Destailleur
9380254f76 Prepare for Manual confirmation quickstart 2019-04-26 10:48:38 +02:00
Laurent Destailleur
22b8a67e55 A more complete function 2019-04-26 05:19:11 +02:00
Laurent Destailleur
653790fb5d Clean code 2019-04-26 03:11:46 +02:00
Laurent Destailleur
85059eeedb Debug method getPaymentIntent 2019-04-26 02:05:57 +02:00
Laurent Destailleur
f8c381f069 Fix label for API 2019-02-19 2019-04-24 12:02:03 +02:00
Frédéric FRANCE
014f69850e
add visibility 2019-03-01 23:08:57 +01:00
ptibogxiv
12e3e2c7c8
UPDATE support maximal fee in connect mode 2019-02-26 12:33:03 +01:00
Laurent Destailleur
8234c09412 Try some fixes 2019-02-25 15:15:17 +01:00
Laurent Destailleur
c480f4be68 FIX Bad remote ip address when user is using a proxy 2019-02-15 15:17:24 +01:00
Frédéric FRANCE
81880b9602
Update stripe.class.php 2019-02-14 20:32:11 +01:00
ptibogxiv
7d5ea4fc35
Update stripe.class.php 2019-02-12 19:42:34 +01:00
ptibogxiv
cc1aabfd19
NEW Stripe Payment Intent
Starting in September 2019, a new regulation called Strong Customer Authentication (SCA) will require businesses in Europe to request additional authentication for online payments. We recommend that all European businesses start building their Stripe integrations with either our PaymentIntents API or our new Checkout to be ready for these rule changes.

https://stripe.com/docs/payments/payment-intents

need replace actual integration
2019-02-12 18:47:35 +01:00
Frédéric FRANCE
1e43f8e54a
PEAR FunctionCallSignature 2019-02-10 10:45:49 +01:00
Frédéric FRANCE
f0cdf300d1
Squiz.Functions.FunctionDeclarationArgumentSpacing 2019-01-27 15:20:16 +01:00
Frédéric FRANCE
86d854f3f4
Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose 2018-10-24 23:04:26 +02:00
Laurent Destailleur
d0ab12ba6e Fix not used var 2018-10-24 11:10:55 +02:00
Philippe GRAND
d8b62f0808 Merge remote-tracking branch 'upstream/develop' into new_branch_10_10_2018 2018-10-13 09:49:23 +02:00
Laurent Destailleur
1e635cff1b Fix new stripe API 2018-10-12 21:00:33 +02:00
Philippe GRAND
bdb09a7f43 Merge remote-tracking branch 'upstream/develop' into new_branch_10_10_2018 2018-10-12 19:26:00 +02:00
Laurent Destailleur
0f3ac26006
Merge pull request #9319 from ptibogxiv/patch-41
Fix for new stripe API 2018-09-24
2018-10-12 19:14:58 +02:00
Philippe GRAND
b4e2542472 Standardize and update code 2018-10-12 12:20:05 +02:00
Philippe GRAND
bcfdeeea88 Standardize code 2018-10-05 15:55:47 +02:00
ptibogxiv
ef4659c518 add capture option in payment function
Conflicts:
	htdocs/stripe/class/stripe.class.php
2018-09-12 19:47:04 +02:00
Philippe Grand
c32c67ca57
Merge branch 'develop' into develop 2018-09-04 16:58:59 +02:00
Philippe GRAND
42565e722e Standardize and update code 2018-09-04 13:37:00 +02:00
Philippe GRAND
7a0c19485e fix merge 2018-09-03 09:34:08 +02:00
Laurent Destailleur
d2afffaeca Fix phpcs 2018-09-02 17:53:31 +02:00
Laurent Destailleur
e081e8443b
Merge pull request #9204 from ptibogxiv/patch-32
Fix payment in connect mode
2018-09-02 17:25:27 +02:00
Laurent Destailleur
3cc268c840
Update stripe.class.php 2018-09-02 17:23:38 +02:00
Laurent Destailleur
7ca45cd117
Update stripe.class.php 2018-09-02 17:22:45 +02:00
Laurent Destailleur
4cca4ce020
Update stripe.class.php 2018-09-02 17:21:45 +02:00
Philippe GRAND
ae2df6be11 Standardize and Update code 2018-09-01 23:04:46 +02:00
Philippe GRAND
7b0d3c32ab Standardize and Update code 2018-09-01 22:55:10 +02:00
Philippe GRAND
1944ef0dc3 conflict resolution 2018-09-01 12:38:22 +02:00
Philippe GRAND
70ae8c6081 Standardize and update code 2018-08-31 18:27:16 +02:00
Frédéric FRANCE
6aee680a4f
PSR2 ClassDeclaration 2018-08-29 22:06:05 +02:00
Frédéric FRANCE
b03f4004ea
PSR2 FunctionClosingBrace 2018-08-29 21:25:22 +02:00
ptibogxiv
25be9f5989
fix if null 2018-08-29 13:19:03 +02:00
ptibogxiv
90de2698c3
Fix for new stripe API 2018-08-23
Fix break of change API
2018-08-28 13:34:59 +02:00
ptibogxiv
4d34725b23
Define introduce principal entity
define which entity must be use as principal with no fee and everything else (cf stripe API)
2018-08-12 19:42:07 +02:00
ptibogxiv
dd9751c9cf
Fix statement descriptor $soc->name 2018-08-12 19:36:41 +02:00
Laurent Destailleur
719c5c8e2f
Update stripe.class.php 2018-08-12 18:34:28 +02:00
ptibogxiv
ba943bcbaa
fix spaces 2018-08-08 10:13:28 +02:00
ptibogxiv
78edd035f8
add statement descriptor as newpayment.php 2018-08-08 10:12:25 +02:00
ptibogxiv
f6e5b71f21
Fix and compatibility for V8 and connect
fix for V8 release and optimal functionnality with connect mode
2018-08-06 12:29:38 +02:00
ptibogxiv
3c15da9dde
Fix payment in connect mode
I know that it's not an optimal fix but it's functionnal for dolibarr 8.0.0 release
2018-08-04 14:30:52 +02:00
Laurent Destailleur
b094ae953e Better log 2018-06-01 17:20:49 +02:00
Laurent Destailleur
3f6d11cf26 Fix log 2018-06-01 16:23:42 +02:00
Laurent Destailleur
ffb6a5db81 Fix use correct stripe env 2018-05-17 16:07:44 +02:00
Laurent Destailleur
6afd4e67e9 Fix error in sources->retrieve when a stripeaccount is defined 2018-04-20 23:46:56 +02:00
Laurent Destailleur
0d0da234b1 Lowercase NULL, TRUE, FALSE according to PSR2 2018-04-16 13:51:16 +02:00