Commit Graph

526 Commits

Author SHA1 Message Date
Frédéric FRANCE
a0a6afc224
return comment 2018-08-14 12:23:10 +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
Frédéric FRANCE
6f74ecceaf
Merge remote-tracking branch 'upstream/develop' into trimtrailing 2018-08-12 18:21:59 +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
Frédéric FRANCE
9025c452ef
Merge remote-tracking branch 'upstream/develop' into trimtrailing 2018-08-07 16:40:03 +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
Philippe GRAND
de5281e587 standerdize 2018-08-05 10:56:39 +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
Juanjo Menent
94ffda8862
Merge pull request #9188 from ptibogxiv/patch-30
update to Stripe Requirements and Best Practices
2018-08-02 11:37:49 +02:00
ptibogxiv
40b19b8e1d
update to Stripe Requirements and Best Practices
cf https://stripe.com/docs/partners/requirements
2018-08-01 11:50:43 +02:00
ptibogxiv
d50a95c89b
update to straipe
cf https://stripe.com/docs/building-plugins#setappinfo
2018-08-01 11:40:12 +02:00
Frédéric FRANCE
6cb0fb10d6
trim trailing 2018-07-26 19:05:34 +02:00
Frédéric FRANCE
a0a5d33641
test include 2018-07-26 17:30:53 +02:00
Frédéric FRANCE
f79415e740
Update payment.php 2018-07-25 10:08:01 +02:00
Laurent Destailleur
79cbdf7fd1 Code comment 2018-06-15 15:29:19 +02:00
Philippe GRAND
8f777a513b clean and update code 2018-06-08 10:33:52 +02:00
Laurent Destailleur
002181190c Fix option not used 2018-06-06 15:28:50 +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
Frédéric FRANCE
812b182680
loadlangs 2018-05-26 17:04:23 +02:00
Laurent Destailleur
ffb6a5db81 Fix use correct stripe env 2018-05-17 16:07:44 +02:00
Laurent Destailleur
ffa8b7379b
Merge pull request #8658 from ptibogxiv/patch-26
fix getcountry
2018-04-22 20:29:31 +02:00
Laurent Destailleur
ccd9aa8059 Fight against dolibarr warnings 2018-04-21 12:16:12 +02:00
ptibogxiv
f5ef0441fd
fix for customer rereive and charge with sources 2018-04-21 11:23:02 +02:00
ptibogxiv
f0c572717f
fix getcountry
note: stripe account may just be call with customer not card or source
2018-04-21 01:08:22 +02:00
Laurent Destailleur
6afd4e67e9 Fix error in sources->retrieve when a stripeaccount is defined 2018-04-20 23:46:56 +02:00
ptibogxiv
3acd1b536b
Update stripe.php 2018-04-17 10:15:14 +02:00
ptibogxiv
8db9d19521
ADD minimal amount to require 3Dsecure if it's possible 2018-04-17 10:14:36 +02:00
Laurent Destailleur
0d0da234b1 Lowercase NULL, TRUE, FALSE according to PSR2 2018-04-16 13:51:16 +02:00
Laurent Destailleur
3078b890d4 Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/stripe/admin/stripe.php
2018-04-13 00:45:39 +02:00
Laurent Destailleur
2bbde44f63 FIX #8580 2018-04-12 23:54:53 +02:00
Laurent Destailleur
1319bb35fb Fix phpcs 2018-04-06 14:41:45 +02:00
Laurent Destailleur
99d72dc28c Debug 2018-04-06 14:30:18 +02:00
Laurent Destailleur
049b9b2a5f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2018-04-06 14:19:25 +02:00
Laurent Destailleur
9ba55f0d1f Debug list of transactions 2018-04-06 14:19:11 +02:00
Laurent Destailleur
8e778df0ff Debug stripe module 2018-04-06 14:05:07 +02:00
Laurent Destailleur
b0dc4c6d4a
Merge pull request #8376 from ptibogxiv/patch-18
NEW add internal stripe payment page for invoice
2018-04-06 13:40:57 +02:00
Laurent Destailleur
96c73a13f6 Clean code 2018-03-31 16:45:36 +02:00
Laurent Destailleur
b3a454033e Rename parameter 2018-03-29 19:44:38 +02:00
Laurent Destailleur
1a70e7a7c4 Triggers for Strips payment modes 2018-03-16 16:42:26 +01:00
Laurent Destailleur
f258d31a98 Triggers for Strips payment modes 2018-03-16 16:10:04 +01:00
Laurent Destailleur
32ce7322c4 Debug stripe payment method 2018-03-16 00:45:23 +01:00
Laurent Destailleur
84e1affd5b Debug stripe payment method 2018-03-16 00:30:03 +01:00
Laurent Destailleur
87bbb4ef87 Can create card from dolibarr 2018-03-15 00:40:29 +01:00
Laurent Destailleur
cca1a58249 Can create card from dolibarr 2018-03-15 00:18:43 +01:00
Laurent Destailleur
bf4a0e46aa Add a credit card on stripe 2018-03-14 21:07:45 +01:00
Laurent Destailleur
b232681318 NEW Add a button to create Stripe customer from the Payment mode tab 2018-03-14 16:53:16 +01:00
ptibogxiv
b3d0b892e5
NEW add internal stripe payment page for invoice
WIP: dolibarize with new enhancements and functions
2018-03-13 18:02:36 +01:00
Laurent Destailleur
0a642a2656 Fix regression 2018-03-13 17:49:30 +01:00
Laurent Destailleur
2566170c68 Use code of societeaccount 2018-03-13 17:47:43 +01:00
Laurent Destailleur
a955e74329 Better MVC 2018-03-13 15:19:31 +01:00
Laurent Destailleur
f7dd7e89de Add option to create stripe customer if not found (so we can use
function to find without side effect)
2018-03-13 14:44:35 +01:00
Laurent Destailleur
a658f7c455 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2018-03-13 14:27:35 +01:00
Laurent Destailleur
b25f3ba322 Fix to avoid stripe live mode beeing disabled when stripeconnect off 2018-03-13 14:13:32 +01:00
ptibogxiv
7feaeb1b89
more FIX for unified stripe's payment class 2018-03-13 12:07:53 +01:00
ptibogxiv
eabc5c0812
FIX with new database llx_societe_account 2018-03-13 11:37:40 +01:00
ptibogxiv
0f15f3c129
Fix database name 2018-03-13 11:27:16 +01:00
Laurent Destailleur
490acd96dc
It is better to let the caller decide which mode (live or not) to take 2018-03-13 09:37:59 +01:00
ptibogxiv
9408a98c52
Fix SQL and ADD support LIVE/TEST mode 2018-03-13 00:26:09 +01:00
Laurent Destailleur
7b864aeaec Fix regression with live box 2018-03-12 21:29:03 +01:00
Laurent Destailleur
7362b3f3d7 Add table to store thirparty account in external web sites 2018-03-12 15:59:03 +01:00
Laurent Destailleur
8fa3cf7c6a Fix setup 2018-03-12 13:39:32 +01:00
Laurent Destailleur
6baafab53c Fix travis errors 2018-03-11 01:52:40 +01:00
Laurent Destailleur
5edaa9a98c Fix phpcs 2018-03-11 01:50:15 +01:00
Laurent Destailleur
5b0dd0e31b Try to fix regression 2018-03-11 01:23:06 +01:00
Laurent Destailleur
3a8c216ab6
Merge branch 'develop' into ptibogxiv-stripe 2018-03-10 22:05:18 +01:00
ptibogxiv
3ea6a9fa5f
Update stripe.php 2018-03-10 15:05:04 +01:00
ptibogxiv
6b43477c39
Update stripe.php 2018-03-10 14:48:07 +01:00
ptibogxiv
5403e7a347
Update stripe.php 2018-03-10 14:46:37 +01:00
ptibogxiv
bbff580fb3
integration of fee's platform 2018-03-10 14:45:07 +01:00
ptibogxiv
51398ad060
FIX dolibarr version 2018-03-08 23:27:20 +01:00
Laurent Destailleur
b68b66edcb Fix phpcs 2018-03-08 23:16:55 +01:00
ptibogxiv
3d411f09fc
Update actions_stripe.class.php 2018-03-08 23:13:37 +01:00
ptibogxiv
264112ab59
NEW actions on card.php for company and member 2018-03-08 23:07:58 +01:00
Laurent Destailleur
489dde4db4 Prepare database to store payment modes of customers 2018-03-08 22:26:42 +01:00
Laurent Destailleur
7a277a8d2b Debug list of charges. Compatible with the metadata FULLTAG used by
dolibarr native online payment page.
2018-03-08 21:32:52 +01:00
Laurent Destailleur
2cd0122d34 Fix phpcs 2018-03-08 20:59:23 +01:00
Laurent Destailleur
235db1f405 Enhance OAuth module to store the stripe account in llx_oauth_token 2018-03-08 19:51:18 +01:00
Laurent Destailleur
88e47e11a4 Fix rename file 2018-03-08 17:44:51 +01:00
Laurent Destailleur
936aef70a1
Merge branch 'develop' into ptibogxiv-stripe 2018-03-08 16:29:27 +01:00
ptibogxiv
e2bd0198d1
Fix class call 2018-03-08 02:26:57 +01:00
ptibogxiv
a0b587acc0
NEW introduce stripe.class.php
TODO: more powerful saving infos ?
2018-03-07 20:04:13 +01:00
ptibogxiv
7edec37b28
FIx call stripe.class.php 2018-03-07 17:27:45 +01:00
ptibogxiv
1ba6de7ec7
FIX call stripe.class.php 2018-03-07 17:26:49 +01:00
ptibogxiv
39749a0a2c
NEW function and update comment 2018-03-07 16:13:49 +01:00
Laurent Destailleur
e242dbad88 Debug stripe 2018-03-07 14:44:32 +01:00
Laurent Destailleur
d060cf840d
Merge branch 'develop' into develop 2018-03-07 13:19:25 +01:00
ptibogxiv
b8f88ea315
ADD stock decrement 2018-03-06 20:45:05 +01:00
ptibogxiv
382fe4f13c
FIX group account settings
transfert bank settinds to account setting et let only general common online payment settings
2018-03-06 16:29:43 +01:00
ptibogxiv
c133b04abf
ADD banktransfer account for stripe webhook 2018-03-06 13:16:12 +01:00
ptibogxiv
10ff23e6c4
Update charge 2018-03-05 21:35:37 +01:00
ptibogxiv
b09e6f3279
Update transaction.php 2018-03-05 21:35:00 +01:00
ptibogxiv
ac05dbb206
Update charge 2018-03-05 20:07:00 +01:00
ptibogxiv
76e81eec90
Update transaction.php 2018-03-05 20:06:14 +01:00
ptibogxiv
877b446373
NEW add stripe transaction 2018-03-05 20:01:55 +01:00
ptibogxiv
dacd49e789
Update charge 2018-03-05 20:01:07 +01:00
ptibogxiv
01bb263fd7
Create charge 2018-03-05 19:58:50 +01:00
ptibogxiv
fcf7d8f162
NEW introduce stripeconnect mode 2018-03-05 17:23:32 +01:00
ptibogxiv
212dc9bca1
Introduce StripeConnect Addon
As multicompany module, i submit to push my already fonctionnal stripeconnect module for a marketplace mode
2018-03-05 16:48:38 +01:00
Laurent Destailleur
864edce665 NEW Accept anonmymous events (no user assigned)
NEW Online payment now record the payment on invoices
2018-03-04 19:39:46 +01:00
Laurent Destailleur
d8b2d1f8c2 Add example of test credit card 2018-03-04 12:11:28 +01:00
Laurent Destailleur
41638e6dff Fix back link of look and feel v7 2018-02-26 09:20:05 +01:00
Laurent Destailleur
b9ca66943f Try to introduce param forcesandbox to test online payment easier 2017-10-28 16:32:19 +02:00
Laurent Destailleur
c9e9f60f8f Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/filefunc.inc.php
2017-09-25 19:55:52 +02:00
Ferran Marcet
76c3fe1260 Fix: Stripe not working on live mode 2017-09-21 12:06:43 +02:00
Laurent Destailleur
1a78e2a055 Mutualize/share code of all payments modes 2017-09-15 13:43:16 +02:00
Laurent Destailleur
591834a807 Add a message on payment forms 2017-09-09 09:54:42 +02:00
Laurent Destailleur
c31febc4e0 Fix bad var 2017-08-31 03:41:04 +02:00
Laurent Destailleur
9146bb336e Work on merging all payment modes in one page 2017-08-31 03:34:57 +02:00
Laurent Destailleur
f2aa0ea488 Look and feel v6 2017-05-15 10:39:14 +02:00
Laurent Destailleur
b3245fb455 NEW Include an hourglass icon when we click on online payment button 2017-05-15 10:27:21 +02:00
Laurent Destailleur
caae7e4171 NEW It's easier to switch between sandbox and live for paypal 2017-05-14 17:05:13 +02:00
Laurent Destailleur
998254d9c6 Finish rewrite and debug of module Stripe. 2017-05-14 16:17:23 +02:00
Laurent Destailleur
9e4e72baee Enhance module stripe 2017-05-14 05:26:19 +02:00
Laurent Destailleur
0ed4b607b2 Standardize code for payment 2017-05-13 22:17:39 +02:00
Laurent Destailleur
8dcec30d89 Start debug of module stripe 2017-05-13 21:17:08 +02:00
Alexandre SPANGARO
b05d2c50e8 Add mode live 2017-05-08 06:52:30 +02:00
Alexandre SPANGARO
ce62736e6b Correct link and renamed checkout by newpayment 2017-04-29 07:57:36 +02:00
Alexandre SPANGARO
d73374cc5b Uniformize link to stripe.lib 2017-04-29 07:34:30 +02:00
Alexandre SPANGARO
47089a4d55 Modle Stripe : Work in progress 2017-04-29 07:04:34 +02:00
Alexandre SPANGARO
3b626b75c4 Update works 2017-04-22 06:58:44 +02:00
Alexandre SPANGARO
d0e27f67e7 Add plugins Stripe 2017-04-18 05:44:08 +02:00
Alexandre SPANGARO
942b58efaf New : Integration of Stripe 2017-02-22 06:33:52 +01:00