David Bomba
934610a01c
Update copyright + version bump + set canadian dollar symbol to $
2021-01-04 08:54:54 +11:00
Benjamin Beganović
8df80ddab0
fixes for paypal redirecting to stripe
2020-12-30 12:02:04 +01:00
Benjamin Beganović
d45571d7f9
wip
2020-12-09 15:17:48 +01:00
David Bomba
b3cdb19b4d
Merge pull request #4362 from beganovich/v5-gateways-required-fields
...
(v5) Support for pre-checking gateway requirements
2020-11-26 06:57:48 +11:00
Benjamin Beganović
ae88d5e08e
php-cs-fixer format
2020-11-25 15:19:52 +01:00
Benjamin Beganović
169e5ba93e
support for checking requirements based on gateway
2020-11-25 14:38:49 +01:00
Benjamin Beganović
501f3c9b0e
injecting signatures into entity invitations
2020-11-17 16:57:34 +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
David Bomba
9aeb2d7a5b
Psalm cleanup
2020-10-28 21:10:49 +11:00
David Bomba
97db2ad3b6
Merge pull request #4202 from beganovich/v2-checkout-refactor
...
(v5) Checkout.com refactor
2020-10-27 23:18:42 +11:00
Benjamin Beganović
223ae4cb5b
- Extract $payment_hash property onto BaseDriver
...
- Handle internally failed payments inside BaseDriver
- Add SYSTEM_LOG_TYPE property on CheckoutComPaymentDriver
- Remove resolving of $payment_hash inside of payment methods
2020-10-27 12:53:35 +01:00
David Bomba
8f53424017
Fixes
2020-10-27 06:10:04 +11:00
Benjamin Beganović
dcb48297fb
wip refactor
2020-10-22 15:24:18 +02:00
David Bomba
901f7c4117
Working on credit payments
2020-10-15 14:35:35 +11:00
David Bomba
0d17b299a0
Refactor payments for credits
2020-10-15 11:37:16 +11:00
David Bomba
a5555cc434
Working on credit payments"
2020-10-14 10:53:20 +11:00
David Bomba
080c82770e
Working on credit payments
2020-10-13 23:28:30 +11:00
David Bomba
96750d5fdb
Refactor for payments via client portal
2020-10-13 21:32:15 +11:00
David Bomba
57faf6eeb5
Use credits for payments in client portal
2020-10-13 14:25:51 +11:00
David Bomba
1eadbde544
working on refactor of company gateway fees
2020-10-12 22:02:02 +11:00
David Bomba
65a1f150d5
Fixes for tests
2020-10-12 20:38:55 +11:00
David Bomba
8b48f26c79
Fixes for calcuting gateway fees and for removing unpaid gateway fees appropriately
2020-10-11 08:31:50 +11:00
David Bomba
61646ec55c
Merge pull request #4151 from turbo124/v2
...
Console commands for small test data batches
2020-10-10 14:32:49 +11:00
David Bomba
407304d3c6
Console commands for small test data batches
2020-10-10 14:32:10 +11:00
Benjamin Beganović
f33e6768c0
Use invoice 'balance' when comparing with over & under payments.
2020-10-09 16:08:12 +02:00
Benjamin Beganović
4f26a868a7
Add findOrFail()
2020-10-09 12:44:57 +02:00
Benjamin Beganović
a210790a57
Fix overpayments
2020-09-29 14:16:01 +02:00
Benjamin Beganović
0216286efc
Support for over & under payments
2020-09-24 11:29:47 +02:00
=
88eb05786e
Fixes for updateinvoicepayment
2020-09-19 11:20:14 +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
1bd3deca4f
Invoice payments with gateway fees
2020-08-31 14:27:47 +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
1bc71fb5d8
Working on gateway fees
2020-08-30 08:00:57 +10:00
David Bomba
1a7d0d3cbd
Working on gateway fees across multiple invoices
2020-08-27 22:12:39 +10:00
David Bomba
ff5d8ad871
Fixes for gateway fees
2020-08-26 11:14:15 +10:00
David Bomba
d57f0f9236
Refactoring client payments
2020-08-26 10:53:11 +10:00
David Bomba
79e0fa56e2
Convert currency string to float
2020-08-26 10:47:50 +10:00
David Bomba
37c5a7adb5
Test for gateway fees appending to invoice
2020-08-26 08:10:49 +10:00
David Bomba
1c55b529a0
Refactor payments
2020-08-25 23:18:17 +10:00
David Bomba
979916adb5
Refactor payments
2020-08-25 23:06:38 +10:00
David Bomba
2d2a5c0812
working on authorize.net token payments
2020-06-16 22:41:56 +10:00
David Bomba
7468813cd8
Working on Authorize payment flow
2020-06-16 10:21:40 +10:00
David Bomba
fc40159d36
Fixes for currency precision
2020-06-15 21:42:46 +10:00
Benjamin Beganović
b6ad39b8e2
Stripe: Alipay implementation
2020-06-09 16:56:08 +02:00
Benjamin Beganović
e78ae5d9c4
Stripe: ACH implementation
2020-06-09 14:40:55 +02:00
Benjamin Beganović
1965dbf041
Stripe: SOFORT implementation
2020-06-09 13:17:05 +02:00
Benjamin Beganović
06190362ee
extract purchase response
2020-06-01 16:19:03 +02:00
Benjamin Beganović
b589814d7b
Extract paymentView
2020-06-01 14:29:41 +02:00
Benjamin Beganović
6319c208df
injecting signature and sending it to backend
2020-05-28 15:59:45 +02:00
Benjamin Beganović
ea8a585771
wip
2020-05-18 14:06:13 +02:00
Benjamin Beganović
a613cfed7c
Payment refunds ( #3687 )
...
* Fix whereClientId when starting payment
* Refunding using Paypal
* Refunding engine
* Cleanup and making refund method work
* Remove "refund" method from BasePaymentController
* Add "refund" to PaypalExpressPaymentDriver
* Extract refunding into own classes
* Apply php-cs-fixer to PaypalExpress
* Refunding with stripe
2020-05-14 11:04:23 +10:00
Benjamin Beganović
2704bf2f82
Client portal improvements & bug fixes ( #3678 )
...
* fix turbolink 404
* fix checkbox when adding card using stripe
* Fix hashed_ids problem when using PayPal
* php-cs-fixer
* Bump tailwind & purgecss
* fix auth scope
* scope to auth contact company
2020-05-09 08:20:37 +10:00
Benjamin Beganović
ab8b05dd56
Client portal improvements ( #3652 )
...
* Install livewire/livewire
* Table improvements
- Cleanup of InvoiceController
- Added Livewire package
- New Livewire component (InvoicesTable)
- New WithSorting trait
- Removed rendering invoices from index.blade.php
- Removed Yaryabox/Datatables references in InvoiceController
* Refactor: Recurring invoices
* payments table & sorting improvements
* payment methods table
* quotes table
* credits table
* Add turbolinks
2020-04-23 08:49:23 +10:00
David Bomba
74a6c4f2ee
Reminders ( #3630 )
...
* Performance improvements moving from str_replace to strtr
* Remove legacy docs
* Clean up credit transformer
* Working on invoice emails
* Clean up for invoice designs
* Tests for light and dark theme emails
* Working on reminder scheduling
* Reminder Job Class
* Fixes for github actions
* PHP CS
* Test for reminders
* Test for reminders
2020-04-15 10:30:52 +10:00
Benjamin Beganović
8f4fa5e80d
Client portal improvements ( #3607 )
...
* Remove Html\Builder dependency from controllers
* Remove: yajra/laravel-datatables-html
- yajra/laravel-datatables-oracle as main non-dev dependency
* Added sorting to tables
2020-04-09 12:18:07 +10:00
David Bomba
bfc434071f
Fixes for self-installer ( #3604 )
...
* Fixes for self updater
* Fixes for self updater
* Fixes for self updater
* Fixes for self-updater
2020-04-08 22:19:07 +10:00
David Bomba
6a7079b0be
Implement Github actions ( #3547 )
...
* Update phpunit.yml
* Update phpunit.yml
* Update .env.ci
* Update phpunit.yml
* Update .env.ci
* Update phpunit.yml
* Update phpunit.yml
* Update phpunit.yml
* Update phpunit.yml
* Update .env.ci
* Update phpunit.yml
* Update phpunit.yml
* Update phpunit.yml
* Update phpunit.yml
* Force /setup if system requirements are not met
* Update .env.ci
* Update phpunit.yml
* Minor changes for github actions"
* Fixes for github actions
* Fixes for github actions
* Fixes for github actions
* Fixes for github actions
* Fixes for github actions
* Fixes for github actions
* Fixes for github actions
* Fixes for github actions
* cs-fixer
* cs-fixer
* Fixes for github actions
* db ports github actions
* Refactor the template engine
2020-03-26 14:23:57 +11:00
David Bomba
cd36f64423
Fixes for Users ( #3526 )
2020-03-25 10:20:42 +11:00
Benjamin Beganović
2b85feedc0
Fixes for "Pay now" with invoices ( #3523 )
...
* Fixes for invoice payments
- Changed the input from $hashed_ids to invoices[] as an array
- Fixes for payment.js
* Fix redirect back
2020-03-25 09:13:47 +11:00
Benjamin Beganović
ac5525c9ac
[V2] Client portal rework ( #3516 )
...
* Client login, reset and update password page
* Client dashboard, sidebar, PortalComposer.php
* wip
* Personal page & update for details
* Invoices, paying & pagination.blade.php
* Invoices, recurring invoice & buttons
* Payments, link component
* Payment methods
* Breadcrums, clean up & wrap up
* Remove format_date() method to formatDate on object
* Payments
- $this->render is now proxy for render()
- Removed logic from Controller.php to ClientPortal.php
- Added MakesDates to ClientGatewayToken.php
- StripePaymentDriver.php now returns correct views
- Refactor of adding new payment method
- Ignoring all local builds for public/js/clients/*
* Signature, wip
* Fix "Pay now" on single invoice
* Payments:
- Added ProcessInvoicesInBulk request class
- Refactor InvoiceController::bulk()
- Displaying terms & payments
- New signature.blade.php
- Removed comment from webpack.mix.js
* Quotes:
- Refactor ProcessInvoicesInBulk.php to ProcessInvoicesInBulkRequest.php
- Add new 'Quotes' field inside of PortalComposer.php
- Added MakesDates to Quote.php
- Added Quote::badgeForStatus()
- Cleanup payment.blade.php
- Quote showing and approving
- New resource 'quotes' in client.php
- New image for quotes, align-left.svg
* Credits:
- New 'credits' resource in client.php
- Fixes for client.php typo
* Breadcrumbs:
- Quotes
- Credits
* Placeholder for translations.
* Restore whereIn & client scope
Co-authored-by: David Bomba <turbo124@gmail.com>
2020-03-24 04:10:42 +11:00
David Bomba
957ac9f5d8
Fix for password protected authorization ( #3198 )
...
* Remove unnecessary save() on invoice
* Update copyright
* Working on Credit Repository
* Implement credits as a paymentable entity
* Add credit_id to transformer
* fix rules for update payment
* Fix random deleted_at keys in transformers
* Fix for password_protect check
2020-01-07 11:13:47 +11:00
David Bomba
f712b789ca
Fixes for tests ( #3184 )
...
* fix typo
* php-cs traits
* CS fixer pass
* Password protect User routes
* Implement checks to prevent editing a deleted record
* Clean up payment flows
* Fixes for tests
2019-12-31 08:59:12 +11:00
David Bomba
519c1114c1
Add additional date formats / performance improvements. ( #3161 )
...
* Improve eager loading
* Fixes for performance on client portal datatable with large datasets
* Add missing date format
2019-12-18 21:49:28 +11:00
David Bomba
c6e1658ffe
Refactors ( #3148 )
...
* Refactor company properties to be presented from settings object instead of company properties
* Working on Email Tests
* Working on emails
* Working on email templats
* Include text version of email
* Refactor Email template builder into trait'
* Fix for custom_value4
* Refactor payment_date -> date && payment_type_id -> type_id
* expose paymentables to API
* expose paymentables to API
* Implement a next_send_date field in invoice/quote tables to allow control over reminder scheduling
* Add custom_values to users,documents and company_gateways tables
2019-12-16 22:34:38 +11:00
David Bomba
3405b91c64
Bulk download PDF, Client Portal formatting ( #3046 )
...
* Update OpenAPI for TemplateController
* Add bulk invoice download functionality
* Working on Client portal
* Move selective queries to cache instead of DB
* Fix formatting in Payments table, implement cache for languages, resolve route model for clientcontacts and users
2019-11-06 09:52:57 +11:00
David Bomba
b6d6d3928b
Eager loading ( #2995 )
...
* Fixes for tests
* Eager load payment types
2019-10-16 21:24:33 +11:00
David Bomba
75b089fa19
Multi payment invoices with filtering of already paid invoices
2019-10-08 13:06:27 +10:00
David Bomba
ae02953a8f
Client portal client screen
2019-10-04 07:51:54 +10:00
David Bomba
0687817ae8
Create payment after payment and mark invitations as paid
2019-09-25 16:23:51 +10:00
David Bomba
5090c963d3
Payment responses and saving card details
2019-09-25 14:03:28 +10:00
David Bomba
46602a21c5
Stripe payments
2019-09-25 12:07:33 +10:00
David Bomba
a926c48f21
Payment methods list view
2019-09-19 20:16:41 +10:00
David Bomba
89cc4170d6
Fixes
2019-09-18 22:43:37 +10:00
David Bomba
a331368383
List view for payment methods
2019-09-18 12:39:53 +10:00
David Bomba
7cfe0c22fb
Add Payment Method - client side
2019-09-13 15:52:01 +10:00
David Bomba
b1836224e2
Working on contact payment page
2019-09-13 08:33:48 +10:00
David Bomba
da0c0080a5
Fixes for login api
2019-09-12 21:46:09 +10:00
David Bomba
9431abb300
Working on payment flow - client side
2019-09-12 16:10:21 +10:00
David Bomba
a40fb82971
Working on Payment list for client portal
2019-08-19 16:50:33 +10:00
David Bomba
c2441bdef0
Client Portal Payments List View
2019-08-16 15:20:28 +10:00