Commit Graph

449 Commits

Author SHA1 Message Date
ptibogxiv
4633af3f5d
Update charge.php 2019-08-03 21:19:47 +02:00
ptibogxiv
07cc21a113
Fix display payment intent in stripe's charge list 2019-08-03 20:35:53 +02:00
ptibogxiv
d30ce126e0
Fix update stripe api for more compliance to API 2019-08-03 13:00:52 +02:00
ptibogxiv
13eef54392
Fix round for application fee in stripe 2019-08-03 12:31:13 +02:00
ptibogxiv
2d34a0c4c1
Fix table in admin stripe.php 2019-08-02 14:48:45 +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
34f78c555d Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop 2019-07-30 20:55:35 +02:00
ptibogxiv
d2bc3ac1ef
FIX stripe webhook ID constant set 2019-07-29 18:34:21 +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
Laurent Destailleur
4e26eefe6e Fix field not mandatory 2019-07-28 22:57:07 +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
e463b17c15 Fix look and feel v10 2019-05-21 15:31:56 +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
ptibogxiv
5e06a2497d
Fix list of webhook for stripe 2019-05-10 00:39:34 +02:00
Laurent Destailleur
3100844374
Merge pull request #11100 from ptibogxiv/patch-161
FIX : https in stripe webhook/ipn url
2019-05-09 15:37:08 +02:00
Laurent Destailleur
5317d0432d Fix bad link 2019-05-08 18:32:26 +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
ptibogxiv
d09de303d2
Update stripe.php 2019-05-02 14:38:18 +02:00
ptibogxiv
4a83036a8e
Update stripe.php 2019-05-02 13:38:47 +02:00
ptibogxiv
b2d54662a1
FIX : https in stripe webhook/ipn url 2019-05-02 13:34:34 +02:00
Laurent Destailleur
f2ecdac454 Fix idempotency_key
Conflicts:
	htdocs/stripe/class/stripe.class.php
