-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: subscribe with the customer portal instead of stripe #6049
Draft
djaiss
wants to merge
48
commits into
4.x
Choose a base branch
from
2022-03-07-billing
base: 4.x
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 11 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
b475659
feat: subscribe with the customer portal instead of stripe
djaiss 2cf35f6
Apply fixes from StyleCI
StyleCIBot 7f16190
wip
djaiss 1956aa1
Apply fixes from StyleCI
StyleCIBot fd4e04f
wip
djaiss 736acae
Apply fixes from StyleCI
StyleCIBot af214e8
wip
djaiss b316fac
Apply fixes from StyleCI
StyleCIBot d313412
Merge branch 'main' into 2022-03-07-billing
djaiss 0af387c
Update package.json
djaiss 0ddd47b
Update composer.lock
djaiss 2e93998
Update app/Services/Account/Subscription/ActivateLicenceKey.php
djaiss 8778755
Apply fixes from StyleCI
StyleCIBot 6e43528
Update resources/views/settings/subscriptions/blank.blade.php
djaiss 0289cfe
Update resources/views/settings/subscriptions/blank.blade.php
djaiss 5163375
Update app/Services/Account/Subscription/ActivateLicenceKey.php
djaiss d05d621
Update app/Services/Account/Subscription/ActivateLicenceKey.php
djaiss fecc952
Update app/Services/Account/Subscription/ActivateLicenceKey.php
djaiss 444113e
Update app/Jobs/Settings/CheckLicenceKeys.php
djaiss c64e5d3
Update app/Models/Account/Account.php
djaiss cc37c80
Update app/Services/Account/Subscription/ActivateLicenceKey.php
djaiss f22a05e
changes
djaiss 8a01c7e
adapt with last monicahq/customers changes
asbiin 25f022c
Apply fixes from StyleCI
StyleCIBot 4c74f4f
add tests
asbiin d806e91
Merge branch '2022-03-07-billing' of github.com:monicahq/monica into …
asbiin b5615db
Apply fixes from StyleCI
StyleCIBot 94a3159
more tests
asbiin 2df3c55
Apply fixes from StyleCI
StyleCIBot 58af6db
Merge remote-tracking branch 'origin/main' into 2022-03-07-billing
asbiin 0af744e
split decodeAndStoreKey
asbiin 0b68cca
Apply fixes from StyleCI
StyleCIBot a9c6c64
Merge branch 'main' into 2022-03-07-billing
djaiss f8d6f42
Merge branch 'main' into 2022-03-07-billing
djaiss 57f569b
Update AppServiceProvider.php
djaiss 44ae474
Update AccountSubscriptionTest.php
djaiss ecb82c1
fixes
djaiss 773b853
Delete AccountSubscriptionTest.php
djaiss 7542222
fixes
djaiss a4fef9c
Merge branch 'main' into 2022-03-07-billing
djaiss 30d9f99
Apply fixes from StyleCI
StyleCIBot fa6b646
fix
djaiss 258c427
use MissingPrivateKeyException
asbiin 9db1975
Apply fixes from StyleCI
StyleCIBot 964972e
Merge remote-tracking branch 'origin/main' into 2022-03-07-billing
asbiin 9884708
get next_check_at from api call
asbiin c6ac38e
fix job schedule
asbiin 25a1916
update change and cancel links
asbiin File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace App\Exceptions; | ||
|
||
use RuntimeException; | ||
|
||
class NoCustomerPortalSetException extends RuntimeException | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace App\Exceptions; | ||
|
||
use RuntimeException; | ||
|
||
class NoLicenceKeyEncryptionSetException extends RuntimeException | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to use the
scheduleCommand
command, see aboveThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even if it's a not a command but a job?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On some installation, schedule can't be done exactly at xx:00 hours. Laravel doesn't really support that.