Commit Graph

30 Commits

Author SHA1 Message Date
David Bomba 036aca49a4 Rollback for new payment flow 2024-08-22 16:45:06 +10:00
David Bomba 52752a8f09 Static Analysis 2024-06-16 14:35:56 +10:00
David Bomba f65567a637 Update copyright 2024-04-12 14:15:41 +10:00
David Bomba 01cc61b586 Updated static analysis 2023-08-07 15:07:52 +10:00
David Bomba fb4939c13a Updated static analysis 2023-08-07 14:50:08 +10:00
David Bomba 4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba 1d811c49b9 Return success to webhook URL when the gateway has been deleted/non-resolvable to prevent constant webhook retries 2023-01-12 15:58:02 +11: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 762f6d4b2e Minor adjustments for mollie payment driver 2022-01-09 13:34:23 +11:00
David Bomba d965485919 Get archived payment gateway 2021-12-15 07:42:20 +11:00
Benjamin Beganović 7ab6dbd1b7 Cleanup of PaymentWebhookRequest 2021-08-04 16:24:49 +02:00
David Bomba 98e82f3ea6 slow down web hook requests if the are too fast for usgit status 2021-08-03 07:40:42 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
Benjamin Beganović 588aeefb35 Moving logic for confirming the 3ds process into own method 2021-05-31 16:37:46 +02:00
David Bomba b58d3f390e Fixes for Stripe Connect 2021-05-21 15:47:05 +10:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović 940c5c77f3 find and setup db by company key in webhook request 2020-12-21 12:19:48 +01:00
Benjamin Beganović 92d2a514ca Supprot Stripe for webhooks 2020-12-19 13:11:42 +01:00
Benjamin Beganović 942652b668 Update webhooks to support Checkout.com & apply php-cs-fixer 2020-12-17 12:27:15 +01:00
Benjamin Beganović d3033c902d wip 2020-12-16 15:25:42 +01:00
Benjamin Beganović 9662d9af92 Update webhooks for Checkout:
- Update api.php -> gateway_key => company_gateway_id
- Pass correct reference to url in CreditCard.php
- Update PaymentWebhookController.php to support new company_gateway_id
- Update PaymentWebhookRequest.php to resolve company gateway from correct input
2020-12-16 13:47:10 +01:00
Benjamin Beganović a92d38ae06 php-cs-fixer 2020-12-07 14:56:23 +01:00
Benjamin Beganović c548bc2e0d refactor paymentwebhook suite with new methods 2020-12-07 14:49:30 +01:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba 6c1b952111
Refactor requests to use generics (#41)
* Validation rules for expenses

* Tests

* Tests
2020-10-22 17:46:02 +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
Benjamin Beganović f68465d602 Support Stripe webhook 2020-06-27 17:39:28 +02:00
Benjamin Beganović 1b06fb99b1 payment webhooks wip 2020-06-27 15:53:12 +02:00