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

Add support for $chargeback event for WooPayments #10

Open
wants to merge 11 commits into
base: trunk
Choose a base branch
from

Conversation

millerf
Copy link
Collaborator

@millerf millerf commented Nov 15, 2024

Changes proposed in this Pull Request

  • Add support for $chargeback event for WooPayments

Testing instructions

See p1731688698200829/1731574497.512459-slack-C01B6KEJ5GE

Fixes https://github.com/Automattic/gold/issues/545

Copy link
Collaborator

@chrisfromthelc chrisfromthelc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but we probably need to actually test.

@@ -45,7 +45,7 @@ static function () {
add_action(
'admin_notices',
static function () {
$message = __( 'It seems like <strong>Sift for WooCommerce</strong> is corrupted. Please reinstall!', 'sift-for-woocommerce' );
$message = __( 'It seems like <strong>Sift Decisions</strong> is corrupted. Please reinstall!', 'sift-for-woocommerce' );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably should change this back to Sift For WooCommerce?

@millerf millerf changed the title Add/branch chargeback rebase Add support for $chargeback event for WooPayments Nov 15, 2024
Copy link

Code Coverage

Package Line Rate Complexity Health
inc/abuse-decisions-actions.php 0% 22
inc/abuse-decisions.php 0% 12
inc/class-sift-event-types.php 100% 4
inc/payment-gateway.php 100% 5
inc/payment-gateways/index.php 0% 0
inc/payment-gateways/lib/stripe.php 63% 77
inc/payment-gateways/load.php 0% 0
inc/payment-gateways/paypal.php 0% 0
inc/payment-gateways/stripe.php 23% 17
inc/payment-gateways/transact.php 100% 0
inc/payment-gateways/woocommerce-payments.php 32% 8
inc/payment-method.php 97% 31
inc/payment-type.php 83% 3
inc/rest-api-webhooks.php 0% 5
inc/sift-object-validator.php 87% 134
inc/sift-order.php 100% 4
inc/sift-property.php 100% 3
inc/tracking-js.php 0% 4
inc/verification-status.php 50% 3
inc/wc-settings-tab.php 0% 24
inc/woocommerce-actions.php 71% 112
index.php 0% 0
sift-for-woocommerce.php 0% 9
Summary 54% (960 / 1762) 477

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