-
Notifications
You must be signed in to change notification settings - Fork 53
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
PISHPS-329 UrlParsingService - matching trackign code from tracking url #798
Conversation
…acking url when not entered correctly
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.
also fix code conficts
* - Index 0 contains the parsed tracking code (if found), or an empty string if no code is found. | ||
* - Index 1 contains the original URL. | ||
*/ | ||
public function parseTrackingCodeFromUrl(string $value): array |
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.
i think that can be dangerous, since we dont know for each provier the tracking code. i would rather suggest extract url and put query parameters as code (if code contains URL)
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.
please check the PR, i think you did not accepted the changes from main. check the files you changed, leave others in original state
@@ -333,7 +333,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
include: | |||
- shopware: '6.6.4.1' |
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.
revert shopware versions in the pipelines, you have the old ones
@@ -168,7 +174,7 @@ endif | |||
php switch-composer.php prod | |||
# ------------------------------------------------------------------------------------------------- | |||
@echo "CREATE ZIP FILE" | |||
cd .. && zip -qq -r -0 ./.build/MolliePayments.zip MolliePayments/* -x '*/vendor/*' '*.editorconfig' '*.git*' '*.reports*' '*/.idea*' '*/tests*' '*/node_modules*' '*/makefile' '*.DS_Store' '*/.shopware-extension.yml' '*/switch-composer.php' '*/phpunit.xml' '*/.phpunuhi.xml' '*/.infection.json' '*/phpunit.autoload.php' '*/.phpstan*' '*/.php_cs.php' '*/phpinsights.php' |
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.
wron merge, add vendor again
|
||
if (class_exists(PaymentException::class) && !class_exists(AsyncPaymentFinalizeException::class) && !class_exists(CustomerCanceledAsyncPaymentException::class)) { |
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.
wrong merge, add the statements again
@@ -76,7 +76,8 @@ public function fetch(array $ids): array | |||
SELECT LOWER(HEX(mollie_refund.id)) as id, | |||
type, | |||
public_description, | |||
internal_description |
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.
remove the comma from SQL
No description provided.