Commit Graph

53 Commits

Author SHA1 Message Date
David Bomba b346445c35
Merge branch 'v5-develop' into v5-develop 2023-03-11 18:30:23 +11:00
David Bomba 615e82a5c8 ide helpers 2023-03-08 18:33:42 +11:00
Lars Kusch 841489e895
Merge branch 'v5-develop' into v5-develop 2023-02-07 09:32:44 +01:00
David Bomba 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
Lars Kusch e2bc018c97 Add base classes 2022-12-16 11:02:49 +01:00
David Bomba 81e8997e2c Minor cleanup for gateway model 2022-12-10 10:54:34 +11:00
Lars Kusch 701344947f Add Support for Klarna 2022-12-05 09:03:08 +01:00
Shift 19080933b6
Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the code style applied by adding a [PHP CS Fixer][1] or [PHP CodeSniffer][2] ruleset to your project root. Feel free to use [Shift's Laravel ruleset][3] to help you get started.

For more information on customizing the code style applied by Shift, [watch this short video][4].

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://github.com/squizlabs/PHP_CodeSniffer
[3]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
[4]: https://laravelshift.com/videos/shift-code-style
2022-06-21 09:57:17 +00:00
David Bomba 6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba b06343c647 Add variable for invoices 2022-02-09 19:09:41 +11:00
Lars Kusch efbead2e45 Add Gateway Typ 2022-01-20 08:23:06 +01:00
Benjamin Beganović 14b92b3cab Translation 2021-11-11 17:55:22 +01:00
Benjamin Beganović 9eabe30b3a Define INSTANT_BANK_PAY constant 2021-11-11 15:53:05 +01:00
David Bomba 04b4bc5f8e Minor fixes for Gateway TYpes 2021-10-25 16:39:05 +11:00
Benjamin Beganović 573c82ed95
Merge branch 'v5-develop' into acss 2021-10-21 14:51:27 +02:00
Lars Kusch 845ccade85 Added models for ACSS 2021-10-20 16:40:17 +02:00
Lars Kusch e63fbd68e6 Removed BACS-Support as Stripe dropped it 2021-10-20 16:39:09 +02:00
Lars Kusch 14ea63ced7 Added models 2021-10-20 16:38:04 +02:00
Benjamin Beganović a562f7e711 Add DirectDebit to GatewayType 2021-10-16 15:58:29 +02:00
Benjamin Beganović 27cd99483d Define DIRECT_DEBIT constant 2021-10-16 15:29:06 +02:00
David Bomba 8554bdad3e Minor fixes for Stripe - EPS 2021-10-10 19:13:46 +11:00
David Bomba ba3d9b3123
Merge branch 'v5-develop' into eps 2021-10-10 19:09:21 +11:00
David Bomba d7e9d6f71f
Merge branch 'v5-develop' into Przelewy24 2021-10-10 18:58:32 +11:00
Lars Kusch 695d64de5f Added models 2021-10-10 08:46:57 +02:00
Lars Kusch 1b0799e7b5 Added models for Przelewy24 2021-10-09 16:41:43 +02:00
Lars Kusch f41b49ad7e Implement Stripe Giropay 2021-10-09 10:09:04 +02:00
Benjamin Beganović a3126f80d4 Add translation for hosted pages 2021-10-07 16:37:43 +02:00
Benjamin Beganović 12466fe354 Add HOSTED_PAGE to GatewayType 2021-10-07 16:21:49 +02:00
Benjamin Beganović 225de1592c Add iDEAL to GatewayType 2021-10-04 16:11:39 +02:00
Benjamin Beganović 819b186761 Define `iDEAL` constant 2021-10-04 15:41:39 +02:00
David Bomba f35ad6a5a3 Inline downloads for file resources 2021-09-27 08:03:11 +10:00
Benjamin Beganović 6b8235999d Add Bancontact to GatewayType 2021-09-26 21:10:41 +02:00
Benjamin Beganović 060b8542a0 Merge remote-tracking branch 'upstream/v5-develop' into v5-mollie-bancontact 2021-09-26 21:09:01 +02:00
Benjamin Beganović 1890ba5227 Add KBC to GatewayType 2021-09-26 20:59:32 +02:00
Benjamin Beganović 6672e73913 Define `Bancontact` constant 2021-09-24 23:31:42 +02:00
Benjamin Beganović 0c2c51b051 Define `KBC` constant 2021-09-24 23:02:17 +02:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba 0d17b299a0 Refactor payments for credits 2020-10-15 11:37:16 +11:00
David Bomba 96750d5fdb Refactor for payments via client portal 2020-10-13 21:32:15 +11:00
David Bomba 5072d63436 Set visible to boolean cast 2020-10-12 10:21:24 +11:00
David Bomba b12fe64a63 Refactor gateway types 2020-10-12 07:59:25 +11: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 cd4856e8db Helpers for gateway fees 2020-07-15 15:05:02 +10: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 fe5a97e174
Activity API fixes + Payments API (#3076)
* Fixes for Store Payment Validation

* Tests for Payments

* Use custom validator to ensure payments are made ONLY to payable invoices

* Working on custom payment validators

* Update Client balance

* fixes for client balance

* Fixes for activity API
2019-11-18 21:46:01 +11:00
David Bomba b7920a072a Set all ID's to strings for consistency 2019-09-12 11:28:41 +10:00
David Bomba 8a90d46287 Working on payment methods 2019-09-09 12:19:19 +10:00