2019-04-30 03:12:03 +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
a7362ca055 More examples 2019-04-26 05:05:33 +02:00
Laurent Destailleur
f81a1a3e85 Complete examples 2019-04-26 03:50:05 +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
2e277d643d Stabilize code to prepare beta freeze. 2019-04-24 21:26:58 +02:00
Laurent Destailleur
77f92a5da3
Update stripe.php 2019-04-24 21:12:43 +02:00
Laurent Destailleur
8007b222d0
Merge branch 'develop' into patch-153 2019-04-24 21:10:27 +02:00
Laurent Destailleur
79c37f2226 Fix link for endpoint 2019-04-24 18:47:11 +02:00
Laurent Destailleur
fe3fe60efc Cleaner setup page 2019-04-24 18:31:11 +02:00
Laurent Destailleur
5a0d2bbcb4
Merge pull request #10634 from ptibogxiv/patch-120
Update stripe version api for payment intent
2019-04-24 18:08:04 +02:00
ptibogxiv
c485cc7a89
Update stripe.php 2019-04-24 15:41:08 +02:00
ptibogxiv
99e56f9cfa
Update stripe.php 2019-04-24 14:53:31 +02:00
ptibogxiv
6d06f128e7
Update stripe.php 2019-04-24 13:51:41 +02:00
ptibogxiv
57ce70bbc9
NEW enhancement management of webhooks
active / inactive and sync only needed events
2019-04-24 13:08:13 +02:00
Laurent Destailleur
f8c381f069 Fix label for API 2019-02-19 2019-04-24 12:02:03 +02:00
Philippe GRAND
8ae6cba6d9 update with html5 compliant code 2019-03-17 10:17:47 +01:00
ptibogxiv
9da734569d
Update config.php 2019-03-15 12:34:21 +01:00
Laurent Destailleur
f2de44ce51 Clean code 2019-03-11 01:11:39 +01:00
Frédéric FRANCE
014f69850e
add visibility 2019-03-01 23:08:57 +01:00
Laurent Destailleur
62dbf15ba1
Merge pull request #10633 from ptibogxiv/patch-119
NEW options for alternative method
2019-02-27 02:02:53 +01:00
ptibogxiv
12e3e2c7c8
UPDATE support maximal fee in connect mode 2019-02-26 12:33:03 +01:00
Laurent Destailleur
8a9339a059 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/compta/facture/class/api_invoices.class.php
2019-02-25 15:16:23 +01:00
Laurent Destailleur
8234c09412 Try some fixes 2019-02-25 15:15:17 +01:00
Laurent Destailleur
6b46a927f1
Merge branch 'develop' into PSR2MethodsFunctionCallSignatureSpaceBeforeOpenBracket 2019-02-24 20:53:54 +01:00
Laurent Destailleur
58caf27744 Fix phpcs 2019-02-24 20:30:06 +01:00
Frédéric FRANCE
894123fb06
PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket 2019-02-24 20:06:55 +01:00
Frédéric FRANCE
c000f03e56
replace html code by html5 in stripe 2019-02-23 19:55:06 +01:00
Frédéric FRANCE
452633e877
replace html code by html5 in supplier_proposal 2019-02-23 19:43:28 +01:00
ptibogxiv
6ba5708814
disable online payment warehouse 2019-02-23 19:26:52 +01:00
Laurent Destailleur
6f922ad316
Merge pull request #10653 from ptibogxiv/patch-124
Fix stripe payment list of transaction
2019-02-23 14:12:40 +01:00
Laurent Destailleur
b8df685186
Update payment.php 2019-02-23 14:11:53 +01:00
ptibogxiv
f027bd2b08
Update payment.php 2019-02-22 14:30:25 +01:00
ptibogxiv
3416d2bdd1
Update transaction.php 2019-02-22 14:29:38 +01:00
ptibogxiv
232741d919
Update payment.php 2019-02-22 14:27:50 +01:00
ptibogxiv
5021252622
Fix stripe payment list of transaction 2019-02-22 14:23:28 +01:00
ptibogxiv
7360e1c0d4
Fix servicestatus list of payment stripe 2019-02-22 14:19:21 +01:00
ptibogxiv
0428e026c9
Update stripe.php 2019-02-21 15:08:19 +01:00
ptibogxiv
0af6426f8c
Update stripe.php 2019-02-19 23:36:59 +01:00
ptibogxiv
0a3e0bc268
Update stripe.php 2019-02-19 22:56:07 +01:00
ptibogxiv
ea6e397d18
Update stripe.php 2019-02-19 22:28:26 +01:00
ptibogxiv
665174f9aa
Update config.php 2019-02-19 19:55:06 +01:00
ptibogxiv
8e55802e92
Update stripe.php 2019-02-19 19:40:47 +01:00
ptibogxiv
e8a6b64b6b
Update config.php 2019-02-19 16:50:05 +01:00
ptibogxiv
e572ca69c1
Update stripe version api for payment intent 2019-02-19 16:43:00 +01:00
ptibogxiv
97620e91c9
add link to webhook 2019-02-19 16:31:39 +01:00
ptibogxiv
d3627c1438
NEW options for alternative method
payment request api (ex apple pay) and sepa direct debit
2019-02-19 15:49:54 +01:00
Laurent Destailleur
e4698fb6a5 Merge 2019-02-18 19:14:25 +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
67f8942895
Form::select_comptes return void 2019-02-15 10:35:44 +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
b766204690
wip 2019-01-30 22:53:47 +01:00
Laurent Destailleur
e18bd6f986
Merge branch 'develop' into nospaceaftercomma 2019-01-30 18:27:35 +01:00
Laurent Destailleur
e72d6c50e6
Merge pull request #10428 from frederic34/toomanylines
PSR2.Files.EndFileNewline.TooMany
2019-01-30 16:17:09 +01:00
ptibogxiv
5fd75f0824
Fix url payout 2019-01-30 16:15:15 +01:00
Laurent Destailleur
648eea3a70
Merge branch 'develop' into nospaceaftercomma 2019-01-30 16:00:11 +01:00
Laurent Destailleur
c354656b1b
Merge pull request #10449 from ptibogxiv/patch-108
NEW : list of stripe's payout
2019-01-30 15:02:27 +01:00
ptibogxiv
85b402ab57
Update payout.php 2019-01-29 14:14:42 +01:00
ptibogxiv
835d222543
ADD: list of stripe's payout 2019-01-29 14:10:08 +01:00
Alexandre SPANGARO
cc88c4f8ff Move my email to the new one 2019-01-28 21:39:22 +01:00
Frédéric FRANCE
b10558bacd
Merge remote-tracking branch 'upstream/develop' into nospaceaftercomma 2019-01-27 23:23:38 +01:00
Laurent Destailleur
f30a3d59ba
Merge branch 'develop' into toomanylines 2019-01-27 17:59:13 +01:00
Frédéric FRANCE
f0cdf300d1
Squiz.Functions.FunctionDeclarationArgumentSpacing 2019-01-27 15:20:16 +01:00
Frédéric FRANCE
496fa9b0fb
PSR2.Files.EndFileNewline.TooMany 2019-01-27 14:10:35 +01:00
Frédéric FRANCE
7ee086b402
PSR2 space after comma in function call 2019-01-27 11:55:16 +01:00
Philippe GRAND
92b425bdb9 update with html5 compliant code 2019-01-21 10:09:00 +01:00
atm-quentin
013c078c8b Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW_manage_multicompany_for_invoice 2019-01-16 10:52:46 +01:00
Laurent Destailleur
2011afe6fb
Merge branch 'develop' into actionrefused 2018-12-14 15:48:24 +01:00
Maxime Kohlhaas
2e496ea83a QUAL rename facnumber by ref 2018-12-02 17:33:44 +01:00
Philippe GRAND
8722ccef82 fix typo error 2018-11-26 14:35:29 +01:00
atm-quentin
c18f486179 set facture to invoice AND check invoicenumber conf 2018-11-16 11:20:03 +01:00
atm-quentin
a8ab666d62 remplacement en masse des $conf->entity par des getEntity('facture') 2018-11-16 11:17:18 +01:00
Frédéric FRANCE
731d19a29b
add tooltip to butActionRefused 2018-11-13 21:40:17 +01:00
Laurent Destailleur
84983140b6
Merge pull request #9896 from hregis/develop_email
FIX change my deprecated email
2018-11-11 17:35:35 +01:00
Laurent Destailleur
f39b99b153
Merge pull request #9933 from ptibogxiv/patch-83
Update Stripe Version API
2018-11-11 17:25:49 +01:00
ptibogxiv
20a3dd86cd
2018-11-08
no change for dolibarr but better for integration and development
2018-11-10 11:07:01 +01:00
Regis Houssin
89389baeac Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop_email 2018-11-09 15:37:29 +01:00
Laurent Destailleur
4946de9533 Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	dev/setup/codesniffer/ruleset.xml
2018-11-09 01:32:47 +01:00
ptibogxiv
171d36d4fc
Update payment.php 2018-11-02 17:49:11 +01:00
ptibogxiv
ab53885ef8
Fix with new stripe payment function 2018-11-02 17:22:42 +01:00
ptibogxiv
a46f29cb98
Update Stripe Version API
The description field on customer endpoints has a maximum character length limit of 350 now. The name field on product endpoints has a maximum character length limit of 250 now. The description field on invoice line items has a maximum character length limit of 500 now.
The billing_reason attribute of the invoice object now can take the value of subscription_create, indicating that it is the first invoice of a subscription. For older API versions, billing_reason=subscription_create is represented as subscription_update.
2018-11-01 12:02:36 +01:00
Regis Houssin
569d59d251 FIX change my deprecated email 2018-10-27 14:43:12 +02: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
Laurent Destailleur
afa45cd28e
Merge pull request #9320 from ptibogxiv/patch-42
Update Stripe API version
2018-10-12 19:14:22 +02:00
Laurent Destailleur
2d2b9a030c Fix app name to match Stripe advice 2018-10-12 19:01:01 +02:00
Laurent Destailleur
60a5444c14 Fix app name to match Stripe advice 2018-10-12 18:50:33 +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
9598901933
Update config.php 2018-09-27 09:43:43 +02:00
Frédéric FRANCE
da7dc72ddb
Merge branch 'develop' into patch-9 2018-09-22 10:20:02 +02:00
Laurent Destailleur
fab57e163e Fix phpcs 2018-09-21 14:52:06 +02:00
Frédéric FRANCE
b064b580b4
remove superfluous spaces 2018-09-21 12:19:59 +02:00
Laurent Destailleur
90b327af1d
Merge pull request #9584 from ptibogxiv/patch-54
fix link with connect transaction.php
2018-09-21 09:59:57 +02:00
ptibogxiv
60cb83cf25
Update transaction.php 2018-09-21 09:55:24 +02:00
ptibogxiv
d09b74abe5
Update transaction.php 2018-09-21 09:54:07 +02:00
ptibogxiv
933f253c86
Update transaction.php 2018-09-21 09:52:27 +02:00
ptibogxiv
61d0aa66a5
Update transaction.php 2018-09-21 09:52:08 +02:00
ptibogxiv
d544f0598b
fix link in connect mode 2018-09-21 09:50:31 +02:00
ptibogxiv
d0fafe8f0f
fix link with connect transaction.php 2018-09-21 09:49:13 +02:00
Laurent Destailleur
4ab6155b07
Merge pull request #9545 from ptibogxiv/patch-64
Fix link display
2018-09-20 19:27:00 +02:00
ptibogxiv
1a841b48ae
Update transaction.php 2018-09-19 20:15:12 +02:00