Use without composer
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- php
- Domain
- api, backend-api-design
Research direction
Start with the listed require_once paths and Webhook.php line 26, then trace how Event and Util are loaded when Composer is not used. Verify the webhook can be initialized without Composer and without Class-not-found errors for the referenced resources.
Written by the indexing model from the issue text.
Description
Currently, I require these files for the webhooks:
require_once 'typo3conf/ext/products/Classes/Coinbase/src/ApiClient.php';
require_once 'typo3conf/ext/products/Classes/Coinbase/src/Util.php';
require_once 'typo3conf/ext/products/Classes/Coinbase/src/Webhook.php';
use CoinbaseCommerce\ApiClient;
use CoinbaseCommerce\Resources\Event;
use CoinbaseCommerce\Webhook;
But right now I end up with the following error:
Class 'CoinbaseCommerce\Resources\Event' not found | Error thrown in file /html/typo3/typo3conf/ext/products/Classes/Coinbase/src/Webhook.php in line 26
Line 26 is this: return new Event($data['event']);
Before this error occurred, I had the error Class 'CoinbaseCommerce\Util' not found, which I "fixed" by including the Util.php file. But I cannot include the file Resources/Event.php, throws an error 500. So I am not sure how to fix this.
- Dominant language
- PHP
- Stars
- 149
- Forks
- 157
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coinbase/coinbase-commerce-php
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
coinbase/coinbase-commerce-php#52 · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
CheckOpen
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
coinbase/coinbase-commerce-php#65 · 4 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
coinbase/coinbase-commerce-php#64 · 2 comments ·
All issues in coinbase/coinbase-commerce-php
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
[2.5] Admin GraphQL attributeValues.value reads price from integer_value instead of float_valueOpen
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
bagisto/bagisto-api#54 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
grokability/snipe-it#19869 · 2 comments ·
Maintainers usually reply within 1 day
-
regression
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
sync-en
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day