Skip to content

Commit

Permalink
dont need transaction created or updated
Browse files Browse the repository at this point in the history
  • Loading branch information
deanpcmad committed Sep 5, 2023
1 parent c8fd6a5 commit 4070684
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 30 deletions.
4 changes: 0 additions & 4 deletions lib/pay/paddle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ module Webhooks
autoload :SubscriptionCreated, "pay/paddle/webhooks/subscription_created"
autoload :SubscriptionUpdated, "pay/paddle/webhooks/subscription_updated"
autoload :SubscriptionActivated, "pay/paddle/webhooks/subscription_activated"
autoload :TransactionCreated, "pay/paddle/webhooks/transaction_created"
autoload :TransactionUpdated, "pay/paddle/webhooks/transaction_updated"
autoload :TransactionCompleted, "pay/paddle/webhooks/transaction_completed"
end

Expand Down Expand Up @@ -55,8 +53,6 @@ def self.configure_webhooks
events.subscribe "paddle.subscription.updated", Pay::Paddle::Webhooks::SubscriptionUpdated.new
events.subscribe "paddle.subscription.activated", Pay::Paddle::Webhooks::SubscriptionActivated.new

events.subscribe "paddle.transaction.created", Pay::Paddle::Webhooks::TransactionCreated.new
events.subscribe "paddle.transaction.updated", Pay::Paddle::Webhooks::TransactionUpdated.new
events.subscribe "paddle.transaction.completed", Pay::Paddle::Webhooks::TransactionCompleted.new
end
end
Expand Down
15 changes: 0 additions & 15 deletions lib/pay/paddle/webhooks/transaction_created.rb

This file was deleted.

11 changes: 0 additions & 11 deletions lib/pay/paddle/webhooks/transaction_updated.rb

This file was deleted.

0 comments on commit 4070684

Please sign in to comment.