1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 17:01:33 +02:00
Commit Graph

259 Commits

Author SHA1 Message Date
Benjamin Beganović
69662cd4f7 Fixes for webhook accepting 2021-09-14 15:25:30 +02:00
David Bomba
778cf73ad1 Fixes for Sofort 2021-09-14 22:01:28 +10:00
David Bomba
9458069abb Fixes for special character encoding 2021-09-08 07:05:53 +10:00
David Bomba
84ff8aee64 Fixes for Stripe Import Customers 2021-09-04 13:00:05 +10:00
David Bomba
32bfeb7dfc further fixes for stripe import 2021-09-04 12:09:49 +10:00
David Bomba
e4d4cf553e further fixes for stripe import 2021-09-04 12:08:53 +10:00
David Bomba
e2a8196107 Small fix for stripe import customers 2021-09-04 09:41:39 +10:00
David Bomba
592387874e Fixes for stripe 2021-09-03 19:28:04 +10:00
David Bomba
e084e85eeb Additional logging for auto biller 2021-09-03 15:38:20 +10:00
David Bomba
2d988be36b v5.3.4 2021-09-02 16:17:46 +10:00
David Bomba
8b9abcf154 Fixes for Stripe Import 2021-09-02 12:20:03 +10:00
David Bomba
dafff7006f Fixes for Stripe Import 2021-09-02 12:08:16 +10:00
=
f7b7732f04 Working on importing stripe customers by id 2021-08-20 22:44:39 +10:00
David Bomba
16ba8c0554 Fixes for credit archived activity 2021-08-18 12:02:07 +10:00
David Bomba
e1a35c5235 Minor fixes for Stripe 2021-08-18 10:32:09 +10:00
David Bomba
45a8d2066e Stripe import algo 2021-08-18 10:15:11 +10:00
David Bomba
669164f2f2 Fix typo in Apple Pay 2021-08-16 19:09:20 +10:00
David Bomba
92d91904d2 Sepa 2021-08-16 14:05:45 +10:00
David Bomba
7092d66ecd Apple Pay 2021-08-16 10:58:57 +10:00
David Bomba
cde5f527e1 Working on ApplePay 2021-08-16 08:54:11 +10:00
David Bomba
aada0cfa41 Throw exceptions for StripeConnect Failures 2021-08-15 16:21:18 +10:00
David Bomba
bde729fe6e Fixes for Stripe Verify 2021-08-15 16:07:05 +10:00
David Bomba
564094f741 Fixes for Stripe Verify 2021-08-15 15:55:41 +10:00
David Bomba
2382281b00 Fixes for Stripe Verify 2021-08-15 15:49:36 +10:00
=
383caa6439 Stripe Verify 2021-08-15 15:13:20 +10:00
=
674f7c8341 Verify Stripe accounts 2021-08-15 12:24:50 +10:00
David Bomba
9536605cb4 Catch Stripe when account not configured 2021-08-15 07:51:37 +10:00
David Bomba
7b73104a45 Merge branch 'paytrace' into v5-develop 2021-08-11 10:03:02 +10:00
Benjamin Beganović
e617c7aade Add next to ACH verification url 2021-08-10 10:13:04 +02:00
Benjamin Beganović
1033252680 Store 'state' in meta by default 2021-08-09 13:49:39 +02:00
Benjamin Beganović
754ac46017 Require integer & min:1 on ACH verification fields 2021-08-05 13:45:59 +02:00
David Bomba
be85175134 Set Recurring to draft if not being sent at time of creation 2021-08-05 09:06:13 +10:00
David Bomba
cf86b858b8 Fixes for Stripe 2021-08-04 12:20:38 +10:00
David Bomba
066c844050 Fixes for Stripe 2021-08-04 12:15:13 +10:00
David Bomba
b10fd62544 Fixes for ACH 2021-08-04 11:31:06 +10:00
David Bomba
5ea07be358
Merge pull request #6317 from turbo124/paytrace
Paytrace
2021-07-23 17:31:23 +10:00
David Bomba
c6ed151813 Fixes for ACH 2021-07-22 08:44:03 +10:00
David Bomba
78270a9147 token billing and refunds with paytrace 2021-07-21 18:18:14 +10:00
David Bomba
dbb60c029e Fixes for reminderS 2021-07-20 14:49:04 +10:00
David Bomba
a8d148b0dc Fixes for invoices which are not payable if archived 2021-07-20 09:30:12 +10:00
David Bomba
7f13a79623 Fixes for stripe payment currency amount 2021-06-30 13:56:11 +10:00
Benjamin Beganović
28463ca565 Add "complete verification" button in the ACH verification email 2021-06-23 14:52:54 +02:00
David Bomba
49e1a13b53 Verify ACH amounts as integers 2021-06-23 08:15:03 +10:00
David Bomba
172604a1a0 WePay 2021-06-20 22:10:22 +10:00
David Bomba
2adb1728ea Fixes for license 2021-06-16 20:34:30 +10:00
David Bomba
c076998366 Wepay Payments 2021-06-16 20:12:04 +10:00
David Bomba
36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
Benjamin Beganović
dfdb4b1cd9 Merge remote-tracking branch 'upstream/v5-develop' into v5-update-email-templates 2021-06-15 15:45:14 +02:00
David Bomba
31c8eb1a19 Fixes for stripe import customers 2021-06-15 11:09:12 +10:00
David Bomba
8a217358a8 Fixes for model binding in livewire 2021-06-15 09:47:10 +10:00
David Bomba
d582e67962 Fixes for Stripe import customers 2021-06-15 08:19:23 +10:00
David Bomba
95c9eb03a9 merge v5-dev 2021-06-14 20:47:03 +10:00
Benjamin Beganović
ae66496711 app/Mail/Gateways/ACHVerificationNotification.php 2021-06-09 16:38:24 +02:00
Benjamin Beganović
ec13e6dd14 Fixes for accepting ACH webhooks 2021-05-29 12:57:39 +02:00
David Bomba
fb17dd7e0b Force stripe amount to int 2021-05-26 16:04:38 +10:00
David Bomba
0bc75f5590 Minor fixes 2021-05-24 07:05:26 +10:00
David Bomba
9193484a7d Fixes for migration 2021-05-21 20:08:48 +10:00
David Bomba
238143d88e Fixes for paths for email attachments 2021-05-20 19:50:11 +10:00
David Bomba
553de8fea5 Fixes for types in update payment methods 2021-05-20 15:06:32 +10:00
David Bomba
f7a4588371 Fixes for refresh route - firstload/mini_loader 2021-05-19 18:38:51 +10:00
David Bomba
2e6896dd58 Fixes for importing customers into Stripe. 2021-05-19 14:27:47 +10:00
David Bomba
8c764a1716 Fixes for importing customers into Stripe. 2021-05-19 14:22:22 +10:00
David Bomba
4db46e2bb6 Fixes for Stripe import 2021-05-19 13:32:20 +10:00
David Bomba
a6008aff53 Fixes for importing customers into Stripe. 2021-05-19 13:24:18 +10:00
David Bomba
52c3d63349 Refactor system logger to enable multidb 2021-05-19 11:12:23 +10:00
David Bomba
9599c8de4f Refactor for Stripe Connect 2021-05-18 12:13:00 +10:00
David Bomba
87c000a3e1 Stripe import customer 2021-05-17 22:24:00 +10:00
David Bomba
12d8da942e Import stripe customers and update their payment methods 2021-05-17 18:56:14 +10:00
David Bomba
841ad2764f Import Stripe customers 2021-05-17 16:01:32 +10:00
David Bomba
0347ca00f5 Update payment methods for Stripe 2021-05-17 14:02:43 +10:00
David Bomba
2688f7472e fixes for sofort cancellation 2021-05-13 13:32:36 +10:00
David Bomba
b0d66138d5 Fixes for stripe authorize card 2021-05-12 08:14:29 +10:00
David Bomba
2b1e0b4931 Fixes for stripe authorize card 2021-05-12 07:58:18 +10:00
David Bomba
8c00bce71b We Pay signup 2021-05-05 14:29:58 +10:00
David Bomba
b3ccb0f861 v5.1.55: 2021-04-28 11:27:44 +10:00
David Bomba
f62518f63b Stripe Connect 2021-04-22 20:38:22 +10:00
Benjamin Beganović
bdc564092e wip 2021-04-21 16:36:08 +02:00
David Bomba
d879d1080b Fixes for stripe connecT 2021-04-21 08:38:50 +10:00
Benjamin Beganović
e58d5291e7
Merge branch 'stripe-connect' into v5-2004-stripe-connect 2021-04-20 23:42:34 +02:00
Benjamin Beganović
eef9065f08 wip 2021-04-20 16:08:33 +02:00
David Bomba
e6c083cf29 Stripe Connect 2021-04-20 21:30:52 +10:00
David Bomba
81c90fb1a8 Work flow for connect 2021-04-20 08:41:14 +10:00
David Bomba
3b7c4d64f5 Stripe Connect Stubbed 2021-04-12 20:11:08 +10:00
Benjamin Beganović
7e1cc64247 Send ACH notification e-mail after connecting bank account 2021-04-10 10:44:06 +02:00
Benjamin Beganović
786f4095d8 Add invoices as description for Stripe payment 2021-02-25 12:57:12 +01:00
Benjamin Beganović
6a972ba378 wip 2021-02-03 16:49:29 +01:00
David Bomba
2474507790 Working on generic payment failure notification 2021-02-02 12:04:52 +11:00
David Bomba
e9d0ac30e2 Refactor exception handling in stripe 2021-02-02 08:33:04 +11:00
David Bomba
58970fab99 payment failure emails 2021-02-01 23:41:11 +11:00
David Bomba
c14d34350f Working on payment failure emails 2021-02-01 16:30:28 +11:00
Benjamin Beganović
e2d1c7ac43
Merge pull request #4778 from beganovich/v5-2701-ach-blank-screen
(v5) ACH: Fix blank screen after payment
2021-01-28 15:45:14 +01:00
David Bomba
cc7a1876d0 Fixes for ledger - not adjusting for gateway fees 2021-01-28 15:21:04 +11:00
Benjamin Beganović
0ff531fafa ACH: Fix white screen
- Pass token hashed_id instead of token value
2021-01-27 13:07:01 +01:00
David Bomba
b4bf6cc760 Add document list view 2021-01-27 21:38:28 +11:00
David Bomba
af47c504e4 Working on payment failed emails 2021-01-27 19:45:55 +11:00
Benjamin Beganović
713a95d3b2 ACH (Stripe):
- Pass instance of $gateway to authorize page for fields  verification
- Support for multiple tokens
2021-01-21 15:53:37 +01:00
Benjamin Beganović
056bee1c47 Credit card (Stripe):
- Wrapped Stripe card widget into div
- Default intent option is setup_future_use now
- Support for token billing
2021-01-21 14:03:38 +01:00
Benjamin Beganović
4413580b39 Add authorize view for SOFORT 2021-01-19 16:07:58 +01:00
David Bomba
3cb4585880 Fixes for migrations 2021-01-12 09:14:52 +11:00
David Bomba
63087de0bc Fix for tests (typo) 2021-01-12 09:06:56 +11:00
David Bomba
934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
=
7a058c9ae6 Move logging to nlog 2020-12-30 08:10:03 +11:00
Benjamin Beganović
5a8dfd85eb Apply php-cs-fixer 2020-12-21 11:46:46 +01:00
Benjamin Beganović
7764833037 Update Stripe's amount with fee:
- Update Sofort to support latest architecture for payments
2020-12-21 11:46:10 +01:00
Benjamin Beganović
d3033c902d wip 2020-12-16 15:25:42 +01:00
Benjamin Beganović
b373a3df52 fix stripe refunding & apply php-cs-fixer 2020-12-01 13:46:09 +01:00
Benjamin Beganović
ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
Benjamin Beganović
54014d93ee pass correct $customer->id 2020-11-16 14:10:45 +01:00
Benjamin Beganović
5457838c4d Store 'amount' in payment hash (Stripe/CC) 2020-11-16 13:37:13 +01:00
David Bomba
a98e9c3b68
Merge pull request #4252 from beganovich/v5-ach-refactor
(v5) ACH payments with Stripe
2020-11-03 23:14:02 +11:00
Benjamin Beganović
f50bbd1900 Fix issue with the form 2020-11-02 16:29:02 +01:00
Benjamin Beganović
0942169d4f Handle Alipay payments
- Refactored main Alipay class
- Added new N/A translation
- Fixed issue with alipay.js
2020-11-02 16:20:38 +01:00
Benjamin Beganović
7f3c4ada5a Merge remote-tracking branch 'upstream/v5-develop' into v2-frontend-refactor 2020-11-01 19:26:43 +01:00
Benjamin Beganović
4c27652545 ACH payments 2020-11-01 19:21:31 +01:00
Benjamin Beganović
1ae2649be6 Stripe ACH authorization & verification 2020-11-01 18:47:48 +01:00
Benjamin Beganović
99c30846ad Stripe: Payments with tokens & error handling 2020-11-01 16:52:37 +01:00
Benjamin Beganović
7d50430a9e Stripe with credit card:
- Remove createPaymentData from StripePaymentDriver
2020-11-01 16:37:41 +01:00
Benjamin Beganović
d2e677cb9d Merge remote-tracking branch 'origin/v5-stripe-backend-refactor' into v2-frontend-refactor 2020-11-01 14:49:11 +01:00
Benjamin Beganović
13655d48ea BaseDriver:
- Allow passing additional properties to ClientGatewayToken entity
CreditCard:
- Fix saving gateway_customer_reference
2020-10-28 16:48:24 +01:00
Benjamin Beganović
dab59138cc StripePaymentDriver:
- Added attach() method for attaching payment method to Stripe customer
- getStripeMethod() for getting method information out of Stripe
2020-10-28 16:31:47 +01:00
David Bomba
9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
Benjamin Beganović
b4b6bd3ae0 ach adding & verify, todo: payment 2020-10-20 17:54:08 +02:00
Benjamin Beganović
c82e5b2647 stripe adding credit card 2020-10-20 16:08:21 +02:00
Benjamin Beganović
6ae18dac6f fix credit card saving with stripe 2020-10-20 15:02:34 +02:00
David Bomba
0ec89c18ac Fixes for autobill 2020-10-14 21:45:26 +11:00
David Bomba
c8770f09ca Refactor for determining gateway fees 2020-10-12 15:10:34 +11:00
Benjamin Beganović
3a1906bd87 Stripe: Optin/optout for saving card 2020-09-21 11:17:16 +02:00
=
83be13c049 fixes for types 2020-09-19 12:15:38 +10:00
=
88eb05786e Fixes for updateinvoicepayment 2020-09-19 11:20:14 +10:00
David Bomba
d071ed0d3b Attach payment_id to payment_hash 2020-09-10 11:52:17 +10:00
David Bomba
ba75a44eb8
Laravel 7.x Shift (#40)
* Adopt Laravel coding style

The Laravel framework adopts the PSR-2 coding style with some additions.
Laravel apps *should* adopt this coding style as well.

However, Shift allows you to customize the adopted coding style by
adding your own [PHP CS Fixer][1] `.php_cs` config to your project.

You may use [Shift's .php_cs][2] file as a base.

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200

* Shift bindings

PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.

* Shift core files

* Shift to Throwable

* Add laravel/ui dependency

* Unindent vendor mail templates

* Shift config files

* Default config files

In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them so you can review the commit diff for
changes. Moving forward, you should use ENV variables or create a
separate config file to allow the core config files to remain
automatically upgradeable.

* Shift Laravel dependencies

* Shift cleanup

* Upgrade to Laravel 7

Co-authored-by: Laravel Shift <shift@laravelshift.com>
2020-09-06 19:38:10 +10:00
David Bomba
5eacb1abf8 Working on token billing with gateway fees 2020-09-04 08:01:17 +10:00
David Bomba
a8bbb7035f Fixes for random data seeder 2020-09-02 19:36:32 +10:00
David Bomba
2bd8581592 Fixes for payments with gateway fees 2020-09-01 09:28:37 +10:00
David Bomba
eb867522df Working on invoice payments with gateway fees 2020-08-31 12:00:43 +10:00
David Bomba
ac08a146a1 Working on gateway fees 2020-08-30 22:00:19 +10:00
David Bomba
c5d093232c Working on payment records from online payments 2020-08-19 12:37:17 +10:00
David Bomba
cd4856e8db Helpers for gateway fees 2020-07-15 15:05:02 +10:00
David Bomba
8c56fc1263 Working on autobill 2020-07-14 23:15:59 +10:00
David Bomba
d8a13e6cb2 Auto billing for stripe 2020-07-14 22:50:16 +10:00
David Bomba
f3572a5d11 Refactor for events 2020-07-08 22:02:16 +10:00
David Bomba
4c321d41c3 Change subscriptions to webhooks 2020-07-06 21:22:36 +10:00
Benjamin Beganović
eb655762d4 Adding payment methods from menu 2020-07-03 14:39:29 +02:00
Benjamin Beganović
4918269bf2 Testing adding Stripe credit card
- Added: iframeLoaded method for Cypress
- Fixed: saving payment method id for CreditCard.php
- Added: chromeWebSecurity: false flag for insecure iframe connections
- Formatted: payment_methods/index
- Formatted: payment-methods-table.blade.php
- Added: Test for adding credit card to Stripe
- Fixed: Removing client gateway tokens
2020-07-01 18:28:57 +02:00
Benjamin Beganović
f68465d602 Support Stripe webhook 2020-06-27 17:39:28 +02:00
Benjamin Beganović
6e31505ca5 Support Alipay redirect back variable 2020-06-24 17:30:30 +02:00
Benjamin Beganović
4d2d41123b Fix Stripe saving card & token store 2020-06-24 14:37:01 +02:00
Benjamin Beganović
049f30104e checkout 2020-06-10 17:38:10 +02:00
Benjamin Beganović
b6ad39b8e2 Stripe: Alipay implementation 2020-06-09 16:56:08 +02:00
Benjamin Beganović
19f1750f22 Various portal changes:
- Added 'currencies' variable to portal compoer
- Added verification logic to StripePaymentDriver
- Fixed 'CreditCard' data array with failures
- 'verification' translations
- ACH verification views
- Verification routes
2020-06-09 14:42:23 +02:00