Skip to content
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

Closed

Conversation

m-muxfeld-diw
Copy link
Contributor

No description provided.

Copy link
Collaborator

@BlackScorp BlackScorp left a 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
Copy link
Collaborator

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)

Copy link
Collaborator

@BlackScorp BlackScorp left a 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'
Copy link
Collaborator

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'
Copy link
Collaborator

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)) {
Copy link
Collaborator

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants