-
Notifications
You must be signed in to change notification settings - Fork 22
General Update: Enhanced Features and Improved Performance #69
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
Merged
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
a3dfa35
feat(http-client): Set User-Agent header dynamically
Abraham-Flutterwave a9128db
fix: Transaction Service Event Tracker
Abraham-Flutterwave 2b8541d
test: Handle PHPSAPI requests
Abraham-Flutterwave 38f6cd4
Update CardTest.php
Abraham-Flutterwave efc50ae
add SDK_VERSION to environment variables
Abraham-Flutterwave ad40977
test: New Test cards
Abraham-Flutterwave d51801f
fix: handle vbssecure auth modes in the card charge service
Abraham-Flutterwave c0ef792
test: create test provider for TransactionTest
Abraham-Flutterwave 563d04f
example: update card sample with config
Abraham-Flutterwave b94aed1
dev: update makefile and .gitpod.yml config
Abraham-Flutterwave dd6b9de
update: change-review workflow
Abraham-Flutterwave caf302f
update: change-review workflow
Abraham-Flutterwave 367b67b
update: change-review workflow
Abraham-Flutterwave 35713ff
update: change-review workflow
Abraham-Flutterwave 3a747c5
update: change-review workflow include php8.3
Abraham-Flutterwave 24f766f
test: remove dirs from bypass whitelist
Abraham-Flutterwave 23fc6e1
dev: gitpod workspace setup
Abraham-Flutterwave 3bb2015
dev: complete gitpod workspace settings
Abraham-Flutterwave df276a7
update makefile
Abraham-Flutterwave 2aeab42
test: move bypass finals to checkout test
Abraham-Flutterwave 5f17ac6
remove bypass finals
Abraham-Flutterwave cc738b3
replace the Config -> PackageConfig
Abraham-Flutterwave 662222c
test: separate checkout test
Abraham-Flutterwave 3de93c7
fix: curlClient namespace
Abraham-Flutterwave 1358abb
update: set default the default modal to standard on checkout
Abraham-Flutterwave 65c6c2a
update setup script
Abraham-Flutterwave 238e83e
fix: handle config override
Abraham-Flutterwave 4305433
tests: exclude vendor folder files
Abraham-Flutterwave cba7079
refact: update card service
Abraham-Flutterwave 6fce11c
update Bill Service
Abraham-Flutterwave d142f28
update: Payout Subaccount Event tracker
Abraham-Flutterwave ab0b23b
FTPI-1072: handle final card status responses.
Abraham-Flutterwave 9403e06
FTPI-1077: Fix Bug omitting customer fullname from the standard check…
Abraham-Flutterwave 13ea9ba
FTPI-1078: support environment variables set with the prefix FLW to f…
Abraham-Flutterwave 6418381
fix: handle getenv function returning false
bajoski34 88d0230
remove previous keys
bajoski34 bdde581
FTPI-1081: allow Custom Logger Enhancement
bajoski34 9f32e3d
include yaml release
bajoski34 0055081
update: sample release
bajoski34 8250334
update: sample release
bajoski34 f56f3b4
update: sample release
bajoski34 c9940a0
update: sample release
bajoski34 8631716
update: sample release
bajoski34 9763d9a
update: sample release
bajoski34 7d711b3
remove artifact release
bajoski34 e118248
chore: add artifact release workflow
bajoski34 3858cef
chore: add php 7.4 artifact
bajoski34 4722614
docs: Update README instructions to download release artifacts
bajoski34 1432b78
update sample log directory
bajoski34 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,3 @@ | ||
| FROM gitpod/workspace-full | ||
|
|
||
| RUN sudo install-packages php-xdebug |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| PUBLIC_KEY=FLWPUBK_TEST-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-X | ||
| SECRET_KEY=FLWSECK_TEST-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-X | ||
| ENCRYPTION_KEY=FLWSECK_XXXXXXXXXXXXXXXX | ||
| ENV=staging | ||
| FLW_PUBLIC_KEY=FLWPUBK_TEST-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-X | ||
| FLW_SECRET_KEY=FLWSECK_TEST-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-X | ||
| FLW_ENCRYPTION_KEY=FLWSECK_XXXXXXXXXXXXXXXX | ||
| FLW_ENV=staging | ||
| FLW_LOG_DIR=logs |
This file contains hidden or 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,44 @@ | ||
| name: Build and Upload PHP Artifacts | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - '[0-9]+.[0-9]+.[0-9]+' # Match tags like 1.2.3 | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| strategy: | ||
| matrix: | ||
| php: ['7.4', '8.1', '8.2', '8.3', '8.4'] | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Set up PHP ${{ matrix.php }} | ||
| uses: shivammathur/setup-php@v2 | ||
| with: | ||
| php-version: ${{ matrix.php }} | ||
| extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite | ||
|
|
||
| - name: Install dependencies | ||
| run: composer install --no-dev --optimize-autoloader | ||
|
|
||
| - name: Get tag version | ||
| id: tag | ||
| run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> "$GITHUB_ENV" | ||
|
|
||
| - name: Create release artifact | ||
| run: | | ||
| mkdir -p build | ||
| cp -r vendor src tests assets composer.json composer.lock .gitignore LICENSE phpunit.xml.dist .env.example processPayment.php paymentForm.php setup.php README.md CHANGELOG.md build/ | ||
| cd build && zip -r ../flutterwave-php-${VERSION}-php${{ matrix.php }}.zip . && cd .. | ||
|
|
||
| - name: Upload artifact to release | ||
| uses: softprops/action-gh-release@v1 | ||
| with: | ||
| files: flutterwave-php-${{ env.VERSION }}-php${{ matrix.php }}.zip | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -198,4 +198,6 @@ example.php | |
| .phpunit.cache | ||
| coverage.xml | ||
| .env.local | ||
| .php-cs-fixer.cache | ||
| .php-cs-fixer.cache | ||
| .idx/ | ||
| .vscode/ | ||
This file contains hidden or 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,15 @@ | ||
| # This configuration file was automatically generated by Gitpod. | ||
| # Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) | ||
| # and commit this file to your remote git repository to share the goodness with others. | ||
|
|
||
| # Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart | ||
|
|
||
| image: | ||
| file: .docker/.gitpod.Dockerfile | ||
|
|
||
| tasks: | ||
| - init: make | ||
|
|
||
| vscode: | ||
| extensions: | ||
| - felixfbecker.php-debug |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,8 +1,15 @@ | ||
| .PHONY: init | ||
| test: | ||
| check: | ||
| @echo "Installing dependencies..." | ||
| @composer install | ||
| @echo "Installing dependencies... Done" | ||
| @./vendor/bin/pest --coverage --min=0 --coverage-clover ./coverage.xml | ||
|
|
||
|
|
||
| test: | ||
| @./vendor/bin/pest --coverage --min=0 --coverage-clover ./coverage.xml | ||
|
|
||
| debug: | ||
| XDEBUG_MODE=coverage ./vendor/bin/pest --coverage --coverage-html .log | ||
|
|
||
|
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.